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

            Bug ID: 166612
           Summary: To set the listbox Selection property, the ellipsis
                    tool works with inverted Multiselection semantic
           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:
In the Dialog Editor, changing the "Selection" property for a Listbox control,
the tool opened by the "..." button have a strange behavior. When the
Multiselection property is set to "No", the tool allows to select any number of
items. When the Multiselection property is set to "Yes", it allows to select
only one item.


Steps to Reproduce:
1. Create a dialog and insert a ListBox control in it (as in
https://help.libreoffice.org/latest/en-US/text/sbasic/guide/create_dialog.html
)
2. While the new control is active, look at its properties in the General page.
3. In the "List entries" property, click the Multiline Editing button, write at
least 3 rows, then click Ok
4. In the "Multiselection" property, select "No"
5. In the "Selected" property, click the "..." button on the right
6. When you see your items, try to select two of them together. You can use
Ctrl+Clic or Shift+Arrow. Unexpectedly it works 
7. Click Cancel for the second test
8. In the "Multiselection" property select "Yes"
9. In the "Selected" property, click the "..." button
10. Try to select two items together. Unexpectedly it not works


Actual Results:
When the Multiselection property is Yes, the user can select only one item for
the Selection property. When the Multiselection property is No, he can select
any number of items for the Selection property.


Expected Results:
When the Multiselection property is Yes, the user can select any number of
items for the Selection property. When the Multiselection property is No, he
can select only one item for the Selection property.



Reproducible: Always


User Profile Reset: No

Additional Info:
Tryed on Calc and Writer, I suppose happens also on other components.
I cannot test a version older then 7.2, but I reproduced the bug also in recent
versions 25.2.3.2 and in this:

Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 19f3b72f34c487dc97d582712d21734a7e055fd5
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