[Digikam-devel] [Bug 307053] New: Images sorted incorrectly

DrSlony bugs at londonlight.org
Wed Sep 19 16:06:29 BST 2012


https://bugs.kde.org/show_bug.cgi?id=307053

            Bug ID: 307053
          Severity: major
           Version: 2.9.0
          Priority: NOR
          Assignee: digikam-devel at kde.org
           Summary: Images sorted incorrectly
    Classification: Unclassified
                OS: Linux
          Reporter: bugs at londonlight.org
          Hardware: Gentoo Packages
            Status: UNCONFIRMED
         Component: Import
           Product: digikam

My photos are sorted incorrectly in the import panel (Import > USB Storage
Device > USB Disk "Digital Camera" at /media/disk). As a result of this, they
get renamed out of order, and this causes a headache, especially when shooting
HDR panoramas.

The photos in this screenshot, IMGP3285-9, were bracketed in 5 steps with 1EV
spacing between them (-2, -1, 0, 1, 2): http://i.imgur.com/XRl5A.jpg

Let's examine:

/media/disk/DCIM/105_0919 $ ls --full-time
(...)
-rw-r--r-- 1 drslony drslony  8477902 2012-09-19 12:26:40.000000000 +0100
IMGP3285.PEF
-rw-r--r-- 1 drslony drslony  9051467 2012-09-19 12:26:40.000000000 +0100
IMGP3286.PEF
-rw-r--r-- 1 drslony drslony  9878117 2012-09-19 12:26:42.000000000 +0100
IMGP3287.PEF
(...)

exiftool -L IMGP3285.PEF | egrep -i "(date|time)" 
File Modification Date/Time     : 2012:09:19 12:26:40+01:00
Modify Date                     : 2012:09:19 12:26:37
Date/Time Original              : 2012:09:19 12:26:37
Create Date                     : 2012:09:19 12:26:37

exiftool -L IMGP3286.PEF | egrep -i "(date|time)" 
File Modification Date/Time     : 2012:09:19 12:26:40+01:00
Modify Date                     : 2012:09:19 12:26:37
Date/Time Original              : 2012:09:19 12:26:37
Create Date                     : 2012:09:19 12:26:37

exiftool -L IMGP3287.PEF | egrep -i "(date|time)" 
File Modification Date/Time     : 2012:09:19 12:26:42+01:00
Modify Date                     : 2012:09:19 12:26:38
Date/Time Original              : 2012:09:19 12:26:38
Create Date                     : 2012:09:19 12:26:38

digiKam's import window shows the same values in the "Photograph Properties"
panel and in the "EXIF" (sic, should be "Exif") and "Makernote" panels.
Additionally, it also shows the following times in the "Camera File Properties"
panel:
IMGP3285.PEF - Date: 2012-09-19 12:26:38
IMGP3286.PEF - Date: 2012-09-19 12:26:40
IMGP3287.PEF - Date: 2012-09-19 12:26:40
I don't know where/how it got these times, "ls" and exiftool/exiv2 didn't show
them, but I don't think they're a problem.

Reproducible: Always

Steps to Reproduce:
Shoot a series of bracketed photos with a very short exposure time so that your
camera writes them all to the card in one go. Launch the import window in
digiKam.
Actual Results:  
Some photos will have identical times because exposure time was so short they
were recorded in the same second. My camera didn't mix them up while writing
them - the filenames reflect this, they are in order. For some reason, the
digiKam import window screws the order up, and so if I rename them on import I
end up with photos in the wrong order.

Expected Results:  
I expect the import window to list the files in filename order if the
timestamps are identical.

"Major: A major feature is broken"
I cannot use the import window at all until this is fixed, so it's a major
issue. For now I have to manually copy the photos and run krename.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list