[Digikam-devel] [digikam] [Bug 334633] New: Album metadata sorted in non-deterministic way in some cases
Michal Sylwester
msylwester at gmail.com
Mon May 12 03:52:08 BST 2014
https://bugs.kde.org/show_bug.cgi?id=334633
Bug ID: 334633
Summary: Album metadata sorted in non-deterministic way in some
cases
Classification: Unclassified
Product: digikam
Version: 4.0.0
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: Metadata
Assignee: digikam-devel at kde.org
Reporter: msylwester at gmail.com
When sorting by metadata it is likely that several albums will have exactly
same sorting key (came category or same date). In such case order of such
albums is random and changes on every re-sort.
Reproducible: Always
Steps to Reproduce:
1. Sort albums by metadata (category or date)
2. Make sure there are at least 2 albums with same category/date that are
siblings in album tree
3. Expand/collapse a album tree branch to trigger re-sort
Actual Results:
Albums jump around more or less randomly
Expected Results:
Albums stay in-place with the branch expanded/collapsed
I think it is necessary to add additional sorting key in case of primary key
conflict. Sorting by album name is deterministic as duplicate names are not
allowed, not so with metadata.
My suggestion: make "sort by category/date" mean "sort by category/date, then
by album name".
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list