You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux engine: Firefox background pointer input answers ok but does nothing unless the real pointer is in its window #353
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
SSFSKIM commentedon Nov 10, 2026
[board] in-progress: #171 M4 T19, executor task 71
#171 M4: T19's ticket is #353
#171 M4 T19 (#353): T15's point rule reverted, since it does not merge
#171 M4 T19 (#353): the pointer-route sitting, and a measurement flag…
#171 M4 T19 (#353): the sitting reads a refused drag's effect too, an…
#171 M4 T19 (#353): the sitting's dry run on a private display
#171 M4 T19 (#353): the :0 sitting, Firefox, Chrome and Electron
#171 M4 T19 (#353): the :0 sitting's gedit step
#171 M4 T19 (#353): Gecko's pointer route by the real pointer
#171 M4 T19 (#353): every Gecko pointer request watched for the real …
#171 M4 T19 (#353): a visible cell puts the front window back in its …
#171 M4 T19 (#353): the build's proof on private displays
#171 M4 T19 (#353): the manifest's :0 runner, one half per locked call
#171 M4 T19 (#353): the manifest on :0, every case holding on the fin…
#171 M4 T19 (#353): a pointer gone at the watch's read is judged outs…
#171 M4 T19 (#353): every run's effect read whatever it answered; a m…
#171 M4 T19 (#353): the proof's manifest one kind per locked step
#171 M4 T19 (#353): the fix wave's proof on private displays, every o…
#171 M4 T19 (#353): merge feat/171-m4 (T14's Chromium drops, T13's fi…
#171 M4 T19 (#353): two debts: the racy clipboard unit test, the Fire…
#171 M4: fold T19 (#353, Gecko's pointer route by the real pointer) i…
#171 M4: the measured improvements to cua's Linux engine; linux-engin…
SSFSKIM commentedon Nov 14, 2026
[board] done: Landed via PR #380 (78b4959, cua 0.28.0, linux-engine-v0.4.0)