Bug 157230

Summary: In Tabbed NotebookBar toolbar mode, the "Open" menubutton's items are redundant with the "Recent Documents" menubutton and "Open Remote" button
Product: LibreOffice Reporter: Jeff Fortin Tam <nekohayo>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: heiko.tietze, mentoring
Priority: medium Keywords: difficultyMedium, easyHack, skillDesign, topicDesign
Version: 7.6.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107237    
Attachments: Comparative screenshot

Description Jeff Fortin Tam 2023-09-13 20:48:39 UTC
Created attachment 189562 [details]
Comparative screenshot

As shown in the attached screenshot, in the tabbed notebookbar toolbar mode (but not really in other toolbar layouts), the "Open" button has a menubutton (▼) that only contains contents that duplicate the "Recent Documents menubutton and the "Open Remote" button, both of which are present in the same group within the toolbar.

It would be good to show one or the others, but not both at the same time?


Tested with version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: fr-CA (en_CA.UTF-8); UI: en-US
Flatpak
Calc: threaded
Comment 1 Heiko Tietze 2023-09-27 06:44:13 UTC
The commands are uno:Open and uno:RecentFileList but effectively both do the same in this situation. Removing the "Recent Documents" saves us also a lot of precious space.

The patch should remove either the complete group of recent and remote documents or combine Open Remote/Save Remote and also remove the dedicated Save As button (available in the expanded section of Save).

sw/uiconfig/swriter/ui/notebookbar.ui (and respectively the other modules)