GNOME Bugzilla – Bug 329010
Icon preview is very small on some images.
Last modified: 2011-09-07 22:01:40 UTC
Please describe the problem: When you have image (PNG in my case) that is very short and long the preview doesn't show the right proportions. The problem seems to show itself with pictures 194x1px or wider. These dimensions are common in web design when filling an <div> with a repeating background image. Steps to reproduce: Make a image and look at the desktop icon. Actual results: Icon looks small 1x1px Expected results: See the 193x1px preview - it looks good. Does this happen every time? Yes. Other information:
Created attachment 58292 [details] Icon preview is very small
Still valid in 2.31.
Created attachment 182038 [details] [review] proposed patch The attached patch should fix this issue. The problem is that for extreme height-to-width ratio images, gdk_pixbuf_scale_simple () is called with either width or height = 0 (printing a critical warning to the terminal.)
(In reply to comment #2) > Still valid in 2.31. [Bumping version number.]
Thanks, I pushed this to master.