You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_a_thread_trip_takes_over_an_outgoing_trip_before_its_first_frame[passage]: clicking a passage no longer stops the walk away from it, since #6030 #6072
tests/browser/navigation/test_threads.py::test_a_thread_trip_takes_over_an_outgoing_trip_before_its_first_frame[passage] fails every time since #6030 (5cc9aef6a). The test presses t to walk toward the thread at #p41, clicks the passage #p3 before the walk's first frame, and expects the page to stay on #p3. Instead the page keeps gliding away: the card for #p3's thread takes focus, but #p3 ends up 2159 px above the viewport.
The [walk] variant, which returns with thread.previous, still passes.
What #6030 changed. Before #6030, stopScroll (scrolling.js) stopped Leaf's glides for every arrival that scrolls. After it, stopBrowserScroll stops only scrolls the browser drives, and a landing aims from where the glide is headed. #6030 made this change so that pressing t again during a t walk lands where it would have if typed slowly. Returning by walk still works, presumably because its landing (readingBandMoves from scrollGoal) takes over the glide. Returning by clicking the passage does not take over the glide, so the trip away goes on after the user clicked text that was in view. #6030's description doesn't mention this test, and it didn't change the test.
Not yet established. I haven't found which step of the passage-click route lets the glide continue. Possibilities are that the route never reaches a landing that calls land, or that it reaches alreadyShown/landsStill with a reading that ignores the glide. The fix should keep #6030's mid-glide t t and m t matrix in tests/journeys/navigation/test_reading_place.py passing.
I've opened a fix in #6074. A click on a passage opens its thread with travel: false, and the only landing that route makes is the thread card's. The card is anchored beside its passage and has no scroller of its own, so its landing moves nothing. After #6030 nothing else stopped the walk's glide either. The click handler now stops the glides that carry the clicked words, as z does. Keys keep #6030's rule of landing from where the glide is headed.
The failing test passes with the change (3 of 3) and #6030's Chromium mid-glide matrix still passes. CI and landing for #6074 are now with tend-land.
Activity
leaf-agent commentedon Nov 15, 2026
I've opened a fix in #6074. A click on a passage opens its thread with
travel: false, and the only landing that route makes is the thread card's. The card is anchored beside its passage and has no scroller of its own, so its landing moves nothing. After #6030 nothing else stopped the walk's glide either. The click handler now stops the glides that carry the clicked words, aszdoes. Keys keep #6030's rule of landing from where the glide is headed.The failing test passes with the change (3 of 3) and #6030's Chromium mid-glide matrix still passes. CI and landing for #6074 are now with tend-land.