Bug 157700

Summary: Unify lockdown behavior of Options dialog page User Data
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: UIAssignee: Balázs Varga (allotropia) <balazs.varga991>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: medium    
Version: Inherited From OOo   
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 User Data page
The User Data page after installing the extension

Description Gabor Kelemen (allotropia) 2023-10-11 15:01:43 UTC
Created attachment 190140 [details]
Lock down extension for the User Data page

When the settings of the Options dialog page User Data 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 - User Data
-> the UI elements have no lock icon on their left, the ones at the bottom of the page are not disabled, changing their status and pressing OK usually crashes LibreOffice

Furthermore, in this page the personal data fields are correctly deactivatedb, but not only those, their labels as well. This is unique behavior to this page, this can be replaced by the lock icons.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9f44f9fad759dea644356b67b9cd0fab030e8b77
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: x11
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2023-10-11 15:02:43 UTC
Created attachment 190141 [details]
The User Data page after installing the extension
Comment 2 Commit Notification 2023-10-24 06:33:48 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/89fb894825b894080049abc500315f8b985c32c2

tdf#157700 - UI: Part 1 - 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.