Skip to content

Fix wallpaper reapplication issue after recent update#28

Merged
rvanbaalen merged 1 commit intomainfrom
claude/fix-wallpaper-reapplication-Ca6bg
Dec 21, 2025
Merged

Fix wallpaper reapplication issue after recent update#28
rvanbaalen merged 1 commit intomainfrom
claude/fix-wallpaper-reapplication-Ca6bg

Conversation

@rvanbaalen
Copy link
Collaborator

macOS caches wallpaper URLs, so calling setDesktopImageURL() with the same URL twice (even with different file contents) is ignored by macOS.

This fix adds a millisecond timestamp to wallpaper filenames, ensuring each application creates a unique URL that forces macOS to reload. Old wallpaper files are cleaned up to prevent disk bloat.

Fixes regression introduced in v1.2.3 where deterministic filenames prevented users from reapplying wallpapers without manually changing the desktop wallpaper first.

macOS caches wallpaper URLs, so calling setDesktopImageURL() with the
same URL twice (even with different file contents) is ignored by macOS.

This fix adds a millisecond timestamp to wallpaper filenames, ensuring
each application creates a unique URL that forces macOS to reload.
Old wallpaper files are cleaned up to prevent disk bloat.

Fixes regression introduced in v1.2.3 where deterministic filenames
prevented users from reapplying wallpapers without manually changing
the desktop wallpaper first.
@rvanbaalen rvanbaalen merged commit f76ddaf into main Dec 21, 2025
@rvanbaalen rvanbaalen deleted the claude/fix-wallpaper-reapplication-Ca6bg branch December 21, 2025 18:30
rvanbaalen pushed a commit that referenced this pull request Dec 21, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.2.4](v1.2.3...v1.2.4)
(2025-12-21)


### Bug Fixes

* wallpaper reapplication issue after recent update
([#28](#28))
([f76ddaf](f76ddaf))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants