[Digikam-devel] [digikam] [Bug 331597] Tags are not sorted in UI

Michal Sylwester msylwester at gmail.com
Fri May 2 02:58:42 BST 2014


https://bugs.kde.org/show_bug.cgi?id=331597

--- Comment #6 from Michal Sylwester <msylwester at gmail.com> ---
I think I found the root cause. Between beta2 and beta3 there was some code
which seems to be preparation to add album sorting by date (which seems to have
not been finished). It always assumed that it's sorting albums even though it
was in a class which was also used for tag models. 
As it looked for an album based on it's ID it was possible (especially for
small collections) that there will be no album/tag id clash (id not matching
any album would cause it to default to default sort order), and it worked fine.
With larger collection it would make a walkaround: take tag ids, find matching
albums, and sort according to album names...

As it seems that the date-based sort is not used anywhere, I made a patch that
reverses these changes, seems to work fine for me (also fixes the years, I
missed it before)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list