Bug 156496 - QT Disabled menu items are not hidden in DontHideDisabledEntry = false mode
Summary: QT Disabled menu items are not hidden in DontHideDisabledEntry = false mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Main-Menu KDE, KF5
  Show dependency treegraph
 
Reported: 2023-07-27 16:36 UTC by Gabor Kelemen (allotropia)
Modified: 2023-07-31 16:46 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-07-27 16:36:16 UTC
If the config key DontHideDisabledEntry is set to false and QT vclplug is used, the disabled menu entries are not hidden from the menus.
This works fine with the gen and win backends.

1. Go to Options - Special
2. Search for the DontHideDisabledEntry config key, set it to false
3. Restart LO with the qt5 backend
4. Open the menus with an empty Writer document
-> menus contain disabled grey entries

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 851f0dc7cd85eb146b205027cadc8decce0e5bed
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: qt5 (cairo+xcb)
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Calc: threaded
Comment 1 Michael Weghorn 2023-07-31 16:46:00 UTC
Confirmed.

(In reply to Gabor Kelemen (allotropia) from comment #0)
> 4. Open the menus with an empty Writer document
> -> menus contain disabled grey entries

e.g. "Edit" > "Select Text"

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9807d927a00e538af1561889fd897154ad9f3349
CPU threads: 12; OS: Linux 6.4; UI render: default; VCL: qt6 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded