Bug 416371 - 7.0.0-beta bug in Album tree view sorting order
Summary: 7.0.0-beta bug in Album tree view sorting order
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-TreeView (show other bugs)
Version: 7.0.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-17 09:17 UTC by hmueller
Modified: 2020-01-18 20:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0
Sentry Crash Report:


Attachments
Screenshot of Treeview (60.26 KB, image/png)
2020-01-17 09:17 UTC, hmueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hmueller 2020-01-17 09:17:41 UTC
Created attachment 125193 [details]
Screenshot of Treeview

SUMMARY
The first two entries in the Albums tree view are not in order since release 7.0.0-betaX (see attachment). Tested with 6.4.0 and the order is correct again.

SOFTWARE/OS VERSIONS
macOS: 10.15.2 (Catalina)
Comment 1 caulier.gilles 2020-01-17 13:02:48 UTC
Check this option :

https://i.imgur.com/e6TC4VS.png

Gilles Caulier
Comment 2 hmueller 2020-01-17 14:00:35 UTC
Hi Gilles,

the sort option for Albums is set to "by Folder". If I choose "by Date" these two Albums still stay at the top.

Best Regards Holger
Comment 3 Maik Qualmann 2020-01-17 16:12:14 UTC
The problem is clear, it has been introduced by an amendment that causes unknown and unconfirmed faces to be at the top of the list. The two albums have the same ID as the tags. We have to check if it's a tag album. I fix it.

Maik
Comment 4 Maik Qualmann 2020-01-17 22:24:27 UTC
Git commit eebc58c6a0a8e864a6d3078dfc0fe693e9d6cd6d by Maik Qualmann.
Committed on 17/01/2020 at 22:23.
Pushed by mqualmann into branch 'master'.

fix album sorting order
FIXED-IN: 7.0.0

M  +2    -1    NEWS
M  +13   -10   core/libs/models/albumfiltermodel.cpp

https://invent.kde.org/kde/digikam/commit/eebc58c6a0a8e864a6d3078dfc0fe693e9d6cd6d
Comment 5 hmueller 2020-01-18 19:13:36 UTC
@Maik: Tx for the patch. It works and solves the problem.
Best regards Holger
Comment 6 Maik Qualmann 2020-01-18 20:49:19 UTC
Thanks for the feedback.

Maik