Bug 389878

Summary: User Manager does not apply an avatar from the gallery while creates a user account
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_usersAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: filipfila.kde, nate
Priority: NOR    
Version: 5.16.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.20
Sentry Crash Report:
Attachments: screenshot showing avatars of kickoff and user manager
SDDM, screen locker and logout screen show the same avatar shown in this screenshot
empty button to set avatar immediately after user account creation

Description Patrick Silva 2018-02-04 15:03:33 UTC
testing plasma 5.12 beta on Arch...

By dafault user-manager set "user" avatar from gallery when a new user account is created.
This avatar is shown in user-manager and kickoff when you start plasma using the just created account.
But screnlocker and sddm login manager show a different avatar.
Comment 1 Filip Fila 2019-06-26 15:24:17 UTC
There was a change to the default user avatar, does this problem persist?
Comment 2 Patrick Silva 2019-06-26 16:14:32 UTC
yes, this bug persists. Login manager, screen locker and logout screen show a different avatar. See the attached screenshots please.
Comment 3 Patrick Silva 2019-06-26 16:15:54 UTC
Created attachment 121168 [details]
screenshot showing avatars of kickoff and user manager
Comment 4 Patrick Silva 2019-06-26 16:17:14 UTC
Created attachment 121169 [details]
SDDM, screen locker and logout screen show the same avatar shown in this screenshot

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.60.0
Qt Version: 5.12.3
Comment 5 Filip Fila 2019-06-26 16:21:09 UTC
Thanks for the screenshots.

I think it's the same icon though. It's just that we add a background to all of the avatars in sddm and the lock screen.
Comment 6 Nate Graham 2020-01-21 16:23:37 UTC
This was fixed recently.
Comment 7 Patrick Silva 2020-02-03 14:54:11 UTC
This bug is still happening on both Neon unstable edition and Arch Linux
when I try to create an user account with an avatar chosen from the gallery.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1

(In reply to Filip Fila from comment #5)
> Thanks for the screenshots.
> 
> I think it's the same icon though. It's just that we add a background to all
> of the avatars in sddm and the lock screen.

I think you are right. The default user avatar and avatars from the file system are now correctly applied to SDDM, kickoff, screenlocker and logout screen while User Manager creates a user account. But, as mentioned above, the same does not occur with the avatars from the gallery. SDDM, kickoff, screenlocker and logout screen do not show the avatar chosen from the gallery for a newly created user account. They show the default avatar instead.

Steps to reproduce:

1. open system settings > account details > user manager
2. click on "+" button on bottom
3. set an avatar from the gallery (I used avatars of dr. konqi)
4. type your user name and real name
5. type nothing in "Email address" field
6. set your password
7. check "Enable administrator privileges for this user"
8. leave "Log in automatically" unchecked
9. click on "Apply" button (Apparently the chosen user avatar was correctly applied. Both avatar button beside your user name and the user accounts list in the left side show it.)
10. do logout (notice that SDDM shows default user avatar instead of the avatar from the gallery that you selected before)
11. start Plasma with your new user account

Result: kickoff, screen locker and logout screen also show default user avatar instead of the avatar from the gallery that you selected before
Comment 8 Patrick Silva 2020-02-24 18:34:42 UTC
Created attachment 126384 [details]
empty button to set avatar immediately after user account creation

Button to set avatar is empty immediately after user account creation.
Such button shows default avatar after I select another user account in the user accounts list and then select the just created account.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.1
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 9 Nate Graham 2020-05-21 23:19:22 UTC
This is fixed in the Plasma 5.20 rewrite.