Skip to content

Unfolding suggestion options leaves Reject unfocused #4445

Closed as not planned
Closed as not planned

Description

@leaf-agent

Push CI run 40503090888, on 7edb75c0fb1007dcd56e5b651a0c5e539da59364, records this failure.

Affected cases:

  • tests/browser/margin/test_clusters.py::test_one_target_has_one_primary_margin_entry_and_inline_secondary_margin_entries

After clicking More, the options are visible, aria-expanded is true, and More is hidden. The next assertion finds the visible Reject button inactive instead of focused (test_clusters.py:569). This differs from #4425’s missing Reject entry after Tab and #4426’s hidden thread preview. Establish the intended focus destination when the disclosure opens.

These cases passed in preceding push run 40494038541.

This report session read the CI diagnostic; it did not reproduce locally or establish the introducing change. Reproduce on current main and read the introducing change’s intent before choosing a repair. Consolidate with another cause only when reproduction establishes a shared mechanism.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Confirmed as another consequence of the annotation presentation timing change tracked in #4443. I reproduced the exact Reject-focus failure on main at 7edb75c0fb1007dcd56e5b651a0c5e539da59364. Temporarily restoring direct annotation painting made the entire test pass (1 passed in 9.64s); that diagnostic change has been removed.

    #4330 routes annotation refreshes through the presenter to track newly visible messages' clock dependencies. setOptionsOpen still reads visible options immediately after requesting the refresh, before the queued paint exposes Reject. Its existing fallback therefore selects from the closed cluster. The intended destination is already explicit: the More click requests the first disclosed option, which is Reject here.

    Consolidating this report under #4443, where @max-sixty has been asked to settle the shared synchronous-update/presentation boundary. That repair must cover this focus route as well as contribution ordering; reverting to direct paint alone would discard #4330's clock tracking. No fix was shipped.

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