After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 329889 - thumbnail generation and accentuated characters in path
thumbnail generation and accentuated characters in path
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.7.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2006-02-04 14:10 UTC by gaetan.perrier
Modified: 2006-03-16 19:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gaetan.perrier 2006-02-04 14:10:55 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:
Comment 1 Stephane Chauveau 2006-02-04 16:13:41 UTC
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






 
  
Comment 2 Paolo Bacchilega 2006-02-13 20:59:12 UTC
fixed in current CVS, thanks.
Comment 3 gaetan.perrier 2006-03-06 21:24:46 UTC
Gthum 2.7.3 is ok but Gthumb 2.7.4 has again the bug...
Comment 4 Paolo Bacchilega 2006-03-13 20:17:23 UTC
are you sure? I've just tested it and it works as expected.
Comment 5 gaetan.perrier 2006-03-13 21:11:13 UTC
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?
Comment 6 Paolo Bacchilega 2006-03-16 19:15:23 UTC
fixed in CVS, thanks.