Bug 166656 - Importing a dialog file aborts silently
Summary: Importing a dialog file aborts silently
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.1.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-19 22:57 UTC by Alfio Littletree
Modified: 2025-05-20 03:28 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alfio Littletree 2025-05-19 22:57:31 UTC
Description:
Trying to import some .xdl file from the Dialog Editor, the dialog can not be loaded and no messages are shown to indicate what happens.
I found two reproducible causes that prevent a dialog file from being imported:
1. Some controls are bound to a non-existent sheet in a Calc document (as in bug 166654)
2. The XML for the dialog is damaged (as in bug 166653)
A message can help the user to discover what went wrong, telling something that distinguish the two causes. This is not a request for an enhancement. The absence of the message is not normal, I assume it is related to other unknown malfunctions.


Steps to Reproduce:
1. Follow all steps to reproduce the bug 166654 in a new Calc document
2. On the Dialog Editor window, click the menu File > Export Dialog...
3. Write Dialog1.xdl in the File Name box, then click the Save button
4. Create a second Calc document
5. Rename its sheets to make sure there is no sheet named as those used for step 1
6. On the Dialog Editor window, click the menu File > Import Dialog...
7. Select the Dialog1.xdl file, then click the Open button




Actual Results:
The imported dialog is not shown; its name is absent in the Object Catalog; No error messages are shown

Expected Results:
The dialog is loaded and ready to edit



Reproducible: Always


User Profile Reset: No

Additional Info:
Tested on version 7.2.1.2, 25.2.3.2 and
Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 6190fe56f72008e0b6d0e502bf94099e72b9d202
CPU threads: 2; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: threaded
Comment 1 Jeremy Norvell 2025-05-20 03:28:11 UTC
Thank you for reporting the bug. I can confirm that the bug is present in both versions of LibreOffice listed below. Behavior is as described, where loaded dialog is not present.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9bc5b89c149497a83117edfadc3fb0b96d2f9899
CPU threads: 2; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 2; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded