Skip to content

Linux engine: confirm a Chrome drop from Chrome's own drag status (the leave) #575

Backlog

Description

@SSFSKIM

Linux engine: confirm a Chrome drop from Chrome's own drag status (the leave), which the engine can't use today

Why this is open. #512's item 3 (ruling 1142) asked whether the engine could read Chrome's drag status, so that "no leave seen after the path's last out-of-zone step" would make an activation-only drop answer unconfirmed. 0.4.5's pre-flight (task 158; ruling 1194; docs/doperpowers/specs/2026-10-28-own-linux-engine-045-preflight.md §A; the probe in docs/evidence/2026-10-28-own-linux-engine/engine-045/preflight-probe/) declined it.

  • The engine can see the signal. Chrome's no-drop cursor after its accept arrives through XFixes DisplayCursorNotify, which accept.rs and drop_cursor.rs already read. The probe saw it 509 ms after the accept on the drags that went into the zone and back out.
  • The engine can't apply the rule, for three reasons:
    1. "Out of zone" is the page's geometry, which the engine never knows.
    2. A genuine drop also ends with the accept showing and no leave. At the release, the cursor can't tell "Chrome answered the last position" from "Chrome hasn't answered it yet". So any zone-free stand-in fails closed on every genuine drop.
    3. Chrome is both drag source and target, so XdndPosition and XdndStatus never cross X: the trace has 0 ClientMessages. Only RECORD could see them, and RECORD can freeze X.Org 21.1 (task 41), so it is never used on a person's display.
  • 0.4.5's answer instead. It narrows the window: an overrun takes the after-path tail, and a dropped tail visit answers unconfirmed. What would close the gap for good is a confirmation from Chrome's own drop status.

Routes worth an architect's look:

  • Zone geometry from the page itself, for a Chrome drag whose target is a page that cua's browser lane already drives through CDP. The engine (or the facade) would then know whether the release point is in a drop zone, and a missing leave would mean something.
  • Chrome's per-position drop status by some route other than RECORD. For example, a CDP Input.dragIntercepted/Input.dispatchDragEvent path when the drag stays inside one Chrome, which would replace XTEST motion for that case.
  • Or a reasoned decision that the after-path tail plus fail-closed is the end state, with its measured residual rate.

Done when: an architect has picked a route, or closed the ticket with its reasons and 0.4.5's measured rate (t14-floor left ×300 at arm64 twice the load).

Relates #512, #459.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions