Skip to content

fix: resume live wallpapers and simplify lifecycle code - #8

Merged
viralcodex merged 4 commits into
mainfrom
fix/wallpaper-resume-cleanup
Nov 30, 2026
Merged

viralcodex merged 4 commits into
mainfrom
fix/wallpaper-resume-cleanup

Conversation

@viralcodex

Copy link
Copy Markdown
Owner

Summary

  • Recover HTML and video wallpapers when OpenCode regains focus or visibility. HTML reloads to restart stopped animations; videos resume playback.
  • Keep sandbox restrictions and wallpaper selection intact. HTML simulation state resets on recovery, and uninterrupted focus events do not reload it.
  • Simplify thumbnail/cache ownership, header measurements, CSS and controls; consolidate overlapping tests and fix a catalog refresh-completion race.
  • Preserve the edited README. No behavior inventory, Rust, showcase artwork, captures or other untracked files are included.

Verification

  • Full bun run check passed with pinned Bun 1.4.4: typecheck, GUI build, 73 unit tests, native Node watcher, browser and package checks.
  • Browser checks passed 10 consecutive runs, covering focus-only, visibility-only and combined recovery, video resume, hidden-focus suppression, repeated focus and cleanup.
  • Verified the actual Koi Pond 0.2.0 HTML with a paused-animation fault injection: it stayed stopped before the fix and restarted/continued animating afterward.
  • Host-storage migration check passed against an OpenCode checkout.
  • Whitespace checks passed.

Installed Desktop/GPU-driver smoke testing remains manual.

@viralcodex
viralcodex merged commit e0e0708 into main Nov 30, 2026
3 checks passed
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.

1 participant