Bug 157850

Summary: Unify lockdown behavior of Options dialog page Update
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: UIAssignee: Balázs Varga (allotropia) <balazs.varga991>
Status: RESOLVED FIXED    
Severity: normal    
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 Online update page
The Update check tab page

Description Gabor Kelemen (allotropia) 2023-10-20 10:53:05 UTC
Created attachment 190331 [details]
Lock down extension for the Online update page

When the settings of the Options dialog page Online Update (preferably on Windows) 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 - Online Update
-> the UI elements have no lock icon on their left, they are not disabled, changing their status and pressing OK usually crashes LibreOffice
Comment 1 Gabor Kelemen (allotropia) 2023-10-20 11:17:07 UTC
Created attachment 190332 [details]
The Update check tab page

Options are greyed out correctly, but they lack the lock icon.
Comment 2 Stéphane Guillou (stragu) 2023-10-24 13:25:28 UTC
Reproduced with attached extension and:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fd69b546ad36452560cb11ccb28e78632d65f045
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-10-27 06:52:32 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

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

tdf#157850 - UI: Part 10 - 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.