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

--- Comment #5 from Johannes Zarl-Zierl <johan...@zarl-zierl.at> ---
Git commit 7c4b288689dfcb4a1aaba556f8eea211eb0f1380 by Johannes Zarl-Zierl.
Committed on 05/11/2023 at 00:16.
Pushed by johanneszarl into branch 'master'.

Fix sort order on overview page.

Similar to bug #476504, with natural sort order, non-category items on
the browser overview page, like "Show Thumbnails" and others, would be
sorted alongside category items.
These entries should be sorted after categories.

Expanding on the ideal laid out in
7452e018361908b6f6b6146a8dd8de75461346ce, use a SortPriorityRole to sort
these entries in a stable and (hopefully) intuitive way:

1. Categories
2. search, geo position and exiv info (sorted according to localized name)
3. Untagged images
4. "Show Thumbnails"

M  +7    -2    Browser/AbstractCategoryModel.cpp
M  +22   -5    Browser/OverviewPage.cpp
M  +5    -5    Browser/TreeFilter.cpp
M  +1    -2    Browser/enums.h

https://invent.kde.org/graphics/kphotoalbum/-/commit/7c4b288689dfcb4a1aaba556f8eea211eb0f1380

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to