Skip to content

Windows Theme Switcher v2.0.1

Choose a tag to compare

@DashAkoul DashAkoul released this 26 Oct 10:01
· 17 commits to main since this release

v2.0.1 — popup reliability fix

Fixed: the popup could disappear the instant it opened

Windows sends a Focused(false) event right after a window is shown, while it is still becoming foreground. The handler hid the panel immediately, so clicking the tray icon looked like it did nothing. Focus loss within 700 ms of showing the panel is now ignored (and logged).

Fixed: closing with ✕ kept the memory

The ✕ button hid the panel but never armed the idle timer, so the WebView2 footprint (~450 MB) stayed resident. Hiding now schedules the release as well, and a guard prevents piling up timers.

Tighter panel

Height 246 → 232 px: the footer had ~44 px of dead space and still fits a two-line error message.

Verified on the release binary

  • real mouse clicks on the panel switched Windows light → dark → light, apply time 0–2 ms
  • panel opens in ~0.8 s and stays open; logs ignoring early focus loss (26ms after show)
  • idle footprint 13 MB with zero WebView2 processes

Docs: docs/TESTING.md rewritten for v2, docs/ARCHITECTURE.md corrected (CSP location, inline errors, silent update check, no Mica).