Bug 146618 - media viewer does not sort correctly
Summary: media viewer does not sort correctly
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Sort (show other bugs)
Version: 0.9.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-10 07:35 UTC by Takis Skagos
Modified: 2022-01-26 11:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Takis Skagos 2007-06-10 07:35:53 UTC
Version:           0.9.1 (using KDE KDE 3.5.6)
Installed from:    Fedora RPMs
OS:                Linux

It would appear that the media browser sorts files in alphabetical order on a per directory basis.  On my camera (flash card) there are files named img_*.jpg for images and mvi_*.avi for movies.  Because the files are sorted alphabetically, my pictures / videos do not appear in the correct order.  For example, if I have the following files:

img_001.jpg
img_002.jpg
mvi_003.avi
img_004.jpg
img_005.jpg

the media browser displays them in this order:

img_001.jpg
img_002.jpg
img_004.jpg
img_005.jpg
mvi_003.avi

Basically this makes me have to hunt for movies that correspond to the same "set" as my still images.

The problem is compounded because it does this on a per-directory basis.  If all my images were in one directory, it wouldn't be that big of a problem ... all my movies would be at the end.  But because this is done on a per-directory basis, depending on the number of directories on my flash card, I have mvi_* files scattered throughout the media browser display, not in chronological order.

It would be nice to have an option to sort files a specific way in the media browser, or to have them sorted chronologically by default.
Comment 1 Mikolaj Machowski 2007-07-02 18:15:49 UTC
Don't agree with specific sorting patterns. Too much hassle for feature used by very little group of users. Setting default sorting to chronological is IMO interesting proposition.
Comment 2 caulier.gilles 2008-12-04 16:22:31 UTC
I'm agree with Mik,

To be more precise, all more recent files must be listed on the top of items list, not at end. There is already an entry in bugzilla about this subject.

Gilles Caulier
Comment 3 caulier.gilles 2008-12-16 15:11:04 UTC
SVN commit 897651 by cgilles:

digiKam from trunk: Camera gui : sort all items by chronological order: more recent in first, older at last.
BUG: 146618


 M  +10 -2     cameraui.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=897651
Comment 4 caulier.gilles 2008-12-16 15:43:56 UTC
SVN commit 897661 by cgilles:

digiKam from KDE3 branch : backport commit #897651
BUGS: 146618


 M  +17 -3     cameraui.cpp  


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