Bug 160974 - Hide Open Remote commands from popup menus
Summary: Hide Open Remote commands from popup menus
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Toolbars
  Show dependency treegraph
 
Reported: 2024-05-07 12:25 UTC by Gabor Kelemen (allotropia)
Modified: 2024-05-07 12:25 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Screenshot of the problem (37.73 KB, image/png)
2024-05-07 12:25 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) 2024-05-07 12:25:46 UTC
Created attachment 194016 [details]
Screenshot of the problem

This is a followup to bug 160961

In case some enterprise deployment wants to disable certain UNO commands from being active in the menu, toolbar, sidebar or start center, this is possible by using a config extension and list the command in the ooO::Commands::Execute::Disabled config key tree.
This does not work in case of the Open or Recent Documents dropdowns: the button is not hidden, neither does it work.

1. Open a new Writer document, change UI to Tabbed (but also happens in the standard toolbar mode)
2. Install attachment 194000 [details] extension from bug 160961, restart Writer
-> In the File -> Open and File -> Recent Documents dropdowns the Open Remote button is visible, but does not pop up the dialog.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6d5d9eaa61505cebaf3bde4bfc157d8e19fec8de
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded