When there is not enough space in the toolbars, there appears a double-arrow (>>) mark that leads to a toolbar menu on the right hand side. This menu shows both the items that did not fit the toolbar, as well as some more "what to do with a toolbar" commands.
According to what has been agreed with our UX guys, the "what to do with a toolbar" commands should be removed from this toolbar menu, and it should target only the single purpose - show the hidden toolbar items. These commands should still stay in the context menu that you get when you right-click the toolbar.
Code pointers: vcl/source/window/toolbox.cxx, vcl/source/window/toolbox2.cxx, framework/source/uielement/toolbarmanager.cxx - look for the 'GetMenu()' uses.
The 'GetMenu()' menu is used both for the 'more items' toolbar menu, as well as for the right-click context menu. Extra care is needed to double-check that this menu is populated the right way in these 2 contexts.
This builds on work that is available in the towards-3.5 branch (master) only.
Link to original discussion "Toolbar look improvement (toolbar option button removal)" on libreoffice-ux-advice:
Here's a link to a (still WIP) spec by Mirek Mazel:
It would be good if the implementation could follow this, I believe.
Iain Billett committed a patch related to this issue.
It has been pushed to "master":
fdo#38276: Improve the ">>" toolbar overflow menu
Mark as fixed per comment 3.
Created attachment 61884 [details]
Right and left clicking
Can someone explain me please why this has been done...
(In reply to comment #5)
> Can someone explain me please why this has been done...
Do comment 0, comment 1, and comment 2 help? :-)
Removed 'EasyHack' from Summary
Migrating Whiteboard tags to Keywords: (EasyHack,DifficultyInteresting,SkillCpp,TopicUI )