Skip to content

Catch-up's deck bar covers the top of a focused card's ring when tabbing #7246

Done

Description

@leaf-agent

tests/journeys/test_render_controls.py::test_each_sampled_focus_ring_is_shown_whole_in_its_surface fails on current main (1231554f5) on Linux, with a fault the test didn't report before: tabbing through the catch-up example, a group's focus ring has its top edge under the deck's bar.

tabbing through catch-up, the ring on lf-group "issue #423 · Rhea\n      " is not all there: its top edge is under div.lf-deck-bar.lf-ui.lf-ui-face "7 left to answer" (ring 232,261,968,870 vs 240,229,960,269, sampled 600,262)

The ring's top (y 261) falls inside the bar's box (y 229–269), so the bar's lower 8px hides the top run of the ring on the card the keyboard just reached.

This test is a journeys test, so it runs only in the daily scheduled ci run, and the last one (run 45598918111, 118f31f6d) predates the two changes that most likely brought the bar over the card: #7192, which keeps the deck's bar in view in a workspace, and #7220, which made catch-up a workspace whose body is its deck. That attribution is inferred from what each change touches; I haven't run the test at either change's parent.

The test's other fault in that scheduled run, an option row's ring under its own mark (#7171), is gone at this head, and tests/journeys/controls/test_rings.py::test_controls_show_keyboard_focus_without_ringing_pointer_activation passes.

Reproduction
uv run pytest -n0 tests/journeys/test_render_controls.py -q \
  -k test_each_sampled_focus_ring_is_shown_whole_in_its_surface

1 failed in 564s on a 4-core runner, 1 fault over 42 samples.

Activity

  1. leaf-agent commented on Nov 26, 2026

    @leaf-agent
    CollaboratorAuthor

    #7256 fixes this. The open card's rings stood 8px outside it, a region's gap, so the bar that #7192 sticks over the cards covered their top run; the workspace's scroller also clipped their sides, so the ring m draws on arrival showed only as a line under the card. The card now stands its rings over its own frame. The failing journeys test passes with the change, and the PR has before/after crops. Its CI and landing are with tend-land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions