GNOME Bugzilla – Bug 329889
thumbnail generation and accentuated characters in path
Last modified: 2006-03-16 19:15:23 UTC
Please describe the problem: Gthumb doesn't treated accentuated characters in path accordingly with Nautilus. My system is in UTF-8. Thumbnails size is 128x128 in Gthumb. Steps to reproduce: 1. Create a directory with an accentuated characted in the name (for example: négatifs) 2. copy some jpeg in it 3. open Nautilus on this directory => thumbnails are generated 4. open Gthumb on this directary too => anothers thumbnails are generated 5. go in .thumbnails/normal 6. make exiftool *.png | grep Thumb::URI 7. You can see that the accentuated characters aren't been treated with the same method. Nautilus has replaced them (see first line below) by hexa code (e accute replace by %C3%A9) and Gthumb not (second line below). Thumb::URI : file:///home/gpe/Documents/Photos/n%C3%A9gatifs/2004-06-16--23%3A12%3A33_photo_identite.jpg Thumb::URI : file:///home/gpe/Documents/Photos/n\uffffgatifs/2004-06-16--23:12:33_photo_identite.jpg Actual results: Two thumbnails are generated Expected results: The same thumbnail must be used by Nautilus and Gthumb Does this happen every time? yes Other information:
It should be noted that being able to reuse Nautilus thumbnails in Gthumb is important for the image files formats that Ghtumb cannot handle by itself. For example Nautilus can generate thumbnails for the digital camera RAW files using external thumbailers. By the way, I think that Nautilus is right here. The URI specs are very clear about the encoding of all non-reserved characters. See http://community.roxen.com/developers/idocs/rfc/rfc2396.html and http://jens.triq.net/thumbnail-spec/creation.html
fixed in current CVS, thanks.
Gthum 2.7.3 is ok but Gthumb 2.7.4 has again the bug...
are you sure? I've just tested it and it works as expected.
I've made a new test just now and the bug is not exactly the same in fact. The problem is with failed and normal thumbnail. I use the thumbnailer of Stephane Chauveau (http://www.chauveau-central.net/rawthumb/) which works with Nautilus to create thumbnails for RAW image files. And I don't know how but sometime I've the same thumbnail in the ~/.thumbnails/fail/gnome-thumbnail-factory and ~/.thumbnails/normal and Nautilus seems to check ~/.thumbnails/normal before ~/.thumbnails/fail/gnome-thumbnail-factory, Gthumb seems to make the inverse. Did you think that is possible that Gthumb use the thumbnailer of Stephane for handle RAW files?
fixed in CVS, thanks.