Bug 476703 - User/profile picture no longer appears in the lock screen
Summary: User/profile picture no longer appears in the lock screen
Status: RESOLVED FIXED
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: git-master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2023-11-08 06:47 UTC by Prajna Sariputra
Modified: 2023-11-08 14:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prajna Sariputra 2023-11-08 06:47:38 UTC
SUMMARY
Just recompiled Plasma 6 a couple of hours or so ago, and my user/profile picture no longer appears in the lock screen, instead the generic user icon is shown. It still shows up fine in SDDM (from the Arch repos), Kickoff, the logout screen as well as the Users KCM.

I see this error message in the logs:

> qrc:/org/kde/breeze/components/UserDelegate.qml:70:9: QML QQuickImage: Cannot open: qrc:/var/lib/AccountsService/icons/m7

Changing that QML file so it adds the "file://" prefix fixes the lock screen, but naturally breaks the logout screen instead.


STEPS TO REPRODUCE
1. Compile and run a Plasma 6 session
2. Set a user/profile picture (if one isn't already set)
3. Lock the screen
4. Move the mouse

OBSERVED RESULT
The user/profile picture shown is just the generic user icon.

EXPECTED RESULT
The selected user/profile picture from step 2 should be shown.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.5.9-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics
Memory: 30.6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 1 Bug Janitor Service 2023-11-08 09:45:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3496
Comment 2 Nicolas Fella 2023-11-08 10:14:14 UTC
Git commit c8fe7f82bd7bf480ed569108252dd53375a64dfa by Nicolas Fella, on behalf of Bharadwaj Raju.
Committed on 08/11/2023 at 11:03.
Pushed by nicolasfella into branch 'master'.

Add file:// protocol to user image path received from kscreenlocker

M  +1    -1    lookandfeel/org.kde.breeze/contents/lockscreen/LockScreenUi.qml

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