Bug 160973

Summary: Hide Open Remote commands from Tabbed UI
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: frameworkAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: balazs.varga991
Priority: medium    
Version: 24.8.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=160961
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107237    

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.
Comment 2 Stéphane Guillou (stragu) 2024-05-23 04:43:25 UTC
Makes sense.