Screenplay was working totally fine, but after I set a picture from Windows settings as wallpaper, I cannot set any wallpaper from Screenplay. Here’s the repeating error which is shown for every installed wallpaper (also I did mess up with the json files before so let me know if I should change the videoCodec value which is vp8 in some and vp9 in others (doesnt work if I change it to either)):
DEBUG CLEARED ###### Warning: Sat Sep 2 17:10:50 2023 No videoCodec was specified inside the json object!
Warning: Sat Sep 2 17:10:50 2023 Eyeball to VP8 because of .webm
Warning: Sat Sep 2 17:10:50 2023 No videoCodec was specified inside the json object!
Warning: Sat Sep 2 17:10:50 2023 Eyeball to h264 because of .mp4
Warning: Sat Sep 2 17:10:50 2023 No videoCodec was specified inside the json object!
Warning: Sat Sep 2 17:10:50 2023 Eyeball to VP8 because of .webm
Warning: Sat Sep 2 17:10:50 2023 No videoCodec was specified inside the json object!
Warning: Sat Sep 2 17:10:50 2023 Eyeball to VP8 because of .webm
Hi, thanks for reaching out. I’m currently away for the weekend so you will have to wait until tomorrow until I can help you properly. You are using the latest ScreenPlay version from steam and did try rebooting?
Info: Sun Sep 3 00:30:29 2023 ### Message from: “dayzc6Tq9DFQdqlU0ogyKkgiIQMROtV8” : "qrc:/qml/ScreenPlayWallpaper/qml/Wallpaper.qml:106: ReferenceError: desktopProperties is not defined\nFile: qrc:/qml/Scre
enPlayWallpaper/qml/Wallpaper.qml, \nin line 106, "
Windows version details:
Edition: Windows 11 Home Single Language
Version: 22H2
Installed on: 14-10-22
OS build: 22621.2215
Experience: Windows Feature Experience Pack 1000.22662.1000.0
All wallpapers I have downloaded from Steam Workshop and also one video wallpaper I made from my own source, none of them can be set as wallpapers and give similar error messages. I can only set wallpapers from windows settings with no problem for now.
@BruhOP5 thank you for reporting, I have managed to replicate the issue. Looks like one single code path (when setting the Windows background to tiled) resulted in a runtime programming error. I will push a fix and a new version ASAP. Thanks again
Thanks a lot, I updated but didn’t work I restarted my laptop, used the ‘Close All Content’ buttons and set a random wallpaper 3-4 times, and now it works alright + I can now run community wallpapers which I couldn’t previously. One little line can do a lot ig XD.
Just found a similar bug, Screenplay can’t set wallpaper for the first time (no wallpaper is set before changing Windows setting) if Windows background setting is center, but works for every other (Fill, Fit, Stretch, Tile, Span)
Huh sounds like another bug in the wallpaper transition logic. So how this works is that SP reads your current wallpaper and displays it to make a smooth transition. The problem is that how Windows displays the wallpaper with different modes and different monitor sizes and scaling is quite complicated so this could be another edge case. Will investigate after work, thanks for the port