Bug 456514

Summary: Lock screen does not show animated hue, only black empty background
Product: [Plasma] plasmashell Reporter: Daniel Duris <kdebugs>
Component: Theme - BreezeAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate, visual-design
Priority: NOR    
Version First Reported In: 5.25.2   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: animated hue - background

Description Daniel Duris 2022-07-09 13:51:11 UTC
SUMMARY
Lock screen does not show animated hue, only black empty background


STEPS TO REPRODUCE
1. Have animated hue chosen, upgrade to the latest Neon
2. Black background on lock screen
3. CHoose different background, it works (hauenau, clouds...), change back, black screen again

OBSERVED RESULT
Black background

EXPECTED RESULT
ANimated hue

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.14.0-1044-oem (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-07-13 18:46:27 UTC
What is "animated hue"? A 3rd-party wallpaper plugin?
Comment 2 Daniel Duris 2022-07-13 19:55:08 UTC
Created attachment 150596 [details]
animated hue - background

I am not aware that this the third party plugin. It always comes with KDE / Plasma.
Comment 3 Nate Graham 2022-07-13 21:09:06 UTC
That's a 3rd-party plugin, yeah. I guess your distro ships it by default, or you installed it a long time ago and forgot about it. Does it work when used as a desktop wallpaper?
Comment 4 Daniel Duris 2022-07-14 08:05:32 UTC
I see. Yes, it works for the wallpaper.
Comment 5 Nate Graham 2022-07-14 15:08:15 UTC
Ok, so the plugin isn't completely broken.

Can you set it as your lock screen background and then run the screen locker in testing mode?

First open a Terminal window and run `find /usr -name kscreenlocker_greet` to find the full path to kscreenlocker_greet (it differs by system). Once you've found it, run it with the `--testing` argument. Then paste the terminal output into here as a new comment. Thanks!
Comment 6 Daniel Duris 2022-07-15 19:56:38 UTC
Locked at 1657914838
file:///home/[username]/.local/share/plasma/wallpapers/com.github.zren.animatedhue/contents/ui/HslShiftedImage.qml:15:5: QML Image: Cannot open: file:///usr/share/wallpapers/SafeLanding/contents/images/5120x2880.jpg
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool

I checked the path, there is no such image as there is no such path (./SafeLanding/contents/images/5120x2880.jpg)...
Comment 7 Nate Graham 2022-07-15 20:48:44 UTC
As I suspected, this is an error in the 3rd-party wallpaper plugin. That path no longer exists because Safe Landing was moved to being the default wallpaper in Plasma 5.25, so now it lives at:
/usr/share/wallpapers/Next/contents/images/5120x2880.jpg

In Plasma 5.26, it will go back to living at
/usr/share/wallpapers/SafeLanding/contents/images/5120x2880.jpg

Since clearly this path is volatile, it's not appropriate to use as as hardcoded value. I would recommend that you report the issue to the developer at https://github.com/Zren/plasma-wallpapers/issues
Comment 8 Daniel Duris 2022-07-15 22:19:08 UTC
Thank you for your patience and help! I am going to report it.
Comment 9 Nate Graham 2022-07-15 22:30:26 UTC
You're welcome!