https://bugs.documentfoundation.org/show_bug.cgi?id=166656

            Bug ID: 166656
           Summary: Importing a dialog file aborts silently
           Product: LibreOffice
           Version: 7.2.1.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: alfi...@inwind.it

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to