Bug 97050 - Setting a combobox to read-only disables the control
Summary: Setting a combobox to read-only disables the control
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
Reported: 2016-01-11 20:52 UTC by libreoffice
Modified: 2022-04-08 11:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:

Dialog box with one combobox control (10.64 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-01-11 22:32 UTC, libreoffice
Includes listbox control (10.70 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-01-11 22:53 UTC, libreoffice

Note You need to log in before you can comment on or make changes to this bug.
Description libreoffice 2016-01-11 20:52:58 UTC
How to reproduce:

Open calc and create a new dialog
Add a combobox and add some entries
Make the combobox read-only

Test the combobox.

For me, the combobox is now disabled.  You can click into the combobox, but not edit it, but not select the dropdown and choose an option.  Seems the whole control is disabled.

I'm using on Fedora 23
Comment 1 Usama 2016-01-11 22:11:42 UTC

Thank you for filing the bug. Please send us a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO', so please do change it back to 'UNCONFIRMED' once you have attached a document.
(Please note that the attachment will be public, remove any sensitive information before attaching it.)
How can I eliminate confidential data from a sample document?
Thank you
Comment 2 FutureProject 2016-01-11 22:15:41 UTC
Windows 10 Pro, Version 1511 (OS Build 10586.36)
LibreOffice, Build ID 2b9802c1994aa0b7dc6079e128979269cf95bc78
Locale en_US

Can confirm bug. Setting a ComboBox's Read Only property to Yes disables the drop-down functionality altogether.

Setting it to NEW.
Comment 3 libreoffice 2016-01-11 22:32:37 UTC
Created attachment 121864 [details]
Dialog box with one combobox control

I've attached a file with a dialog box triggered from a button on the main sheet.  The dialog box has one combobox control which has a few entries and read-only selected.  To me it shows as disabled.
Comment 4 libreoffice 2016-01-11 22:41:00 UTC
Ok, just added a listbox as read-only and that control is also disabled.
Comment 5 libreoffice 2016-01-11 22:53:19 UTC
Created attachment 121865 [details]
Includes listbox control

added listbox to dialog
Comment 6 libreoffice 2016-01-11 23:34:12 UTC
Adding a read only combobox or listbox directly to a worksheet exhibits the same problem.
Comment 7 QA Administrators 2017-03-06 14:44:44 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2019-12-03 14:54:59 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2021-12-03 04:43:24 UTC Comment hidden (obsolete)
Comment 10 libreoffice 2022-04-08 11:30:43 UTC
Problem still present in:

Build ID: 20(Build:2)
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded