Skip to content

fix(desktop): preserve causal timing for typing before click presentation - #112

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/visual-probe-typing-anchor-20261006
Oct 6, 2026
Merged

rldyourmnd merged 1 commit into
mainfrom
fix/visual-probe-typing-anchor-20261006

Conversation

@rldyourmnd

@rldyourmnd rldyourmnd commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Fast controlled typing can begin before the focus click's first frame is submitted. The visual probe previously discarded these early keys, then matched their counter responses to later presses, underestimating latency before failing correlation. Retain provisional keys behind the anchored pending click in the same ordered counter sequence; presentation still confirms the click before arming keyboard measurement.

Three regressions cover delayed click presentation, a collapsed 32-key response with focus cancellation, and an unanswered click timeout. The existing pending bounds, modifier and surface checks remain. This only corrects opt-in diagnostics and does not claim to fix physical network stalls or change actual input dispatch.

Validation: the initial Mac desktop suite passed112unit tests and all integrations; the final11visual-probe regressions include the added timeout case. Final fmt and strict workspace desktop Clippy pass. The first workspace run reached doctests but failed while a different feature build used the same target; the separate uncontended workspace doctest rerun passes (shared-target interference is an inference). Optimized Mac build and both native artifact CI lanes pass; CodeQL passes. All16required check results passed (with two normal skips); PR112 merged as a3fd24b. Corrected installed-viewer visual timing remains pending. Details: docs/reports/rds-visual-probe-focus-race-20261006.md.

@rldyourmnd
rldyourmnd merged commit a3fd24b into main Oct 6, 2026
18 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.

1 participant