Skip to content

Linux engine: Electron drops have no reliable landing signal, so 6 to 7.5% of landed Electron drops answer unconfirmed #364

Open

Description

@SSFSKIM

Since #171 M4 T17, an Electron drop (drag_handle or a plain drag behind the floor) is confirmed by the drag loop's accept cursor at the release; no accept cursor means unconfirmed, never ok. XdndFinished's accept bit can't be read by a third client, since Chromium keeps it in-process.

The cursor never confirmed a drop that didn't land (0 of 30 leaves), but 7 of 110 landed drops didn't show it at the release (6% idle, 7.5% at twice the load). So those answer 'unconfirmed' though they landed, above the 5% usability line (the design session, 2026-11-10).

Evidence: docs/evidence/2026-10-28-own-linux-engine/m4/drag-handle/ (feat/171-m4).

Direction: find a signal Electron sends when a drop lands. Candidates are a later cursor sample, a window or focus change Electron makes after a drop, or an Xdnd message visible to the root. Test each against the press-inside and accepted-then-left controls at three loads.

Acceptance: landed-but-unconfirmed at or under 5% at every load, with 0 ok without a drop; or the measured reason no better signal exists.

Related: #250, #269, #171.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    on Nov 11, 2026
  2. added a commit that references this issue on Nov 11, 2026
  3. SSFSKIM commented on Nov 11, 2026

    @SSFSKIM
    OwnerAuthor

    #171 M4 T17's fix wave re-measured Electron's drag-loop cursor at the exact release (feat/171-m4, docs/evidence/2026-10-28-own-linux-engine/m4/drag-handle/fix/). Per load, 300 plain drops plus 300 drag_handle drops, and 30 each of the accepted-then-left and press-inside controls. All 600 landed at idle, at the gate's window load and at twice the load. The controls answered ok 0 of 120 at every load, all unconfirmed. Landed but unconfirmed: handles 0% / 6.0% / 3.3%, plain drags 0% / 0% / 1.7% (idle / the gate's window load / twice the load). At the exact release, the cursor across the 1,800 landed drops was: accept 1,767, no-drop 24, not readable 9. The earlier delayed samples had 7 of 110 landed drops without the accept. The one cell above 5% is handles at the gate's window load, 6.0%, and 17 of its 18 misses are the first drag of a fresh engine, where Electron's cursor still shows no-drop at the release. That cell is what this ticket now tracks.

  4. SSFSKIM commented on Nov 12, 2026

    @SSFSKIM
    OwnerAuthor

    Update from #171 M4 T17's second fix wave (0a83de4..1df5d01 on feat/171-m4). The Electron confirmation now judges the cursor image at the release against the installed theme's own dnd-move/dnd-copy/dnd-link images (never dnd-none or grabbing), and only when the top-level under the release is XdndAware. Across three loads, 0 of 1,618 counted Electron drags answered ok without a drop; the pre-fix engine answered ok 30/30 to the bare root and 30/30 to an xterm. Costs this ticket now tracks: (1) under the VM's breeze_cursors theme, dnd-move and dnd-link are the same image as dnd-none, so every Electron move or link drop answers unconfirmed (180 of 180 landed moves); another theme may confirm them. (2) Cold handle drops, a block's first drag: 4% landed-unconfirmed at the gate's window load and 5% at 2x.

  5. added a commit that references this issue on Nov 12, 2026
  6. SSFSKIM commented on Nov 14, 2026

    @SSFSKIM
    OwnerAuthor

    Landed with #171 M4, PR #380 (78b4959, linux-engine-v0.4.0).

    M4's release gate (candidate 2's records, standing for candidate 3), plan t17-fix3: landed but unconfirmed was 0 of 200 landed drops at idle (H1), 4 of 200 at the gate's window load (H2) and 5 of 200 at twice the load (L4a). All of those are cold handle drops (4 and 5 of 100 handle drops), with 0 false ok. The gate has no move or link cell, so the breeze_cursors cost (every move and link drop unconfirmed) is not measured there.

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-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions