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 164896 - tab close icon clipped
tab close icon clipped
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: [obsolete] stock-icons
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: Jakub Steiner
Jakub Steiner
Depends on:
Blocks:
 
 
Reported: 2005-01-22 12:46 UTC by Josselin Mouette
Modified: 2010-03-03 17:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josselin Mouette 2005-01-22 12:46:35 UTC
In e.g. xchat or gossip, the stock_close.svg icon is used for the "close tab"
icon as well. However, it appears cropped, and the result is not nice. I don't
know whether this is a bug in the applications (should they use the stock
icon?), in GTK+ (should it scale the icon better?) or in the theme.
Comment 1 Christian Fredrik Kalager Schaller 2005-12-06 22:17:10 UTC
I tried resolving this by adjusting the size of the image (and also the size of
the image within the image 'area', but I think its a GTK+ bug as my efforts only
marginally help (and make things uglier in other situations. Re-assigning to GTK+
Comment 2 Matthias Clasen 2005-12-07 04:40:06 UTC
Its no wonder the close icon looks bad in those buttons. Looking e.g. at the
xchat source, it loads the 20x20 image at size 16x16, and then clamps the size
of the widget further down:

                img = gtk_image_new_from_stock (stock, GTK_ICON_SIZE_MENU);
                gtk_widget_set_usize (img, 8, 6);
Comment 3 Matthias Clasen 2005-12-07 04:41:00 UTC
To improve the situation, icon themes must provide a stock close icon at a
suitably small size.
Comment 4 Josselin Mouette 2005-12-07 08:09:19 UTC
This icon is scalable, so it should be available for all sizes.
Comment 5 Jakub Steiner 2010-03-03 17:39:58 UTC
window-close (and the obsoleted stock_close that is being pointed to it) don't seem to get clipped anymore. Closing as fixed.