Bug 156496

Summary: QT Disabled menu items are not hidden in DontHideDisabledEntry = false mode
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: m.weghorn
Priority: low    
Version: 24.2.0.0 alpha0+   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=104382
https://bugs.documentfoundation.org/show_bug.cgi?id=156497
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 85811, 102495    

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