Bug 157230 - In Tabbed NotebookBar toolbar mode, the "Open" menubutton's items are redundant with the "Recent Documents" menubutton and "Open Remote" button
Summary: In Tabbed NotebookBar toolbar mode, the "Open" menubutton's items are redunda...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyMedium, easyHack, skillDesign, topicDesign
Depends on:
Blocks: Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2023-09-13 20:48 UTC by Jeff Fortin Tam
Modified: 2023-09-27 06:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Comparative screenshot (55.03 KB, image/png)
2023-09-13 20:48 UTC, Jeff Fortin Tam
Details

Note You need to log in before you can comment on or make changes to this bug.
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)