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 484290 - gthumb --import-photos loses the original modification time (when picture taken)
gthumb --import-photos loses the original modification time (when picture taken)
Status: RESOLVED INCOMPLETE
Product: gthumb
Classification: Other
Component: general
2.10.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2007-10-07 00:58 UTC by Normand Robert
Modified: 2008-04-11 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Normand Robert 2007-10-07 00:58:51 UTC
Please describe the problem:
gthumb --import-photo behaviour has changed from FC6 to F7. For JPG files, the 
modfication time (ls man page nomenclature) is now = to the creation time. This
behaviour results in a loss of the time when the picture was taken. Raw files
import (feature new to F7) shows the correct modification time = when picture
was taken.


Steps to reproduce:

1. Connect camera in PTP mode via usb cable and turn it on
2. gthumb import dialog appears
3. Select photos to import.


Actual results:
Actual results:

4. [robert@localhost 2007-10-06--19.27.10]$ ls -lt
total 23392
-rw-rw-r-- 1 robert robert 2878824 oct  6 19:27 IMG_1209.JPG
-rw-rw-r-- 1 robert robert 2470865 oct  6 19:27 IMG_1210.JPG
-rw-rw-r-- 1 robert robert 9051938 oct  4 04:13 IMG_1210.CR2
-rw-rw-r-- 1 robert robert 9505199 oct  4 04:13 IMG_1209.CR2

5. [robert@localhost 2007-10-06--19.27.10]$ ls -lc
total 23392
-rw-rw-r-- 1 robert robert 9505199 oct  6 19:27 IMG_1209.CR2
-rw-rw-r-- 1 robert robert 2878824 oct  6 19:27 IMG_1209.JPG
-rw-rw-r-- 1 robert robert 9051938 oct  6 19:27 IMG_1210.CR2
-rw-rw-r-- 1 robert robert 2470865 oct  6 19:27 IMG_1210.JPG


Expected results:
Modification time to reflect when the picture was taken not when it was
imported. Consistent behaviour for jpg and raw images.

Does this happen every time?
Yes

Other information:
Bug Filed downstream as https://bugzilla.redhat.com/show_bug.cgi?id=321651
Comment 1 Michael Chudobiak 2007-10-07 10:50:01 UTC
I don't see this behavior on my F7 system (though my camera doesn't have raw photos).

I think it is a libgphoto2 problem, rather than gthumb.

Can you try importing some photos using:

gphoto2 --get-all-files

and see if that produces the same date problems (manual: http://www.gphoto.org/doc/manual/using-gphoto2.html)? If it does, then it is definitely a gphoto problem that should be reported at http://sourceforge.net/tracker/?group_id=8874&atid=108874.

- Mike
Comment 2 Michael Chudobiak 2008-04-11 13:15:08 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!