Created attachment 4787 the icon I ran into this with When I click the mouse logo and navigate to Development, the icon (created using an Image) is much too large instead of being properly resized. I encountered this with the icon .xpm included with the Android Developer Toolkit's version of Eclipse. It's properly resized in the dialog editing the menu item, but the popup menu itself keeps it enormous, resulting in only being able to see 'oolkit' for text 'Android Developer Toolkit'. By the way, sometimes this only happens after mouse-over. Not sure why.
Created attachment 4794 Fix-icons-not-probably-resizing-when-requested.patch Hi, I just stumbled with this problem and found this bug. As I like to solve stuff myself I'll attach the patch that fixes this problem. I explained the change on the patch, so any questions I can try to answer them here.
Pushed in: 48e1016 Fix icons not probably resizing when requested.
*** Bug 9221 has been marked as a duplicate of this bug. ***
Created attachment 4854 workaround the broken scaling of icons from gdk_pixbuf_new_from_file_at_scale() The right click menu which is a component of xfdesktop also suffers from this problem. I have taken Carlos Silva's patch and the scaling bits from the xfce_panel_pixbuf_from_source_at_size() function to create a workaround for xfdesktop as well.
(In reply to comment #4) > Created attachment 4854 > workaround the broken scaling of icons from > gdk_pixbuf_new_from_file_at_scale() > > The right click menu which is a component of xfdesktop also suffers from > this problem. I have taken Carlos Silva's patch and the scaling bits from > the xfce_panel_pixbuf_from_source_at_size() function to create a workaround > for xfdesktop as well. With gdk-pixbuf2-2.26.5, and xfdesktop 4.10.2, patch (src/xfdesktop-app-menu-item.c) for seems not work. XPM icons disappear.
Since the original patch is pushed and the last two comments tackle xfdesktop (separate component, separate bugreport), I'm marking this as fixed.