Zren / plasma-wallpapers

45 stars 8 forks source link

Animated hue: Lock screen does not show animated hue, only black empty background #16

Open nekromoff opened 2 years ago

nekromoff commented 2 years ago

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

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. 

See also https://bugs.kde.org/show_bug.cgi?id=456514

nekromoff commented 2 years ago

As a temporary workaround you can copy (using sudo) the file over from: /usr/share/wallpapers/Next/contents/images/5120x2880.jpg to: /usr/share/wallpapers/SafeLanding/contents/images/5120x2880.jpg

However, as mentioned by the upstream developer, hardcoding these values is a sloppy practice that should be resolved.