Skip to content

test: start the wheel-over-resize journey from the Threads row g T focuses - #5353

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5140
Nov 4, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5140

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#5039 made g Shift+T stand Threads on its first row rather than on the view. test_a_newer_wheel_supersedes_a_panel_resize_landing still pressed ArrowDown six times from there. That reached row 6 while the test watched row 5, so its first to_be_focused timed out on Linux and macOS in every scheduled run since 2 November (e.g. 41432142330, 41622727492). The test now presses ArrowDown five times. What it protects is unchanged: a native wheel during a held panel resize keeps the reader's scroll and focus. #5337 made the same change to five other tests that #5039 shifted, but it missed this one.

Only the test changes, so no product behavior moves. On current main the test fails locally at the same assertion. With this change it passes three times, including once under --cpu-throttle 4.

Closes #5140 — automated triage

#5039 made `g Shift+T` stand Threads on its first row instead of the view,
so the six ArrowDowns this journey pressed reached row 6 while it expected
focus on row 5, and the assertion timed out. Five steps now reach the row
the test watches; the resize-and-wheel behavior it protects is unchanged.
#5337 made the same adjustment to five other tests.

Closes #5140
@leaf-agent
leaf-agent merged commit f1e6f5e into main Nov 4, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5140 branch November 4, 2026 10:35
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.

Wheel after panel resize leaves the target thread unfocused

1 participant