Time sorting gets mixed up
Submitted by Tobias Pfeiffer
Link to original bug (#745010)
Description
Problem
Even though two files were taken right after another, they appear in very different places in the photo listing.
Detailed Description
I have two photos, IMG_4311.JPG and IMG_4312.JPG which were taken right after another. In particular, exiftool shows the following information (only time-related fields):
$ exiftool IMG_4311.JPG File Name : IMG_4311.JPG Directory : . File Size : 2.4 MB File Modification Date/Time : 2015:02:11 10:50:46+09:00 File Access Date/Time : 2015:02:23 20:57:35+09:00 File Inode Change Date/Time : 2015:02:13 07:43:28+09:00 Modify Date : 2015:02:11 10:50:46 Date/Time Original : 2015:02:11 10:50:46 Create Date : 2015:02:11 10:50:46 Time Zone : +01:00 Time Zone City : (not set) ...
$ exiftool IMG_4312.JPG File Name : IMG_4312.JPG Directory : . File Size : 3.3 MB File Modification Date/Time : 2015:02:11 10:58:04+09:00 File Access Date/Time : 2015:02:23 00:59:51+09:00 File Inode Change Date/Time : 2015:02:23 00:59:22+09:00 Modify Date : 2015:02:11 10:58:04 Date/Time Original : 2015:02:11 10:58:04 Create Date : 2015:02:11 10:58:04 Time Zone : +01:00 Time Zone City : (not set) GPS Altitude : 333.2 m Above Sea Level GPS Date/Time : 2015:02:11 09:58:04Z GPS Latitude : *** GPS Longitude : *** ...
When showing "Extended Information" in Shotwell, I see 10:50 and 10:58 as "Exposure time", respectively. However, the "Time" field in the "Basic Information" panel shows 6:50 (not 10:50!) and 10:58. In particular, there are other photos displayed in between, where there should not.
What I did
- Go to Europe (from Japan)
- Change timezone of camera and computer from JST/+09:00 to CET/+01:00
- Take photos
- Import all photos
- Go back to Japan
- Change timezone of computer back to JST
- Create a copy of IMG_4312.JPG in a non-monitored folder, add GPS coordinates, set the file timestamp back to the EXIF date using
jhead -ft
, move the file back to the original folder, overwriting the original file. - Shotwell picks up the modified version and now displays the date correctly.
What may have happened
Something weird happens to files that were imported in a different timezone when the timezone changes. Maybe this is a duplicate of #718867.
What would help
- A fix :-)
- A function to revisit all files and "reimport" them, keeping tags etc., but updating the EXIF meta information.
Version: 0.18.x