Skip to content

Linux engine: Firefox background pointer input answers ok but does nothing unless the real pointer is in its window #353

Closed

Description

@SSFSKIM

In shared mode cua's background route sends Firefox (Gecko) clicks, scrolls, moves and drags as synthetic events. Gecko acts on them only while the real pointer is inside its window. With the person's pointer elsewhere nothing happens, yet every request answers ok. The pinned vendor build does the same.

Evidence: on a private display, with the real pointer parked before each request, every cell went 10/10 or 0/10 on the pointer alone (docs/evidence/2026-10-28-own-linux-engine/m4/drag-predicates/, feat/171-m4-t15 be009c2). Confirmation on :0 is T19's first sitting.

This breaks the owner's standing rule: on a shared desktop, cua refuses input an app ignores.

Fix (#171 M4 T19): before a Gecko pointer request on the background route, check with QueryPointer that the real pointer is in the target window. If it isn't, shared mode refuses with the Device mode sentence and dedicated mode takes the foreground route. A drag watches for the pointer leaving the window and never answers ok if it does. The device cases, the predicates manifest and the declared deviation follow.

Acceptance: on :0 and on a private display, every Gecko pointer request either takes effect or refuses (or goes foreground in dedicated mode), with 0 answered ok and no effect; Chrome and Electron are unchanged; a pointer that leaves during a drag is reported.

Not yet measured: whether other families depend on the pointer (T19's :0 sitting includes Chrome, Electron and gedit controls).

Related: #171. Lands in the M4 PR (feat/171-m4-t19).

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P1
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 10, 2026
  2. SSFSKIM commented on Nov 10, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: #171 M4 T19, executor task 71

  3. added 20 commits that reference this issue on Nov 10, 2026
  4. added a commit that references this issue on Nov 14, 2026
  5. removed
    status:in-progress
    on Nov 14, 2026
  6. SSFSKIM commented on Nov 14, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #380 (78b4959, cua 0.28.0, linux-engine-v0.4.0)

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

    bugpriority:P1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions