Skip to content

Linux engine: a Chrome drop confirmed by activation alone is guarded against stale-accept false ok only by release timing; make the final keepalive structural on paths that outlast the floor #459

Open

Description

@SSFSKIM

What

On the Linux engine, a drag-and-drop onto a Chrome top-level is confirmed by Chrome's activation request alone (handle.rs confirming() → Confirming::Activation; pointer.rs after-release watch; dnd.rs Confirm). M4 T14 recorded that this request proves the browser dropped, not that the page took the drop: Chrome drops on a stale in-zone accept even when the release lands outside the zone.

What prevents a false ok on the shipped route is timing, not structure: after the take, the rest of the path is spread over the 350 ms floor and the floor's remainder is filled with keepalive motions on the last samples, so Chrome re-evaluates the final position before the release. A shipped path whose steps outlast the floor has no remainder, so its release follows the last step with no keepalive, which is the shape of the unshipped accept lane's false ok (L4b #23 at H6, #18 at H⁗; task 69's false release, 2026-11-10).

Today the long-path case is guarded only by measurement: V5's chrome_dnd_long_left_in_front_shared and chrome_dnd_inzone_out_in_front_shared at idle, and M4's t14-long (100 idle + 100 at 2x). A development run at 2x on 0.4.2 is pending (ruling 953).

Work

Make the guard structural: always send a keepalive motion at the path's last point before the release, whatever the floor has left, so Chrome's target re-accepts or refuses at the final position. Price its latency cost (it touches D1/#358, see #457) and prove it with the V5 controls and t14-long at idle and 2x on both arches.

Priority: P3 while the 2x runs show 0 false oks; P2 if any shipped false ok appears.

Related: #171, #415, #449, #457.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    priority:P2
    and removed
    priority:P3
    on Nov 21, 2026
  2. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    Measured (ruling 953; arm64, twice the load, pinned 0.4.2 at H6, t14-long shipped cua lane, 100 long-left drags whose path outlasts the 350 ms floor): 7 false oks and 5 drops at a stale position, 12/100.

    • Every row had 0 keepalives; the release came 0–4.1 ms after the last step.
    • 88/100: no Chrome activation within ~10 ms, answered unconfirmed with the notice (honest).
    • 12/100 activated (1.7–9.6 ms after release): 7 dropped nowhere and answered plain ok (false ok, confirmed_by Activation); 5 dropped inside the zone although the path ended left of it.
    • t14-floor (paths inside the floor, keepalives present) was clean: 0 false oks.

    Priority raised to P2 under 953's rule. Pending: 0.4.1 vs 0.4.2 on the same cell, x64's t14-long, and a development prototype of the fix.

  3. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    0.4.1 vs 0.4.2 on the same cell (arm64 2x, t14-long long-left, 10 ABBA rounds, 100 each; 0.4.1 verified against H⁗'s pin): 0.4.1 10 false ok + 7 stale-position drops (17/100); 0.4.2 6 + 6 (12/100). Every wrong outcome on both is a drag where Chrome activated after the release; 0 keepalives on both. The shape predates 0.4.2. Cause in Chromium (x11_drag_drop_client.cc kPendingDrop drops next_position_message_; move loop coalesces motions, release flushes none). Vendor baseline and fix prototypes pending.

  4. added a commit that references this issue on Nov 21, 2026
  5. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    x64 at twice the load, 0.4.2 at H6, t14-long long-left x100 (evidence e1f76bf): 0 false oks, 0 stale-position drops. Chrome took all 100; none landed (the path ends outside the zone) and each answered unconfirmed with the notice. Same release timing as arm64 (0 keepalives, last step to release median 0.1 ms), but Chrome on x64 never activated after such a release. So far #459's wrong outcomes are arm64-at-load only: 12/100 (0.4.2), 17/100 (0.4.1), 0/100 x64.

  6. added a commit that references this issue on Nov 21, 2026
  7. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    On V5's shipped device route (device long-left cell, arm64 twice the load), cua 0.4.2 shows no #459 outcome: 0 stale-position drops and 0 false oks in 174 drags (72 in m5-a959 + 102 at H6), every one answered unconfirmed with the notice. The pinned and newest vendor builds also had 0 stale drops in 72 each on that cell. So far #459 reproduces only on drop-signals' t14-long long-left cell (12/100 on 0.4.2), which points at that page's geometry or handlers rather than every long Chrome drag.

  8. added 6 commits that reference this issue on Nov 21, 2026
  9. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    Counted L4d at H7.1 (96fa1fd, linux-engine 0.4.2, M5 #171): the baselines 0.4.3 is proved against. The step drives the shipped Chrome drop route at twice the load on the drop-signals page. A drop counts as landed only where the path ended (3 px border margin), so a landing after the path ended outside the zone is a stale-position drop.

    arm64 (evidence 0e48c3f): FAIL.

    x64 (evidence f27cc57): FAIL.

    Related, on the same cell at arm64 twice the load: 0.4.2's cua lane had 12–19 wrong outcomes per 100 across its runs (a953, a981, L4d). The pinned and newest vendor builds had 0 stale-position drops in 100 each (≤ 3.0% at 95%), and Chrome never activated after a vendor drag (a981, m5-a959 bb4d7c1). On V5's own device route, long-left shows no outcome of this shape: 0 in 210 cua drags, and 0 on each vendor lane.

    0.4.3 (owner's decision, option B) passes L4d only with 0 false oks and 0 stale drops on every Chrome cell, on both arches.

  10. added 10 commits that reference this issue on Nov 21, 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:P2status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions