Repository navigation
Windows Theme Switcher v1.0.1
v1.0.1 — performance and stability
Fixed: hangs / "Not Responding"
- The
WM_SETTINGCHANGEbroadcast is now fire-and-forget on a worker thread. Broadcasting to every top-level window could stall a theme switch for 25-50 seconds — and because a tray click runs on the UI thread, the whole window froze. Measured: 25s -> 0.43s. - Overlapping applies (double-clicking the tray icon) are coalesced into one.
Fixed: memory usage (441 MB -> 15-30 MB when idle)
- The UI window is created only when you open it and is destroyed when you close it, releasing the entire WebView2 footprint (6 helper processes). The tray keeps running at ~15 MB.
- The tray menu is rebuilt only when something it displays actually changes.
- External theme changes are ignored unless the theme really changed.
Fixed: language switching
- The i18n provider froze the language at its first value, so switching only flipped the text direction. Strings now update immediately (English / فارسی).
Fixed: error spam
- Typing a partial hex color no longer triggers a backend validation error on every keystroke.
- A failed registry read no longer breaks the whole UI.
- Save/Apply disabled while the profile name is empty.
Upgrade in place: run the installer, or let the built-in updater fetch it.