Bug 476703

Summary: User/profile picture no longer appears in the lock screen
Product: [Unmaintained] kscreenlocker Reporter: Prajna Sariputra <putr4.s>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR Keywords: qt6, regression
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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