Bug 157837 - Unify lockdown behavior of Options dialog View page
Summary: Unify lockdown behavior of Options dialog View page
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: UI-Lockdown
  Show dependency treegraph
 
Reported: 2023-10-20 08:07 UTC by Gabor Kelemen (allotropia)
Modified: 2023-11-13 13:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Lock down extension for the View page (3.34 KB, application/vnd.openofficeorg.extension)
2023-10-20 08:07 UTC, Gabor Kelemen (allotropia)
Details
The View page after installing the extension (87.27 KB, image/png)
2023-10-20 08:07 UTC, Gabor Kelemen (allotropia)
Details
Updated extension with working Common::Font::View::ShowFontBoxWYSIWYG key (3.34 KB, application/vnd.openofficeorg.extension)
2023-10-20 10:31 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-10-20 08:07:03 UTC
Created attachment 190308 [details]
Lock down extension for the View page

When the settings of the Options dialog page xxx 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 - View
-> 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: 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-20 08:07:30 UTC
Created attachment 190309 [details]
The View page after installing the extension
Comment 2 Stéphane Guillou (stragu) 2023-10-20 09:12:03 UTC
Confirmed. It crashes when changing the UI theme.
But I don't see any locked down setting whatsoever.

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 Gabor Kelemen (allotropia) 2023-10-20 10:31:05 UTC
Created attachment 190328 [details]
Updated extension with working Common::Font::View::ShowFontBoxWYSIWYG key
Comment 4 Commit Notification 2023-10-24 06:38:54 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

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

tdf#157837 - UI: Part 3 - 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.
Comment 5 Commit Notification 2023-11-13 13:36:07 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0d30e2a8cd312dfcf5fc2ac0c67e09a1c74d2f46

Related: tdf#157837 - UI: Part 3 - Unify lockdown behavior of Options

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.