Bug 157843

Summary: Unify lockdown behavior of Options dialog page OpenCL
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: UIAssignee: Balázs Varga (allotropia) <balazs.varga991>
Status: RESOLVED FIXED    
Severity: minor CC: stephane.guillou
Priority: low    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard: target:24.2.0
Crash report or crash signature: Regression By:
Bug Depends on: 157845    
Bug Blocks: 97391, 157698    
Attachments: Lock down extension for the OpenCL page
The OpenCL page after installing the extension

Description Gabor Kelemen (allotropia) 2023-10-20 09:02:42 UTC
Created attachment 190320 [details]
Lock down extension for the OpenCL page

When the settings of the Options dialog page OpenCL 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 - OpenCL
-> the UI elements have no lock icon on their left, but it is disabled

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3649dc202bedf72e37c77993a1f7027bfdfc6d9e
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2023-10-20 09:03:25 UTC
Created attachment 190321 [details]
The OpenCL page after installing the extension
Comment 2 Stéphane Guillou (stragu) 2023-10-20 10:24:20 UTC
Confirmed. Disabled but no lock icon.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b83f069101f1e6d8aaac09a805f02bbc4c619e7a
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-26 07:23:21 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ee368cc3f97886b9574e22fdf8a15c8225e785d5

tdf#157843 - UI: Part 8 - 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.