Skip to content

Linux engine: stacked same-title Chrome windows answer the duplicates sentence, since Chrome marks no AT-SPI frame active (M4 T5 gap) #274

Open

Description

@SSFSKIM

Problem & intent

#171 M4 T5 tells duplicate windows apart (the same title and size) by each AT-SPI frame's screen extents against the X11 window's position, then by the frame's active state against _NET_ACTIVE_WINDOW. Chrome marks no AT-SPI frame active (measured in T5), so when Chrome duplicates are stacked on one spot (for example two maximized windows both titled "New Tab"), the tie-break has nothing to agree with. Every request that associates (reads, element actions, pastes, clipboard_read) then answers Window <id> matches several accessibility windows; close or retitle the duplicates, for the active one as well. Chrome duplicates placed apart resolve by position.

That sentence is the design's choice over a wrong association (F5): it is never wrong, but the model cannot read a stacked Chrome duplicate, and its remedy (close or retitle) is not always the model's to take.

Intent: a stacked Chrome duplicate that is the active window reads as itself, confirmed through AT-SPI, never by X11 inference alone.

Seams: the Linux engine's window association (native/linux-engine/src/atspi.rs), the identity scene in scripts/linux-engine-diff/.

Constraints

Success criteria

  • The identity scene's stacked arrangement with one Chrome duplicate active returns that window's own marker, and the others still answer the sentence, in both focus arrangements, 30/30.
  • A control without the new signal fails exactly that read.
  • Every other family's identity results equal T5's.

Decision log

  • 2026-11-02: declared by the design session at T5's build (Chrome has no AT-SPI active frame; the tie-break's proof moved to GTK 3) and registered.

Sources

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P3
    on Nov 2, 2026
  2. added a commit that references this issue on Nov 2, 2026
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

    enhancementpriority:P3status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions