Bug 141480 - GTK3 version: sidebars toolbars buttons sizes do not respect the user's icon size settings
Summary: GTK3 version: sidebars toolbars buttons sizes do not respect the user's icon ...
Status: RESOLVED DUPLICATE of bug 126239
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
Depends on:
Reported: 2021-04-03 21:01 UTC by Jeff Fortin Tam
Modified: 2021-04-14 17:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

screenshot (120.13 KB, image/png)
2021-04-03 21:01 UTC, Jeff Fortin Tam

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin Tam 2021-04-03 21:01:30 UTC
Created attachment 170942 [details]

LibreOffice has settings for icon sizes for "toolbar", "notebookbar", and "sidebar".

However, I have noticed that even if I set the sizes to "small", the toolbar buttons in the sidebar panels (such as the F5 navigator or F11 stylist) are always shown at regular full/large size. You can even visually notice the difference in size when compared to the buttons on the notebookbar (ex: the Bold button vs the checkmark button in the Navigator in the attached screenshot).

Looking at those widgets with the GTK Inspector, we can see that those toolbars' "icon-size" property was set to "GTK_ICON_SIZE_LARGE_TOOLBAR" no matter what the user's preference was.

When changing the size to small, it should probably set GTK_ICON_SIZE_SMALL_TOOLBAR and refresh those widgets, or whatever it needs to do to compact them without needing to restart the whole app.

It could make sense if were to also reduce a bit the amount of padding between widgets when it does that, but at least (re)setting the toolbar/button sizes should already be an improvement. As it stands, particularly in the Navigator, those three stacked toolbars eat roughly a quarter of my available height for the navigator's contents. I wish the Navigator in particular was a bit more space-efficient in that regard.
Comment 1 Jean-Baptiste Faure 2021-04-14 17:29:45 UTC

*** This bug has been marked as a duplicate of bug 126239 ***