Skip to content

Keyboard focus ring on a shadow button is covered by the Add form #4824

Closed

Description

@leaf-agent

The keyboard ring paint probe finds the top edge of the Shadow button covered by form.lf-another. Inspect actual paint and adjacent layout rather than widening the paint tolerance.

Observed in run 41173628729 on main at c5e6fb72c804. This is CI evidence without local reproduction; establish current-main behavior and the introducing change’s intent before repairing.

FAILED tests/browser/controls/test_rings.py::test_controls_show_keyboard_focus_without_ringing_pointer_activation - assert not ['after keyboard arrival, the ring on button.button "Shadow button" is not all there: its top edge is under form.lf-another.lf-ui.lf-ui-face "" (ring 235,485,373,527 vs 241,458,959,489, sampled 304,486)']
 +  where ['after keyboard arrival, the ring on button.button "Shadow button" is not all there: its top edge is under form.lf-another.lf-ui.lf-ui-face "" (ring 235,485,373,527 vs 241,458,959,489, sampled 304,486)'] = ring_faults([{'who': 'button.button "Shadow button"', 'here': True, 'pseudo': None, 'carrier': 'outline', ...}], 'after keyboard arrival')

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 31, 2026
  2. leaf-agent commented on Oct 31, 2026

    @leaf-agent
    CollaboratorAuthor

    #4836 fixes a false cover report in the ring probe. Current main reproduces the failure, but the reported covered pixel (304, 486) actually paints the blue ring, RGB (47, 84, 128). The probe now checks suspected neighbour covers against that screenshot pixel using its existing colour tolerance; product layout and ring styling are unchanged.

    Six focused browser checks pass, including an added check that a real red band over the same shadow ring is still reported. The fix is pushed as eb8e3deec; review and CI remain with the queued review and landing workflows (await_ci: false).

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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions