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: a Gecko background drag and drop can end early because GTK's drag source follows the parked real pointer #372
When cua drags in Firefox on the background route (T19's unless_pointer_within, with the real pointer parked inside the window), Gecko's HTML5 drag and drop runs under GTK's drag source. That source takes the pointer grab and follows the real pointer. The path cua sends is synthetic, but the real pointer stays parked: inside the window, away from the drop target. Sometimes GTK ends the drag before the path's end (XdndSelection's owner goes back to None about 20 ms after the take), and the rest of the path arrives at the page as plain motion. Nothing drops.
cua answers these honestly. T19's watch, narrowed by M4's ffdnd-fix, reads the end and answers "firefox may not have taken the drag: the desktop pointer left its window…", never ok. Without the watch, the same misses answered ok with no drop: M4's no-watch lane gave 3 such misses in 40 at twice the load, and the pre-T19 engine 1 in 120.
Measured in M4:
At twice the load (L2c shape): the fix lost 5 landings in 160, against 119/120 before T19. One-sided Fisher p = 0.189: load noise, not a T19 cost.
At the release gate (P6, idle): 1 miss in 30 on "visible pointer-in", against the pinned build's 30/30. It was judged a landing miss by the Fisher tolerance (the design session, sminos 662).
Candidate remedy, to measure: for a Gecko drag and drop in dedicated mode, move the real pointer along the path, or park it at the drop target before the release, so GTK's drag source ends where the path ends. In shared mode the person's pointer can't be moved, so the honest answer stays.
Evidence:docs/evidence/2026-10-28-own-linux-engine/m4/ (ffdnd-fix's L2c study and traces; the gate's P6 and its re-judge).
Activity