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)
Version:
(earliest affected)
5.0.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2016-01-11 20:52 UTC by libreoffice
Modified: 2024-04-08 03:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


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

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 5.0.4.2 on Fedora 23
Comment 1 Usama 2016-01-11 22:11:42 UTC
Hello,

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?
https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F
Thank you
Comment 2 FutureProject 2016-01-11 22:15:41 UTC
Windows 10 Pro, Version 1511 (OS Build 10586.36)
LibreOffice 5.0.4.2, 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:

Version: 7.2.5.2.0+
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
Comment 11 QA Administrators 2024-04-08 03:13:59 UTC
Dear libreoffice,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug