SUMMARY *** In a self-made "global theme" plasma reverts to the default background image. *** STEPS TO REPRODUCE 1. Create a plasma global theme 2. apply it. OBSERVED RESULT wallpaper reverts to plasma default EXPECTED RESULT desired wallpaper is used SOFTWARE/OS VERSIONS Operating System: KDE neon 5.27 KDE Plasma Version: 5.27.0 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 5.19.0-32-generic (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Celeron® J4105 CPU @ 1.50GHz Memory: 7.4 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 600 ADDITIONAL INFORMATION The file org.kde.plasma.desktop-layout.js of the global theme used to contain: }, "/Wallpaper/org.kde.image/General": { "Image": "/home/pieter/.local/share/wallpapers/DSCF5636.webp", "SlidePaths": "/home/pieter/.local/share/wallpapers,/usr/share/wallpapers" } }, "wallpaperPlugin": "org.kde.image" But now it reads: }, "/Wallpaper/org.kde.image/General": { "Image": "/home/pieter/.local/share/wallpapers/DSCF5636.webp", "PreviewImage": "", "SlidePaths": "/home/pieter/.local/share/wallpapers,/usr/share/wallpapers" } }, "wallpaperPlugin": "org.kde.image" And it seems to me that this ""PreviewImage": ""," makes the background-image not work.
I support this. We have identified the same issue since 5.27 has been released, although it was not present in kde-git before 5.27.
The scripting we are using is: var allDesktops = desktops(); print (allDesktops); for (i=0;i<allDesktops.length;i++) {{ d = allDesktops[i]; d.wallpaperPlugin = "org.kde.image"; d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General"); d.writeConfig("Image", "file:///usr/share/wallpapers/garuda-wallpapers/Malefor.jpg") }}