[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>
Tue, 20 May 2025 06:31:26 +0000 (08:31 +0200)
commit5de28b06b00af0ee546c5d9a5f6984f2c1c32ec1
tree8a70a70b2bea8a41cf71afeaea79d5785c3310f5
parent74994ffd89ab955210642b765ec66ca35114f3aa
[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