Created attachment 193905 [details] Open the form and have a look at the listbox in the third column of controls. Shouldn't be greyed out. Open the attached database. Open the form. There are shown different columns of controls. First column will show controls set to readonly → no, enabled → yes. Second column will show controls set to readonly → no, enabled → no. All controls are greyed out (by the way: They aren't greyed out in tablecontrol, but this is another bug). Third column will show controls set to readonly → yes, enabled → yes. Controls aren't greyed out except listbox (by the way: Checkboxes and radiobuttons couldn't be set "readonly", so no possibility to show them not greyed out and don't allow to change data, but this is another bug). Listboxes shouldn't be shown greyed out if set readonly. Behavior should be the same, as, for example, for comboboxes. This behavior appears in all LO-versions, no regression I think. Tested with Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: de-DE Calc: threaded
Reproduced in: Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 658a212585c56540a17c41111e6829716d4ef4e3 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded Same in 7.0.0.3
Following my bug 160881 comment 1, I think that the solution should be "don't offer the read-only option for listboxes" rather than "don't grey out read-only listboxes". That's because listboxes don't allow entering values by hand, and therefore a read-only state is not useful. Copying UX/Design for opinion.
(In reply to Stéphane Guillou (stragu) from comment #2) > Following my bug 160881 comment 1, I think that the solution should be > "don't offer the read-only option for listboxes" rather than "don't grey out > read-only listboxes". That's because listboxes don't allow entering values > by hand, and therefore a read-only state is not useful. > > Copying UX/Design for opinion. Please don't set this as a solution: The content should be well readable in a read-only control. Read-only should only set "could not be choosen any new value" like it is for combo boxes.
Created attachment 194175 [details] Example for editable and enabled state ComboBoxes typically become look like listboxes when not editable depending on OS/DE with a special appearance. Enabled or not is indicated by muted colors. The example shows how Qt/QML show controls. We should introduce this beveled appearance for listboxes and readonly comboboxes.
Created attachment 194176 [details] Screenshot shows how the form looks on Linux/KDE/LO24.2.3.2