Skip to content

Settings: turn off the protection checker, and a Quick Launch-only mode #9

Closed

Description

@MehdiMamas

Why: Mehdi wants control over the background work that makes hidden apps lag (#7): "make it so that i can disable the checker, and allow me to only use quick launches if i want to".

Checklist

  • Setting Protection checker (default on). When it's off, the controller never calls `check_protection` (no periodic remote threads into hidden apps). Hiding inside the app still works through the payload's in-process worker.
  • Setting Quick Launch only (default off). When it's on, the window-rule watcher is fully idle: no window listing, no rule passes, no injection into apps that weren't started from Quick Launch. Quick Launch apps are still hidden at launch. The Rules UI shows that rules are paused.
  • Both are saved in config.json with serde defaults, so old configs load unchanged.
  • A Settings UI toggle for each, with a one-line explanation.
  • Tests for the config defaults and for the loop skipping the work.

Status: added to the #7 worker (hmw-lag-fix); it touches the same files.

Activity

  1. MehdiMamas commented on Oct 18, 2026

    @MehdiMamas
    OwnerAuthor

    State at stop (clean-sheet request): PR #10 (branch hmw-lag-fix, head f016d78) has the lag fix + the two toggles, rustfmt done, reentrancy fix in normal_gate.cpp. CI was running, not merged, not released. CPU before/after measurement not done yet.

  2. MehdiMamas commented on Oct 18, 2026

    @MehdiMamas
    OwnerAuthor

    Blocked-by #7: both edit the rule loop and config. Starts after the #7 PR is open.

  3. MehdiMamas commented on Oct 18, 2026

    @MehdiMamas
    OwnerAuthor

    Update: the toggles are already in PR #10 together with the #7 fix (same files), so this is no longer blocked separately. It closes with PR #10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaIdea or request raised in chat

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions