Skip to content

Linux engine: a Chromium drag that landed can still answer 'may not have started the drag' (page-tracked drags with the pointer outside; real movement during a selection or range) #249

Open

Description

@SSFSKIM

Gap

On a shared Linux desktop, cua's press watch answers a Chromium drag with an error whenever a stray real-pointer event reached the window between the press and the take, or Chrome's own capture-grab crossing did. The error reads: " may not have started the drag, and the page may have taken the press as a click: the desktop pointer was outside the window, or entered or moved in it during the press. Read the window to see what happened before dragging again".

Drags the page tracks itself (document mouse listeners, setPointerCapture) land in that case, so for them the error is false:

The watch has no false errors when nothing disturbs the drag: 0 over 240 drags, both modes, five kinds.

This is a declared limit of #171 M3's ruling (ii). The engine can't tell from the event stream which kind of drag the page runs, so it answers "may not have" rather than refuse the drags that work or claim success for the ones that don't.

Candidates

  • The M3 Decision Log's M4 candidate: decide a Chromium drag by the AT-SPI role at its start point (a slider, text, a draggable element).
  • Read the page's effect after the release: an AT-SPI value or selection change at the start or end point, then answer success when it shows.

Each to be measured before anything narrows the error.

Pick it up when

Agents meet the false error in real tasks, or M4's role work starts.

Spawned by #171 (M3, task 20).

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P3
    on Nov 1, 2026
  2. SSFSKIM commented on Nov 1, 2026

    @SSFSKIM
    OwnerAuthor

    Widened by #171 M3 task 22 (0db75d5): the press watch now runs until the held release (Chromium drags with no take by the path's end are held until press + 250 ms). So a person's pointer moving during an in-front Chromium selection or range drag raises the false error over ~250 ms instead of ~30 ms.

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