GNOME Bugzilla – Bug 164896
tab close icon clipped
Last modified: 2010-03-03 17:39:58 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.
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+
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);
To improve the situation, icon themes must provide a stock close icon at a suitably small size.
This icon is scalable, so it should be available for all sizes.
window-close (and the obsoleted stock_close that is being pointed to it) don't seem to get clipped anymore. Closing as fixed.