Bug 475003 - Slideshow wallpaper: "ReferenceError: wallpaper is not defined"
Summary: Slideshow wallpaper: "ReferenceError: wallpaper is not defined"
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (other bugs)
Version First Reported In: 5.27.8
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-09-28 21:54 UTC by Nate Graham
Modified: 2023-10-19 02:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2023-09-28 21:54:31 UTC
~/kde/usr/lib64/libexec/kscreenlocker_greet --testing --theme ~/kde/src/plasma-workspace/lookandfeel
file:///home/nate/kde/usr6/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:70: ReferenceError: wallpaper is not defined
kscreenlocker_greet: Failed to load lockscreen QML, falling back to built-in locker


Thankfully the fallback theme works.
Comment 1 David Redondo 2023-10-11 07:40:54 UTC
I see the same error but it still works for without fallback

I think you are launching it wrong, "lookandfeel" is not a valid lookandfeel

if you want to test the specific theme from your source folder 

 bin/kscreenlocker_greet --testing --theme ~/kde/src/plasma-workspace/lookandfeel/org.kde.breeze

seems to work
Comment 2 Nate Graham 2023-10-11 13:56:16 UTC
I was indeed, but I found that myself intependently and fixed it yesterday. The error is still visible:

$  ~/kde/usr/lib64/libexec/kscreenlocker_greet --testing --theme ~/kde/src/plasma-workspace/lookandfeel/org.kde.breeze
file:///home/nate/kde/usr6/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:70: ReferenceError: wallpaper is not defined
kf.kirigami: Failed to find a Kirigami platform plugin
Locked at 1697031936
Failed to find shader "/home/nate/kde/src/plasma-workspace/lookandfeel/org.kde.breeze/contents/components/UserDelegate.frag.qsb"
ShaderEffect: Failed to deserialize QShader from /home/nate/kde/src/plasma-workspace/lookandfeel/org.kde.breeze/contents/components/UserDelegate.frag.qsb. Either the filename is incorrect, or it is not a valid .qsb file. In Qt 6 shaders must be preprocessed using the Qt Shader Tools infrastructure. The vertexShader and fragmentShader properties are now URLs that are expected to point to .qsb files generated by the qsb tool. See https://doc.qt.io/qt-6/qtshadertools-index.html for more information.
ShaderEffect: shader preparation failed for file:///home/nate/kde/src/plasma-workspace/lookandfeel/org.kde.breeze/contents/components/UserDelegate.frag.qsb


Failed to find shader "/home/nate/kde/src/plasma-workspace/lookandfeel/org.kde.breeze/contents/components/WallpaperFader.frag.qsb"
ShaderEffect: Failed to deserialize QShader from /home/nate/kde/src/plasma-workspace/lookandfeel/org.kde.breeze/contents/components/WallpaperFader.frag.qsb. Either the filename is incorrect, or it is not a valid .qsb file. In Qt 6 shaders must be preprocessed using the Qt Shader Tools infrastructure. The vertexShader and fragmentShader properties are now URLs that are expected to point to .qsb files generated by the qsb tool. See https://doc.qt.io/qt-6/qtshadertools-index.html for more information.
ShaderEffect: shader preparation failed for file:///home/nate/kde/src/plasma-workspace/lookandfeel/org.kde.breeze/contents/components/WallpaperFader.frag.qsb
Comment 3 Nate Graham 2023-10-11 13:56:26 UTC
However this is fixed by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3388.