GNOME Bugzilla – Bug 50367
Toolbars should behave properly when they don't get their size request
Last modified: 2004-12-22 21:47:04 UTC
Internet Explorer on Windows has IMO a nice solution; when the toolbar doesn't fit, it adds a button at the end of the toolbar labelled ">>" that drops down a menu with the remaining items. Assuming you use GtkMenu for that, it's pretty easy to implement. This does break things slightly, since toolbar buttons get reparented. Also, the toolbar API may not be conducive to making this work, I'm not sure. Random thought: this problem also needs solving for menubars. Playing with IE, I don't see any way in which menubars and toolbars behave differently; the "items" are just slightly different in size. So maybe we should have a single menu/toolbar widget. Some of the buttons even have drop-down menus, including the ">>" button and the "Mail" button; i.e. the buttons are just like menu items. This is not counting the buttons that have a button on the left and a drop-down arrow on the right (e.g. "Back"), the mail button is actually only a menu item, clicking it anywhere drops down the menu and has no other effect. But that's not a 2.0 thing, unless it's the easiest way to fix the "toolbar doesn't fit" bug, which seems doubtful.
Put all GTK 1.3.x bugs on 2.0.0 milestone
Setting API-affecting bugs to the API freeze milestone
*** Bug 50819 has been marked as a duplicate of this bug. ***
Unfortunately we simply don't have time to fix this for 2.0, it's a fairly large task. Will be fixed in a future release.
*** Bug 65556 has been marked as a duplicate of this bug. ***
The new egg toolbar code already does this. *** This bug has been marked as a duplicate of 55393 ***