Repository navigation
Open
Labels
enhancementNew feature or requestpriority:P2issue-tracker board prioritystatus:ready-for-architectissue-tracker board state
Description
Problem & intent
cua's Linux engine, since #171 M3 task 22, holds every drag into Chromium that has no XdndSelection take by the path's end until press + 250 ms. This is so a late take still lands. A drag that never takes, such as a plain text selection, pays the difference: a 40 px selection in Chrome goes from about 134 ms to about 355 ms. The hold was sized from M3's measurements: takes came at 53-78 ms, up to about 134 ms cold in gate runs. This is a declared M4 speed gap.
Intent: drags into Chromium that never take should cost no more than the path itself, without losing a late take.
Seams: the Linux engine's drag hold (native/linux-engine, task 22's hold and keepalive), the M3 differential harness's Chromium drag series.
Constraints
- Preserve M3's landing results: a drag that takes must still land. The gate's chrome_dnd cases stay 9/9, cold samples included.
- Library rule: OpenAI's crate graph only.
- Measurement follows the M3 harness's rules: the noise rule, 20 samples a side, and the shipped musl artifact as the candidate.
- Spawned by Independence 4b: cua's own Linux native engine (replace sky_linux), after #117's macOS engine #171 (M3 limits). Parent N/A; blocked-by N/A.
Success criteria
- A rule that tells a non-taking drag from a slow take early enough to release sooner, measured on Chrome's selection and drop series, with a speed result against the vendor builds. Candidates: whether the path ends over a drop-capable target, the source's own drag start, Chromium's XdndAware state.
- Or a recorded reason no such signal exists, with the cost kept as a stated limit.
Decision log
- 2026-11-02: registered at Independence 4b: cua's own Linux native engine (replace sky_linux), after #117's macOS engine #171 M3's merge (PR #171 M3: cua's own Linux service, the device mode, capabilities and the truncation line; linux-engine-v0.3.0 #262), from its Known limits. The owner's rule: every declared gap gets a ticket.
Sources
- PR #171 M3: cua's own Linux service, the device mode, capabilities and the truncation line; linux-engine-v0.3.0 #262, Known limits ("The hold's cost and residual").
- Independence 4b: cua's own Linux native engine (replace sky_linux), after #117's macOS engine #171 M3 spec, task 22.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestpriority:P2issue-tracker board prioritystatus:ready-for-architectissue-tracker board state
Activity
#171 M4 T14: the harness's drop cases: real late takes, confirmed dro…
SSFSKIM commentedon Nov 10, 2026
Update from #171 M4 (T13, feat/171-m4). T13 looked for a signal that a Chromium drag will never take, to skip the press + 250 ms hold, and found none. Every start-role rule has false negatives: a draggable span in a paragraph 30/30, a link's text 20/20 (hit-test results only), a draggable child of an ARIA slider 30/30, a nested span with a 150 ms dragstart 30/30 (idle), and a draggable canvas 30/30. XdndAware is set on every Chrome window. The hold also caught 5 natural takes after the path's end at the gate's window load. So the hold stays, and this stays a declared gap; T13's false-negative list is its evidence (docs/evidence/2026-10-28-own-linux-engine/m4/drop-signals/). For scale: on T14's build, the 40 px selection measures 254 ms, level with the vendor builds.
#171 M4: the measured improvements to cua's Linux engine; linux-engin…
SSFSKIM commentedon Nov 14, 2026
Landed with #171 M4, PR #380 (78b4959, linux-engine-v0.4.0).
Status from #171 M4's release gate (candidate 3, c55c8e0). The press + 250 ms hold ships unchanged. T13 found no never-take signal: every start-role rule has false negatives, and XdndAware is on every Chrome window (
m4/drop-signals/; the comment above).The gate keeps the hold's purpose: device-chrome-dnd's landing cases are 9/9 with cold samples included (V5, candidate 2's record, standing for candidate 3), and the real late takes behind the hold are reported (C1: 13 of 13). No gate step measures the 40 px selection against the vendor builds; T14 measured 254 ms, level with them.
The PR states the cost as a declared limit. This ticket stays open as that limit's record, for a never-take signal if one is ever found.