Bug 389878 - User Manager does not apply an avatar from the gallery while creates a user account
Summary: User Manager does not apply an avatar from the gallery while creates a user a...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (show other bugs)
Version: 5.16.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-04 15:03 UTC by Patrick Silva
Modified: 2020-05-21 23:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20


Attachments
screenshot showing avatars of kickoff and user manager (395.23 KB, image/png)
2019-06-26 16:15 UTC, Patrick Silva
Details
SDDM, screen locker and logout screen show the same avatar shown in this screenshot (351.59 KB, image/png)
2019-06-26 16:17 UTC, Patrick Silva
Details
empty button to set avatar immediately after user account creation (1.22 MB, video/webm)
2020-02-24 18:34 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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.