Bug 157698 (UI-Lockdown) - [META] Unify lockdown UX in the Options dialog
Summary: [META] Unify lockdown UX in the Options dialog
Status: NEW
Alias: UI-Lockdown
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 107686 107671 157700 157702 157837 157838 157839 157840 157842 157843 157846 157850 157853 157854 157859 157860 157861 157862 158000 158001 158002 158003 158004 158006 158007 158008 158009 158010 158130 158131 158133 158134 158135 158136 158137 158140 158141 158143 158144 158145 158146 158147 158222 158238 158239 158240 158241 158243 158244 158245 158464 158465 158466 158467 158469 158470 158471 158472 158473 158759
Blocks: Options-Dialog
  Show dependency treegraph
 
Reported: 2023-10-11 10:40 UTC by Gabor Kelemen (allotropia)
Modified: 2023-12-18 09:16 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-10-11 10:40:36 UTC
Currently the Options dialogs pages behave inconsistently when options are locked down.

Most commonly they do not disable UI belonging to locked keys, so trying to change them leads to a crash with a message 

terminate called after throwing an instance of 'com::sun::star::lang::IllegalArgumentException'

(at least under Linux, bibisect repo builds)

In some cases the UI options are disabled, and in some cases even a small lock icon is displayed on their left to indicate they are centrally locked, both are the expected behavior.

This meta bug collects bugs about unifying the UI behavior:
- locked ("finalized") state of configuration keys should be checked by the UI to avoid crashes
- locked UI elements should be disabled (greyed out but not hidden)
- locked UI elements should show a lock icon

In some cases the configuration keys can be changed from other parts of the UI, bugs about such can be collected here as well (e.g. "Don't show this again" boxes in pop-up nag windows).