Bug 374413

Summary: picture sorting by name incorrect
Product: [Applications] digikam Reporter: Martin Zahnd <martin>
Component: Albums-ItemsSortAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0

Description Martin Zahnd 2017-01-01 09:54:24 UTC
picture name with alphabetic character are missmathched, in Dolphin looks fine, not so in Digikam.
Example order in Dolphin:
IMGP8093.jpg; IMGP8094.jpg; IMGP8094b.jpg; IMGP8094b2.jpg; IMGP8095.jpg
Same in Digikam is:
IMGP8093.jpg; IMGP8094b2.jpg; IMGP8094b.jpg; IMGP8094.jpg; IMGP8095.jpg
Comment 1 caulier.gilles 2017-01-01 10:00:32 UTC
Hi Martin,

First Happy new year.

Second : please check if Universal Linux AppImage bundle of digiKam 5.4.0 pre-release has the same problem. It's here to download :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 2 Maik Qualmann 2017-01-01 10:06:24 UTC
You can enable or disable natural sort order in the setup.

Maik
Comment 3 Martin Zahnd 2017-01-02 10:38:56 UTC
Hi Gilles
happy New year to you too.

natural sort enable also not help, thanks to Maik.
I installed Digikam 5.4 on windows to test it, same problem.

But how is it on your Digikam? Yust remane some picture like my examples?

LG Martin

PS Exif2 has still errors, still temp files, but they are coming only when write the tag (Stichwort) in the exif file.
Comment 4 Maik Qualmann 2017-01-02 21:19:17 UTC
Git commit e447c19c861dcc7bb65fcc61d3f7b7203951816a by Maik Qualmann.
Committed on 02/01/2017 at 21:18.
Pushed by mqualmann into branch 'master'.

fix natural sort order and add special case for versioning images if sort after filename selected
FIXED-IN: 5.4.0

M  +2    -1    NEWS
M  +1    -1    libs/models/albumfiltermodel.cpp
M  +5    -1    libs/models/imagesortsettings.cpp
M  +3    -2    libs/models/imagesortsettings.h
M  +1    -1    showfoto/thumbbar/showfotoitemsortsettings.h
M  +5    -1    utilities/importui/models/camitemsortsettings.cpp
M  +3    -2    utilities/importui/models/camitemsortsettings.h

https://commits.kde.org/digikam/e447c19c861dcc7bb65fcc61d3f7b7203951816a