Bug 437249

Summary: Users KCM fails to change the avatar of two user accounts at once
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_usersAssignee: Janet Blackquill <uhhadd>
Status: CONFIRMED ---    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR Keywords: usability
Version First Reported In: 5.25.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2021-05-17 13:25:27 UTC
SUMMARY 
Reproducible on both Arch Linux (Plasma 5.22 beta) and neon unstable.

STEPS TO REPRODUCE
1. have two user accounts on your system. Let's call them userA and userB.
2. start Plasma with userA.
3. open System Settings > Users.
4. choose another avatar from gallery or from file system for current user (userA)
but do NOT apply the change yet.
5. select userB (notice that "Apply" button became greyed out) and choose another avatar from gallery or from file system for it too.
6. click on "Apply" button and enter your password to confirm the changes (notice that the avatar
of each user account was updated in users list).
7. go to another KCM and go back to Users KCM.

OBSERVED RESULT
current user account (userA) no longer has the avatar chosen in the step 4. After logout we can confirm in SDDM that the avatar of userA was not changed. Avatar of userB was changed as expected.

EXPECTED RESULT
all the changes done in the steps above should be applied

Operating System: Arch Linux
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 1 Patrick Silva 2021-05-17 13:36:06 UTC
humm, thinking beter, I think that the expected behavior is discarding changes done in userA
when we select userB in the step 5. This is what happens when I apply the changes if I change 
another parameter (account name or account type) in the step 4 instead of changing the avatar.