[PATCH] users kcm: Fix issue in sorting user list
authorSune Vuorela <sune@vuorela.dk>
Thu, 13 Feb 2025 19:28:40 +0000 (19:28 +0000)
committerAurélien COUDERC <coucouf@debian.org>
Mon, 21 Jul 2025 16:21:10 +0000 (18:21 +0200)
commitfd8ea12ef841e8847cfdf8186f3095a60d595cb4
tree6bede027cb317e8186def049194e2db71be0bb42
parent253e03ffcb69af2d6c05c888bac62a7e9bd15724
[PATCH] users kcm: Fix issue in sorting user list

If two users are logged in, the sorting order is not stable, both should be sorted before the other

Use partition instead of sorting, since we only care about having moved logged in users up front.

Found by: Kamil Kaznowski

Gbp-Pq: Name upstream_fbb2e6d3_users-kcm-Fix-issue-in-sorting-user-list.patch
kcms/users/src/usermodel.cpp