After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 50367 - Toolbars should behave properly when they don't get their size request
Toolbars should behave properly when they don't get their size request
Status: RESOLVED DUPLICATE of bug 55393
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other All
: Normal normal
: future
Assigned To: gtk-bugs
gtk-bugs
: 50819 65556 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-01-21 02:55 UTC by Havoc Pennington
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Havoc Pennington 2001-01-21 02:55:06 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.
Comment 1 Havoc Pennington 2001-01-29 19:39:59 UTC
Put all GTK 1.3.x bugs on 2.0.0 milestone
Comment 2 Havoc Pennington 2001-01-29 19:49:49 UTC
Setting API-affecting bugs to the API freeze milestone
Comment 3 Havoc Pennington 2001-02-13 00:25:57 UTC
*** Bug 50819 has been marked as a duplicate of this bug. ***
Comment 4 Havoc Pennington 2001-02-16 23:25:27 UTC
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.
Comment 5 Owen Taylor 2001-12-15 19:00:49 UTC
*** Bug 65556 has been marked as a duplicate of this bug. ***
Comment 6 Matthias Clasen 2003-01-30 21:01:00 UTC
The new egg toolbar code already does this.

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