Description: When trying to use the "Dialog" toolbar in the Basic IDE, the user interface may block - and even cause LO to crash - when trying to open non-existent dialogs via the toolbar's combobox. steps to reproduce: - open a new document in calc - no pre-existing document is required - open the basic ide - invoke the "Dialog" toolbar - basic ide / menu / view / toolbars / dialog - select [My Macros & Dialogs].Standard - (assuming there is no dialog that could be loaded) - the user interface may show an empty dialog and block - in that case it is anything bot straight forward to shut down libreoffice, and to get rid of the empty dialog - the user may even have to restart his session (aka. log off) - alternatively, libreoffice may even crash immediately crash report (one of several): - https://crashreport.libreoffice.org/stats/crash_details/1812c4da-408c-46d6-b210-1a953802cb5b remarks: - similar effects when selecting other entries in the "Dialog" combobox - e.g [Application Macros & Dialogs].SFDatabases - e.g [Application Macros & Dialogs].SFDialogs - and more ... solution: The "Dialog" combobox should not have any such invalid entries - i.e. entries for dialogs that do not exist. Steps to Reproduce: As described in the description. Actual Results: The user's desktop may be blocked due to an empty open dialog. Alternatively, LO crashes right away. Expected Results: No entries in the toolbar's combobox that may cause such issues. Reproducible: Always User Profile Reset: No Additional Info: Version: 24.8.0.3 (X86_64) / LibreOffice Community Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: de-DE (en_US.UTF-8); UI: en-US Calc: threaded
My Standard library has no dialogs and I am unable to reproduce the crash. When I switch to the Standard library, nothing happens. But since it has no dialogs, the "Dialog" toolbar simply disappears (as expected). Tested with Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: fd17477d62bdbe74fcc2723992c6e07c7f634349 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: CL threaded
@Rafael - Did you try the other entries as well? Do they appear in your combobox in the "Dialog" toolbar? - e.g [Application Macros & Dialogs].SFDatabases - e.g [Application Macros & Dialogs].SFDialogs I reliably get issues when I select one of these two. With the [My Macros & Dialogs].Standard entry it seems to depend how exactly the Basic IDE is opened. Meaning that, if your IDE opens with a macro in the [My Macros & Dialogs] library, then select an entry in a different library.
(In reply to rehierl from comment #2) > @Rafael - Did you try the other entries as well? > Do they appear in your combobox in the "Dialog" toolbar? > > - e.g [Application Macros & Dialogs].SFDatabases > - e.g [Application Macros & Dialogs].SFDialogs > > I reliably get issues when I select one of these two. > > With the [My Macros & Dialogs].Standard entry it seems to depend how exactly > the Basic IDE is opened. Meaning that, if your IDE opens with a macro in the > [My Macros & Dialogs] library, then select an entry in a different library. Let's add Rafael to Cc.