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 375313 - gtk needs a list-button widget
gtk needs a list-button widget
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.10.x
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-11-14 22:09 UTC by Thomas D Ahle
Modified: 2013-02-13 04:20 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Mockup (21.39 KB, image/png)
2008-02-06 22:21 UTC, Thomas D Ahle
Details
screenshot showing the theme inconsistency in evolution (10.92 KB, image/png)
2008-02-07 15:08 UTC, Karl Lattimer
Details

Description Thomas D Ahle 2006-11-14 22:09:57 UTC
Many applications like firefox, evolution and gedit uses a kind of button, that has an associated menu, activated by an arrow on the right.

However all these applications use different, custom widgets for this task. I think that an "official" widget for this task, would make gtk easier for the developers and more consistent to the users.
Comment 1 Thomas D Ahle 2006-11-14 22:10:34 UTC
This evolution bug also descripes a part of the problem: http://bugzilla.gnome.org/show_bug.cgi?id=338289
Comment 2 Thomas D Ahle 2008-02-06 22:21:57 UTC
Created attachment 104597 [details]
Mockup

This feature, if used correctly, would make a lot of user interfaces much more easy to the eyes.
Comment 3 Karl Lattimer 2008-02-07 13:25:34 UTC
This should totally be marked gnome love! The button in evo has a flat background, and the default gnome theme uses a gradient for the toolbar. This is a horrific situation!
Comment 4 Karl Lattimer 2008-02-07 15:08:05 UTC
Created attachment 104637 [details]
screenshot showing the theme inconsistency in evolution

I use gummy gilouche as my theme, and it uses this gradient in the toolbar, this screenshot is heavily adjusted in GIMP to highlight the bad drawing done by the button hack in evolution. 

Now the clearlooks theme has a gradient in the toolbar but this doesn't appear in evolution, my mistake in previous comment, i thought the gradient was shown in ALL toolbars, silly me thinking there might be consistency... gedit etc... have the correct gradient though.
Comment 5 Christian Persch 2008-02-08 00:39:06 UTC
(In reply to comment #0)
> Many applications like firefox, evolution and gedit uses a kind of button, that
> has an associated menu, activated by an arrow on the right.
> 
> However all these applications use different, custom widgets for this task. I
> think that an "official" widget for this task, would make gtk easier for the
> developers and more consistent to the users.

This widget already exists; it's called GtkMenuToolButton.
Comment 6 Thomas D Ahle 2008-02-08 11:38:56 UTC
> > Many applications like firefox, evolution and gedit uses a kind of button, 
> > that has an associated menu, activated by an arrow on the right.
> This widget already exists; it's called GtkMenuToolButton.
GtkMenuToolButton as used in gedit just looks like two separate buttons. Also this report looks for a way to join more than just two buttons, and if possible also join other widgets in, as shown in the mockup.
Comment 7 Dimitri John Ledkov 2012-09-21 11:47:36 UTC
GtkMenuToolButton?!