Bug 160973 - Hide Open Remote commands from Tabbed UI
Summary: Hide Open Remote commands from Tabbed UI
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 enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2024-05-07 11:30 UTC by Gabor Kelemen (allotropia)
Modified: 2024-05-07 11:34 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) 2024-05-07 11:30:49 UTC
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 Tabbed UI: the button is not hidden, neither does it work.

1. Open a new Writer document, change UI to Tabbed
2. Install attachment 194000 [details] extension from bug 160961, restart Writer
-> File tab -> Open Remote button is visible, but does not pop up the dialog.

Also happens in the Tabbed Compact UI and of course in Calc, Impress too.

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
Comment 1 Gabor Kelemen (allotropia) 2024-05-07 11:34:32 UTC
Note: the example extension shows that this is a more generic problem in case of the Tabbed UI. 
There is configuration contained to hide the "Export Directly to PDF" command, which is also visible (but unusable) in the Tabbed UI.