Bug 188051

Summary: sort order of filenames in camera - no way to set or choose
Product: [Applications] digikam Reporter: Joe Ogulin <kiltedknight>
Component: Import-SortAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Unspecified   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Joe Ogulin 2009-03-25 05:54:39 UTC
Version:           0.10.0-0.16.rc1.fc10 (using KDE 4.2.1)
Installed from:    Fedora RPMs

The default sort order of the listed pictures in a camera is now the most recent first.  This is bad for the following reasons:

1) It's immutable
2) If you have duplicate filenames that you are downloading into an album, it can take a long time before you hit the first potential duplicate filename... a situation that will happen if you want to download images from multiple memory cards

Can you please put in an option to allow for a sort order?  This change was a surprise to me and is making me pull out what little hair I have left because of item 2 in my list of bad reasons for doing this.  I recently photographed an event and used two separate cards... and several photos ended up with identical filenames (Nikon D80).  When I try to import them into the same album, I start with the first card and get pictures DSC_0001.JPG through DSC_0301.JPG.  When I switch to the second card, I have to download DSC_0110.JPG through DSC_0433.JPG.  Because of this new sort order, it's a long time before I get to the duplicate filenames.
Comment 1 caulier.gilles 2009-05-13 13:28:52 UTC
Hum,

I have fixed code relevant to sort items by date. Please try again using code from svn trunk (0.11.0)

Gilles Caulier
Comment 2 caulier.gilles 2009-06-11 08:54:49 UTC
1.0.0-beta1 release is out now. Please try again...

Gilles Caulier
Comment 3 caulier.gilles 2009-06-11 13:22:42 UTC
SVN commit 980179 by cgilles:

apply patch from Simone Lazzaris to change sort of camera icon view item : in chronological order or not.
Factorize code.
Bug fix : there is a race condition between camera gui and camera controler when thumbnails are processed:
camera controller switch randomly between busy state or not when camera gui fill the list of item thumbs to get one by one.
A new method fill all thumbs to get in a first time : camera controler will be still busy during this task.
BUGS: 193124
BUGS: 188051


 M  +36 -4     cameracontroller.cpp  
 M  +6 -2      cameracontroller.h  
 M  +2 -2      cameraiconview.cpp  
 M  +61 -10    cameraui.cpp  
 M  +5 -1      cameraui.h  
 M  +3 -1      cameraui.rc  
 M  +2 -0      cameraui_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=980179