Bug 157861

Summary: Unify lockdown behavior of Options dialog page Load/Save - MS Office
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: UIAssignee: Balázs Varga (allotropia) <balazs.varga991>
Status: RESOLVED FIXED    
Severity: normal CC: raal
Priority: medium    
Version: 24.2.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=159086
Whiteboard: target:24.2.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 157698    
Attachments: Lock down extension for the Load/Save - MS Office page
The Load/Save - MS Office page after installing the extension

Description Gabor Kelemen (allotropia) 2023-10-20 14:51:32 UTC
Created attachment 190350 [details]
Lock down extension for the Load/Save - MS Office page

When the settings of the Options dialog page Load/Save - MS Office 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 - Load/Save - MS Office
-> 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: 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 14:52:01 UTC
Created attachment 190351 [details]
The Load/Save - MS Office page after installing the extension
Comment 2 raal 2023-10-23 17:42:23 UTC
Confirm with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3649dc202bedf72e37c77993a1f7027bfdfc6d9e
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

I can reproduce the crash.
Comment 3 Commit Notification 2023-11-03 09:51:03 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/6f12739b6201948b8ccf8f162c999e42714539ba

tdf#157861 - UI: Part 15 - 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.