Bug 143478 - Hide Notebookbar items/buttons column-wise
Summary: Hide Notebookbar items/buttons column-wise
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected) release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Notebookbar-Resize
  Show dependency treegraph
Reported: 2021-07-21 13:31 UTC by Jérôme
Modified: 2022-01-16 13:07 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme 2021-07-21 13:31:31 UTC
Maybe we could decrease the number of icons shown in each group before we begin to hide groups.

Steps to Reproduce:
1. Open a document in a maximized window
2. Decrease the width of the window

Actual Results:
Currently, if the window width becomes tighter, then a few groups are hidden but the remaining groups that appear shows always the same number of icons.

Expected Results:
The number of icons could decrease until the second row of a group has only the textual popup menu title. When each group displays only the textual popup menu title on the second rows, we could continue to spare space by hiding a few groups.

A further enhancement of the layout could optimize the below constraints :
1. we could reduce the number of icons before hiding a group ;
2. if we have to hide a group, the spared space could be used to display again additional icons in a few groups in order to maximize the use the window width.

Reproducible: Always

User Profile Reset: No

Additional Info:
The layout of the Groupedbar Compact UI is the same in the version.
Comment 1 V Stuart Foote 2021-07-21 15:10:21 UTC
The Notebook Bar UI structures are somewhat static--the groups can not be dynamically reconfigured, just hidden (and exposed on the '>>' overflow toolbar).  Would require major refactoring to achieve and not clear it would have any real functionality.  You'd be dynamically hiding controls in each group in response to reduced width--rather than placing groups in the '>>' drop bar as now.

Comment 2 Heiko Tietze 2021-09-13 11:27:11 UTC
(In reply to V Stuart Foote from comment #1)
> Would require major refactoring ... IMHO => WF

Let's keep it for the record. The idea is to not hide the complete (low prioritized) section but its rightmost column. Don't see any example in the GroupedBar (the menu button below the section takes some space) but at the Tabbed variant in the Tools tab, a bunch of icons become hidden on resize.