Skip to content

Stop controller lag + add protection-checker / Quick-Launch-only toggles - #10

Merged
MehdiMamas merged 6 commits into
mainfrom
hmw-lag-fix
Oct 18, 2026
Merged

MehdiMamas merged 6 commits into
mainfrom
hmw-lag-fix

Conversation

@MehdiMamas

@MehdiMamas MehdiMamas commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

No description provided.

- src-tauri/src/lib.rs: gate check_protection in Quick Launch pid loop,
  one-time release pass + idle skip for quickLaunchOnly, RuleStatus
  default substituted for status() while quickLaunchOnly is on
- hmw-core/tests/wow64.rs: fix apply() calls for new 4-arg signature
- hmw-core/src/config.rs: unit tests for both new field defaults
- Settings.svelte / Rules.svelte: toggles + paused notice, en.json strings
normal_gate.cpp: decide() can re-enter itself on the same thread when
GetWindowTextW synchronously dispatches WM_GETTEXT into the target
window's own proc, which can re-trigger the hook. A static thread_local
bytes buffer was shared across the nested call and could be cleared or
reallocated out from under the outer call's still-pending bytes.data()
pointer. Reverted to a plain local vector.

Settings.test.js: the base config fixture was missing
protectionChecker/quickLaunchOnly, so those fields were undefined when
bound to Toggle's bindable checked prop, failing Svelte 5's
props_invalid_value check in CI.
@MehdiMamas

Copy link
Copy Markdown
Owner Author

CI green at f016d78: https://github.com/MehdiMamas/HideMyWindows/actions/runs/39093861700. Left unmerged per the clean-sheet stop.

@MehdiMamas
MehdiMamas merged commit b8daa36 into main Oct 18, 2026
1 check passed
@MehdiMamas
MehdiMamas deleted the hmw-lag-fix branch October 18, 2026 13:50
@MehdiMamas MehdiMamas mentioned this pull request Nov 11, 2026
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