PawCorp / walltaker-desktop-client

Desktop client for Walltaker powered by golang
13 stars 10 forks source link

[Bug] Windows wallpaper does not change after initial set #12

Closed oddpawsx closed 2 years ago

oddpawsx commented 2 years ago

Client detects wallpaper change, sets to blank per macOS bug fix, then attempts to set from URL. The file in %temp% is the new image, but Windows not not use it -- instead, the previous wallpaper is maintained after returning from the black/empty wallpaper.

oddpawsx commented 2 years ago

User reported screenshots of wallpaper not appearing to change but would change in areas where icons were hovered over or selected. image image

oddpawsx commented 2 years ago

May need to have a check for Windows-specific systems and if running on WIndows, remove files from %appdata%\Microsoft\Windows\Themes:

Looks to be an issue with Windows caching the old wallpaper and using the cached version rather than the new file when wallpaper is set to new image. Manually removing these files and then having a new image come in successfully set my wallpaper when testing on my machine, so this might just be the way to go. Pending a little more research.