GNOME Bugzilla – Bug 368804
Toolbar TOGGLEBUTTON not resized correctly
Last modified: 2018-04-15 00:11:25 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 ...
BTW: the corresponding bug in the wireshark bug tracker is: http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1193
Re-assigning to GTK+ proper. My feeling is that all widgets on the toolbar should feel constrained by the "gtk-toolbar-icon-size".
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.
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