On Wed, 2005-11-16 at 09:25 +0100, Benedikt Meurer wrote:
> Olivier Fourdan wrote:
> > It's worth noting that I'm using GTK+-2.8.7, but I'm not quite sure it's
> > related. Exo is just a fresh checkout. Maybe some malformed thumbnail?
>
> Jep, looks like a broken thumbnail. Please go to frame 11 and print the
> values of the variables width and height, and post them here.
(gdb) frame 11
#11 0x0806cd8d in thunar_icon_factory_load_from_file (factory=0x80ef340,
path=0x832e608
"/home/ofourdan/.thumbnails/normal/63b3e0774bdd830201a9dadf585589dc.png",
size=48) at thunar-icon-factory.c:464
464 tmp = exo_gdk_pixbuf_scale_ratio (pixbuf, size);
(gdb) print width
$1 = 128
(gdb) print height
$2 = 1
(gdb) print size
$3 = 48
The size is actually correct:
file /home/ofourdan/.thumbnails/normal/63b3e0774bdd830201a9dadf585589dc.png
/home/ofourdan/.thumbnails/normal/63b3e0774bdd830201a9dadf585589dc.png:
PNG image data, 128 x 1, 8-bit/color RGBA, non-interlaced
Maybe the height becomes 0 after scale?
Cheers,
Olivier.
_______________________________________________
Thunar-dev mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/thunar-dev