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 368804 - Toolbar TOGGLEBUTTON not resized correctly
Toolbar TOGGLEBUTTON not resized correctly
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkToolbar
2.8.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-11-01 10:53 UTC by Ulf Lamping
Modified: 2018-04-15 00:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ulf Lamping 2006-11-01 10:53:32 UTC
Please describe the problem:
Using the Win32 port of www.wireshark.org, which uses GTK 2.6.9 (the current 2.8.20 shows the same problem).

Current GTK-Wimp resizes icons in the toolbar to 16x16 to conform to common windows sizes.

If a toggle button is used in a toolbar, the corresponding toggle button icon isn't resized as the normal icons are - making the toolbar really ugly.

The former Wimp version didn't resized the toolbar icons - so it didn't showed the problem.

To reproduce it, use GTK_TOOLBAR_CHILD_TOGGLEBUTTON at a gtk_toolbar_append_element() call (for the record: in the wireshark sources gtk/toolbar.c line 441).

Steps to reproduce:
1. Start the win32 port of Wireshark
2. Look at it's toolbar
3. Enjoy ;-)


Actual results:
the toggle toolbar icons are not resized like the other toolbar icons

Expected results:
the toggle toolbar icons should be resized like the other toolbar icons

Does this happen every time?
yes

Other information:
when the corresponding line in C:\Program Files\Wireshark\share\themes\Default\gtk-2.0\gtkrc is changed from:
gtk-toolbar-icon-size = small-toolbar
to
gtk-toolbar-icon-size = large-toolbar
all icons are larger but equally sized

If you need further information, please let me know ...
Comment 1 Ulf Lamping 2006-11-01 10:57:51 UTC
BTW: the corresponding bug in the wireshark bug tracker is: http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1193
Comment 2 Dominic Lachowicz 2006-11-01 12:21:27 UTC
Re-assigning to GTK+ proper. My feeling is that all widgets on the toolbar should feel constrained by the "gtk-toolbar-icon-size".
Comment 3 Matthias Clasen 2018-02-10 05:00:08 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 4 Matthias Clasen 2018-04-15 00:11:25 UTC
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla.

If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab:

https://gitlab.gnome.org/GNOME/gtk/issues/new