Skip to content

[Issue-202] fix(hotkeys): stop opacity gestures during X and window hole - #206

Merged
CYoJkoY merged 1 commit into
mainfrom
issue-202-window-hole-opacity
Nov 8, 2026
Merged

CYoJkoY merged 1 commit into
mainfrom
issue-202-window-hole-opacity

Conversation

@CYoJkoY

@CYoJkoY CYoJkoY commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Linked Issue

Follow-up to #202 and merged #203: stop mouse opacity gestures while physical X is held or Window Hole is active. The reported hole-first click failure remains unverified with physical input.

  • Stacked Branch Dependencies: None (Directly branched from main)

Change summary

Staged breakdown of all diffs against main by commit:

  • b8b0478: Share the active-hole and physical-X predicate across left, right, and middle mouse opacity bindings; stop left/right repeating adjustments when the predicate becomes false; extend regression checks and document recovery conditions.
  • Behavioral Guarantees: Existing configuration keys, defaults, APIs, opacity increments, ghost mode behavior outside the guard, and keyboard window shortcuts are preserved. No changes to window regions, hit testing, DWM, or responsive DOM layouts.

Verification & Dependencies

  • Status of Assertions:
    • Command-line checks: DLL path scan (82 AHK files), AHK 2.0.31 syntax validation, HotkeyRegression (274 checks, 0 failures), HistoryGuiPaging, and git diff --check all PASS.
    • Runtime & Visual assertions: Boundary-stubbed AHK probes execute extracted handlers. Baseline permits X and continues both repeat loops after X/hole transitions; changed handlers deny X/hole before profile evaluation, stop both loops at the next iteration, and permit gestures after restoration. These are state simulations, not physical mouse integration tests.
    • Unverified external facts: Physical hold/toggle single-click, double-click, right-click, middle-click passthrough, existing-opacity preservation, outside-hole clicks, gesture-first cancellation, and post-hole shortcut recovery remain unverified. Synthetic input did not reliably register physical key state. The original hole-first symptom was not reproduced reliably.
  • Dependency Pinning:
    • No dependency or toolchain changes. Local validation used exact AutoHotkey 2.0.31.

Review conclusion

Evaluation across the four engineering dimensions:

  • Correctness & Regression: FAIL (Static checks and state simulation pass; physical input acceptance remains outstanding.)
  • Performance Gain: Pending verification (Short-circuit checks avoid application profile evaluation while X/hole blocks gestures; no measured runtime performance claim.)
  • Compatibility & Architecture: PASS (Native AHK only; shared hotkey predicate; no configuration or core window-hole changes.)
  • Readability & Commit Completeness: PASS (One scoped Conventional Commit, ASCII metadata, implementation, documentation, and regression checks.)

Overall Verdict: FAIL
Blocking issues:

  1. Complete physical mouse input acceptance in hold and toggle modes before claiming the reported behavior is fixed.
    Active iteration: Round 1 of 5

Permission Notice

AI has completed staged development and review loops. Merging is an exclusive user privilege. Awaiting manual merge.

Share the physical X and active hole guard across mouse opacity hotkeys and repeating adjustments. Check these states before evaluating the foreground application profile.

Validate AHK syntax, DLL paths, 274 hotkey checks, history paging, and diff whitespace. Boundary-stubbed AHK probes confirm repeat cancellation and guard restoration; physical mouse passthrough in hold and toggle modes remains unverified.
@CYoJkoY
CYoJkoY marked this pull request as ready for review November 8, 2026 16:53
@CYoJkoY
CYoJkoY merged commit 255e104 into main Nov 8, 2026
1 check passed
@CYoJkoY
CYoJkoY deleted the issue-202-window-hole-opacity branch November 8, 2026 16:54
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