Skip to content

fix(gui): restore prompt focus and synchronize scroll verification - #927

Merged
justrach merged 4 commits into
release/v0.0.298from
fix/chat-focus-scroll-probe
Sep 14, 2026
Merged

justrach merged 4 commits into
release/v0.0.298from
fix/chat-focus-scroll-probe

Conversation

@yxlyx

@yxlyx yxlyx commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

What changed

Focus the destination prompt after New chat, Home, and session navigation, including repeated selection. Add real-pointer navigation regression coverage. Make the overflow probe wait for trusted wheel delivery at its intended scroller.

Why

Navigation could leave keyboard focus on the clicked control. Explicit navigation requests focus in the same render commit without redirecting ordinary pane interaction or adding delayed focus retries.

The scroll probe treated a fixed delay as event-delivery evidence. Establish renderer focus before measuring targets, then await delivery while retaining strict trusted-event and local-scroll assertions. Missing events still fail; the probe does not reinject input to obtain a pass.

Verification

  • bun run build — passed.
  • bun run test:desktop — passed.
  • bun run test:interactions — passed, including the new navigation regression.
  • bun run test:overflow — passed on repeated runs.
  • scripts/eval-tier1.sh — passed, including the pre-push gate.
  • git diff --check — passed.

Closes #896.
Closes #898.

#897 is handled separately by #906; its changes are not duplicated here.

justrach and others added 4 commits September 13, 2026 08:35
Request composer focus on explicit navigation, including repeated selection, without redirecting ordinary pane interaction. Focus the destination in the navigation commit so later renders do not steal typing focus.

Wait for trusted wheel delivery at the intended scroller instead of treating a fixed delay as delivery evidence. Preserve strict event and scroll assertions, and establish renderer focus before measuring input targets.

Add real-pointer navigation coverage. Verified the desktop unit suite, production build, interaction and repeated overflow suites, delayed and dropped wheel fault checks, and the full tier-1 gate.
@yxlyx
yxlyx marked this pull request as ready for review September 14, 2026 10:35
@justrach
justrach changed the base branch from main to release/v0.0.298 September 14, 2026 11:48
@justrach
justrach merged commit 4c1fba8 into release/v0.0.298 Sep 14, 2026
8 checks passed
@justrach
justrach deleted the fix/chat-focus-scroll-probe branch September 14, 2026 12:06
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.

Native GUI scroll probe intermittently misses the injected wheel event GUI: Focus the prompt bar after navigating to a chat

2 participants