Description: The modality of some dialogs is problematic. The biggest offender is the chart types chooser dialogs, but there are probably other areas in LibreOffice that would benefit from revising this behavior as well (dialogs that are tied to live-preview-on-canvas functionality). If it's not meant to be *blocking* the user from doing anything else with the app, it should not be modal. Steps to Reproduce: Create a chart in LOo Calc under GNOME Shell with the GTK3 version. Actual Results: The chart settings window shows up, dead-center atop the window, hiding the chart preview that is behind it, and you can't move this window at all. Expected Results: That window should not be modal to the parent window, and it should have a different type ("utility" maybe?) Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Its correctly a modal dialog. I think the problem you have is "attached modal dialog" and the default behaviour under gnome is to lock the modal dialog to the thing its modal for so if you move the dialog everything moves with it. The "lock" behaviour isn't our behaviour but enforced on modal dialogs. gnome-tweak-tool under windows->attached modal dialog can be used to disable this globally.
I see no reason why this dialog should be modal. Transient/child of the main window? Yes. "Utility" type hint? Yes. Modal? Nope. Unless you provide the chart preview directly into the dialog instead of behind it onto the spreadsheet in a place that I can't control...
OK, this problem still f$%?$%s with me daily, half a decade later. GNOME's behavior is the default on all major Linux distros (including Ubuntu now) and GNOME is the most widely used DE, so I'm reopening under a different angle then: if you don't want to simply make this dialog non-modal (I still see no reason why it should be modal, at all), then the live preview should be inside the chart wizard/dialog instead of sitting at some random place on the spreadsheet behind it.
Created attachment 165285 [details] Demonstration of the problem using the GTK Inspector
I had a "How Hard Can It Be?™ " moment where I thought "This might be a one-liner fix to make it non-modal", and so I ran "git grep -i modal chart2/" which gave me this: chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx: void SAL_CALL CreationWizardUnoDlg::startExecuteModal(blah blah blah) chart2/source/controller/dialogs/res_ErrorBar.cxx: pWeldDialog->set_modal(!bEnable); chart2/source/controller/dialogs/tp_DataSource.cxx: pDlg->set_modal(!bEnable); chart2/source/controller/dialogs/tp_RangeChooser.cxx: pDlg->set_modal(!bEnable); chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx: virtual void SAL_CALL startExecuteModal(blah blah blah) chart2/uiconfig/ui/3dviewdialog.ui: <property name="modal">True</property> chart2/uiconfig/ui/attributedialog.ui: <property name="modal">True</property> chart2/uiconfig/ui/chartdatadialog.ui: <property name="modal">True</property> chart2/uiconfig/ui/charttypedialog.ui: <property name="modal">True</property> chart2/uiconfig/ui/datarangedialog.ui: <property name="modal">True</property> chart2/uiconfig/ui/dlg_InsertErrorBars.ui: <property name="modal">True</property> chart2/uiconfig/ui/dlg_InsertLegend.ui: <property name="modal">True</property> chart2/uiconfig/ui/insertaxisdlg.ui: <property name="modal">True</property> chart2/uiconfig/ui/insertgriddlg.ui: <property name="modal">True</property> chart2/uiconfig/ui/inserttitledlg.ui: <property name="modal">True</property> chart2/uiconfig/ui/smoothlinesdlg.ui: <property name="modal">True</property> chart2/uiconfig/ui/steppedlinesdlg.ui: <property name="modal">True</property> I thought the fix could simply be to remove (or comment out, on my Fedora system's installed files in /usr/lib64/libreoffice/share/config/soffice.cfg/modules/schart/ui/ ...) the '<property name="modal">True</property>' lines for chartdatadialog.ui, datarangedialog.ui, charttypedialog.ui, but it doesn't seem to actually make them non-modal in practice... As if some part of the code overrides all of that, maybe those "startExecuteModal" function calls? If so that's beyond my simple tinkering ability, but I suspect it would still be fairly easy to solve for an experienced LibreOffice contributor. I do think making all the "large view-blocking dialogs that should not block the view because the chart preview depends on that" non-modal is the easiest and most reasonable approach (bonus points for setting the dialogs' position to avoid overlapping the chart by default, ideally)
Dear Jean-François Fortin Tam, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Confirming that it's still a problem with: Version: 7.5.3.2 (X86_64) Build ID: 50(Build:2) CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: fr-CA (en_CA.UTF-8); UI: en-US Calc: threaded