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
Option-row focus rings read as covered by the mark's digit-column reach since #7075 #7171
Deciding error: a live option row's ring is covered on its left edge by the row's own mark.
after keyboard arrival, the ring on lf-option "1selectedKeep this optio" is not all there: its left edge is under lf-option-control.lf-pick.lf-ui "selected", inside it (ring 241,394,959,425, sampled 242,410)
The sampled-ring test reports the same fault on ship-review and feature-gallery option rows (5 faults).
Introduced by #7075 (35f171ea4). Bisecting e7d5808f3..118f31f6d puts the first failure at #7075; both tests pass at its parent 2c196c64e. #7075 gives a row's mark a transparent ::after reach back over the digit column while the digits show, so a press there lands on the mark. The ring check's hit test at the row ring's left edge now finds that reach above the row's ring. The question is whether the reach should sit beneath the row's ring, or the check should treat a reach that paints nothing as no cover. Open PR #7129 proposes the second for the mark's own ring ("read a clear reach over a ring as no cover"), which may cover this case too.
A sixth fault in the sampled-ring test at 90bc5d55c is a different one: the ring of a settled option's mark has its bottom edge under the next row (current-proposed-comparison). That is the case #7129 fixes.
Open PR #7129 fixes both failing tests here. It is max-sixty's PR, so this issue stays open until it lands.
Its change to tests/page_scripts/focus_rings.js sends a cover inside the control, such as the mark's ::after reach, through the screenshot check that a neighbour's cover already goes through. Both tests read rings through that check (ring_faults in tests/render_cases_layout.py), so the change covers test_controls_show_keyboard_focus_without_ringing_pointer_activation too, though the PR's description names only the sampled-ring test.
Verification (Linux, run one at a time with -n0)
main at 32dc564a8: both fail. The rings test shows the "left edge is under lf-option-control" fault after keyboard arrival. The sampled-ring test shows 6 faults: 5 left-edge faults on ship-review and feature-gallery, and the current-proposed-comparison bottom-edge fault.
#7129 settled this. On current main (1231554f5), test_controls_show_keyboard_focus_without_ringing_pointer_activation passes, and test_each_sampled_focus_ring_is_shown_whole_in_its_surface no longer reports a live option row's ring under its mark.
That second test still fails, on a different fault: in catch-up, the deck's bar covers the top of a focused card's ring. That has a separate cause, and #7246 tracks it, so I'm closing this one.
Activity
leaf-agent commentedon Nov 25, 2026
Open PR #7129 fixes both failing tests here. It is max-sixty's PR, so this issue stays open until it lands.
Its change to
tests/page_scripts/focus_rings.jssends a cover inside the control, such as the mark's::afterreach, through the screenshot check that a neighbour's cover already goes through. Both tests read rings through that check (ring_faultsintests/render_cases_layout.py), so the change coverstest_controls_show_keyboard_focus_without_ringing_pointer_activationtoo, though the PR's description names only the sampled-ring test.Verification (Linux, run one at a time with
-n0)mainat32dc564a8: both fail. The rings test shows the "left edge is under lf-option-control" fault after keyboard arrival. The sampled-ring test shows 6 faults: 5 left-edge faults onship-reviewandfeature-gallery, and thecurrent-proposed-comparisonbottom-edge fault.47f219c10merged with thatmain:2 passed in 416.22s.I've assigned max-sixty, since what's left is their call on #7129, including the settled-group trade-off it raises.
leaf-agent commentedon Nov 26, 2026
#7129 settled this. On current
main(1231554f5),test_controls_show_keyboard_focus_without_ringing_pointer_activationpasses, andtest_each_sampled_focus_ring_is_shown_whole_in_its_surfaceno longer reports a live option row's ring under its mark.That second test still fails, on a different fault: in catch-up, the deck's bar covers the top of a focused card's ring. That has a separate cause, and #7246 tracks it, so I'm closing this one.