Bug 479929 - The preview for avatars with a changeable background does not work properly
Summary: The preview for avatars with a changeable background does not work properly
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-17 04:42 UTC by Robert
Modified: 2024-02-23 13:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot 1 (240.55 KB, image/png)
2024-01-17 04:42 UTC, Robert
Details
Screenshot 2 (236.90 KB, image/png)
2024-01-17 04:42 UTC, Robert
Details
Screenshot 3 (235.73 KB, image/png)
2024-01-17 04:43 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2024-01-17 04:42:35 UTC
Created attachment 164967 [details]
Screenshot 1

SUMMARY
If you have selected an avatar it should appear in the preview, instead the placeholder letter always appears. [Screenshot 1] When you click on apply, the avatar is displayed in the preview, although it is displayed in a very square circle, but is also not updated correctly in the user list. [Screenshot 2] Only when you reopen the user settings is everything updated, the square circle remains. [Screenshot 3]

STEPS TO REPRODUCE
1. Open System Settings
2. Go to the Users tab
3. Click Change Avatar
4. Click on the letter or the basic avatar
5. Choose a colour

OBSERVED RESULT
See summary

EXPECTED RESULT
Same behavior as with image-based avatars

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Kernel Version: 6.5.0-14-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Robert 2024-01-17 04:42:49 UTC
Created attachment 164968 [details]
Screenshot 2
Comment 2 Robert 2024-01-17 04:43:00 UTC
Created attachment 164969 [details]
Screenshot 3
Comment 3 Nate Graham 2024-02-22 19:50:30 UTC
Can reproduce with those steps.
Comment 4 Harald Sitter 2024-02-23 10:42:07 UTC
Git commit 230a5940bafaa4736cdf1ac9eff9e470b24760c7 by Harald Sitter.
Committed on 23/02/2024 at 10:29.
Pushed by sitter into branch 'master'.

kcms/users: make uri from path

in Qt6 we want proper URIs as paths get resolved to qrc:/ because of
changes in kirigami (? IIRC)

M  +6    -4    kcms/users/src/ui/PicturesSheet.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/230a5940bafaa4736cdf1ac9eff9e470b24760c7
Comment 5 Harald Sitter 2024-02-23 13:28:48 UTC
Git commit b009780c107d9282979ce9c86a899858b4bbb418 by Harald Sitter.
Committed on 23/02/2024 at 13:02.
Pushed by sitter into branch 'Plasma/6.0'.

kcms/users: make uri from path

in Qt6 we want proper URIs as paths get resolved to qrc:/ because of
changes in kirigami (? IIRC)
(cherry picked from commit 230a5940bafaa4736cdf1ac9eff9e470b24760c7)

M  +6    -4    kcms/users/src/ui/PicturesSheet.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/b009780c107d9282979ce9c86a899858b4bbb418