Version: 2.0.0 (using Devel) OS: Linux Setting "settings" -> "configure digikam" -> "miscellaneous" -> "string comprison type" to "normal" is ignored in picture thumbnail-view. I'm using digikam-2.0.0_beta6 with KDE-4.6.80-r1. Reproducible: Always Steps to Reproduce: <maybe optional> 1. start digikam with new profile Setting: - RAW: open directly - Metadata: add info to file - preview: load reduced - rightclick-action: open a preview - use tooltips </maybe optional> 2. add three photos: - 12img.jpg - 3img.jpg - 4img.jpg 3. add three albums: - 1a - 23b - 4c 4. verify "settings" -> "configure digikam" -> "miscellaneous" -> "string comprison type" to "natural" (should be default) 5. albums get sorted: - 1a - 4c - 23b => OK 6. pictures get sorted: - 3img.jpg - 4img.jpg - 12img.jpg => OK 7. change "settings" -> "configure digikam" -> "miscellaneous" -> "string comprison type" to "normal" 8. albums get sorted: - 1a - 23b - 4c => OK Actual Results: pictures get sorted: - 3img.jpg - 4img.jpg - 12img.jpg Expected Results: pictures get sorted: - 12img.jpg - 3img.jpg - 4img.jpg The following bugs seem to be the "historical background" of "natural sorting" and have been found during "is the bug already filed?": - Bug #158868 - Bug #227905
As you observed corretly, natural ordering is always used. I didnt know there is something to adjust in the settings, and it seems to me like an option which we really dont need?
(In reply to comment #1) > As you observed corretly, natural ordering is always used. I didnt know there > is something to adjust in the settings, and it seems to me like an option which > we really dont need? The discussion in bug #227905 ended with the agreement to create this setting. So I would say: thumbnail view should respect this setting. I personally don't like "natural string comparison". My picture numbers are prefixed with zeros (e.g. MyPic00051.jpg). But that is a personal opinion.
Peter, It still valid with digiKam 2.4 ? Gilles Caulier
Hi Gilles, yes, this bug is still valid with digiKam 2.4.1 and KDE 4.7.3. Peter Albrecht
Peter, What's about this file with digiKam 3.5.0 ? Gilles Caulier
Gilles, at the moment, I still use digikam 3.1.0. But I plan to switch to 3.5.0 at mid december. Than I will test this bug again. Regards, Peter
And with 3.1.0, problem still here ? Gilles Caulier
Sorry, but bug is still present in digikam 3.5.0 and 4.10.5: "string comprison type = normal" is ignored in picture thumbnail-view. Behaviour still exactly as described in comment #0. (Step 1 can be omitted.)
Maik, Another entry where we can study a patch. This touch Image Lister if i remember. Gilles
Git commit b8566dc4928aa686822c73e3d5fedac5c91a80f5 by Maik Qualmann. Committed on 20/02/2016 at 23:47. Pushed by mqualmann into branch 'master'. fix string comparison type in the icon views FIXED-IN: 5.0.0 M +2 -1 NEWS M +2 -0 app/items/digikamimageview.cpp M +2 -1 libs/models/imagealbumfiltermodel.cpp M +7 -0 libs/models/imagefiltermodel.cpp M +1 -0 libs/models/imagefiltermodel.h M +10 -4 libs/models/imagesortsettings.cpp M +4 -2 libs/models/imagesortsettings.h M +2 -0 utilities/importui/main/importui.cpp M +11 -5 utilities/importui/models/camitemsortsettings.cpp M +4 -2 utilities/importui/models/camitemsortsettings.h M +7 -0 utilities/importui/models/importfiltermodel.cpp M +1 -0 utilities/importui/models/importfiltermodel.h http://commits.kde.org/digikam/b8566dc4928aa686822c73e3d5fedac5c91a80f5