https://bugs.kde.org/show_bug.cgi?id=466354
Bug ID: 466354
Summary: After applying changes to user name, wrong row gets
selected in the list of users
Classification: Applications
Product: systemsettings
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: kcm_users
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
Applying changes forces model to reload, which also might shuffle users around.
But ListView does not account for such model changes and keeps old index
selection, or even switches to a pre-last one, if you modified the last user.
STEPS TO REPRODUCE
1. Open Users KCM
2. Change username of some user.
3. Apply.
OBSERVED RESULT
User page stays open, but in list view a different user is selected.
Renamed user moves to the bottom of the list. Selection either stays at the
same row index as before, or — if it was the last user in the list — moves to
the pre-last user.
EXPECTED RESULT
Selection should follow current user, even if renamed.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: git/master
KDE Frameworks Version: git/kf5
Qt Version: 5.15.8
Kernel Version: 6.1.12-arch1-1 (64-bit)
Graphics Platform: X11
--
You are receiving this mail because:
You are watching all bug changes.