Bug 158244

Summary: Unify lockdown behavior of Options dialog page Draw - Grid
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: UIAssignee: Balázs Varga (allotropia) <balazs.varga991>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: 24.2.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard: target:24.2.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 157698    
Attachments: Lock down extension for the Draw - Grid page
The Draw - Grid page after installing the extension

Description Gabor Kelemen (allotropia) 2023-11-16 14:36:54 UTC
Created attachment 190870 [details]
Lock down extension for the Draw - Grid page

When the settings of the Options dialog page Draw - Grid are locked down, several of the UI elements do not reflect this by becoming disabled and displaying a lock icon on their left.

1. Install the attached extension in the Tools - Extensions dialog
2. Restart LibreOffice
3. Go to Tools - Options - Draw - Grid
-> the UI elements have no lock icon on their left, they are not disabled, changing their status and pressing OK usually crashes LibreOffice

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 97b6b6b16c4b623f8a34393a906272439a7f0314
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2023-11-16 14:37:19 UTC
Created attachment 190871 [details]
The Draw - Grid page after installing the extension
Comment 2 Stéphane Guillou (stragu) 2023-11-22 15:55:00 UTC
Reproduced as in screenshot in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: baecfd21797310bb15ab98ca3962445d99e397db
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 3 Commit Notification 2023-11-29 08:46:47 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2bf8231ab5709f0d7577d6da53f50bc7f0b65079

tdf#158244 - UI: Part 45 - Unify lockdown behavior of Options dialog

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.