Skip to content

Add optional auto selection after point scanning - #771

Merged
enaboapps merged 2 commits into
mainfrom
feature/auto-select-770
Sep 15, 2026
Merged

enaboapps merged 2 commits into
mainfrom
feature/auto-select-770

Conversation

@enaboapps

@enaboapps enaboapps commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Change

Adds optional auto selection after choosing a point on macOS and Windows. A scanner-colour countdown performs one left click, while pressing and releasing a configured switch opens the action menu instead. Defaults are off and one second, with a 0.1–100 second delay.

Countdown timing is independent of automatic movement, respects pause and switch holds, and is cancelled by session resets. Drag destinations retain their confirmation workflow. Existing desktop settings load with safe defaults; Remote uses the shared desktop settings without protocol changes.

Closes #770

Validation

  • Frontend lint, 151 tests and production build passed.
  • Rust formatting, Clippy with warnings denied, 368 unit tests and 7 integration tests passed.
  • Fake-time coverage includes expiry, exactly-once dispatch, switch interruption, pause/resume, cancellation, error recovery and line/grid/manual/automatic combinations.
  • Native debug builds of head 5ab0b00 validated in disposable TextEdit and Notepad documents: countdown ring/HUD, foreground focus, held-switch release to the untouched main menu, pause beyond the delay, resume and click expiry back to idle.
  • Mac and Windows scanning/switch settings restored from fresh backups; Windows original app restored. Both VMs returned to their prior suspended state. The signed host Mac app was untouched.
  • Independent latest-head review passed. Its Remote-reset cleanup finding was fixed, with fake-input coverage for interrupted drag release failure and retry.
  • Live BLE pairing was not exercised; Remote uses the same workflow and countdown-aware gesture handling as local scanning.

Owen McGirr added 2 commits September 15, 2026 10:50
- Add a cancellable countdown with native scanner-colour feedback and release-to-menu interruption.
- Persist desktop auto-select settings and preserve pause, safety controls, drag exclusion and click error recovery.
- Cover timing, configuration compatibility, switch holds and countdown drawing with fake input tests.

🤖 Auto-generated
- Route Remote reset edges through the existing cleanup and retry path before processing more input.
- Verify interrupted drag cleanup retains failed releases for retry.

🤖 Auto-generated
@enaboapps
enaboapps marked this pull request as ready for review September 15, 2026 10:06
@enaboapps
enaboapps merged commit ec3cd5e into main Sep 15, 2026
6 of 7 checks passed
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.

Add Android-style auto selection to desktop point scanning

1 participant