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

--- Comment #3 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit b344bc2e3468c24124aa83f11b3b2498a882a40f by David Edmundson.
Committed on 12/02/2019 at 12:55.
Pushed by davidedmundson into branch 'master'.

Use natural sorting in ActivityModel

Summary:
ActivityModel sorts internally.
It currently does a non-locale or number aware sort on user-facing
strings.

This patches uses QCollator.

This changes the order in the KCM.

It doesn't affect the order in the activity switcher as that has it's
own sorting proxy on top handling last used time.

It doesn't quite fix the issue in the bug report as PagerModel mixes
sources.

Test Plan:
Set activities named
"10.asdf"
"1.foo"
"2.bar"

KCM now shows them in the order 1,2,10

Reviewers: #plasma

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D18957

M  +9    -6    src/imports/activitymodel.h
M  +10   -6    src/lib/activitiesmodel_p.h

https://commits.kde.org/kactivities/b344bc2e3468c24124aa83f11b3b2498a882a40f

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

Reply via email to