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
Feature: drop across windows (a drag whose end lies in another app's window or the desktop) — measure first #334
Since #328, every pointer action at a point outside the screenshot is refused before anything is posted. That covers each drag point, including the end. So a drag that leaves the target window is refused: dropping a file from Finder onto another app's window or onto the desktop, or dragging a tab out of a browser window.
The design session ruled this on purpose (b1921fc3): a press or a release outside the screenshot can land on the person's window.
Work
Decide whether, and how, a cross-window drag can be allowed honestly. Some possibilities:
coordinates expressed in a second screenshot, of the drop target's window;
a drop target named by element;
a dedicated-desktop-only path, where nothing of the person's is under the point.
#328's sentence for every coordinate is: "The point (x, y) lies outside the screenshot, which is W × H pixels. Give a point inside it: x from 0 to W−1 and y from 0 to H−1."
For a drag's end, that remedy misleads. A model that meant to drop onto another app is told to give a point inside the window. Clamping to the window's edge then drops the item at the edge of the source window, which is a wrong action. It is not a retry of the intended one.
Proposal: when only the end lies outside, the refusal says the drop is what cannot be done, and gives no coordinate range. For example: "A drag cannot end outside the window the screenshot shows: dropping onto another app's window or the desktop is not supported. Nothing was sent."
Where: in drag (ScrollDrag.swift), at the end's coordinatePoint, or as a parameter of pointOutsideScreenshot (Screenshot.swift).
A second screenshot: the end placed in the drop target's lineage, with the stale-point guard and W at the end against that screenshot. It still needs a delivery that reaches the target.
A drop target named by element: the same delivery question.
Dedicated desktop only: a pointer-level route there, with nothing of the person's under the point.
Sminos-Session: cursor235#b93055dd (cua on macbook)
changed the title [-]A drag whose end lies outside the screenshot's window (onto another app or the desktop) is refused since #328: no way to drop across windows[/-][+]Feature: drop across windows (a drag whose end lies in another app's window or the desktop) — measure first[/+]on Nov 9, 2026
The drag-end refusal sentence landed via PR #339 (0.27.15). This ticket stays open for the feature itself, a drop onto another window, which is to be measured first.
Activity
Engine: a pointer action outside the screenshot is refused, and every…
Docs: #328's Decision Log entry, the out-of-screenshot and scroll par…
SSFSKIM commentedon Nov 9, 2026
Prep from the docs lane, before #328 merges (no code)
What lands with #328, which this ticket does not repeat
pointOutsideScreenshot, checked inscreenshotPointfor a drag's start and its end.docs/cua-api/agent-cursor.mdparagraph: "So a drag cannot end outside the app's window, on another app or the desktop."The first-call document needs nothing more from #334 until it decides something.
A refusal-text gap that waits for #328's merge
#328's sentence for every coordinate is: "The point (x, y) lies outside the screenshot, which is W × H pixels. Give a point inside it: x from 0 to W−1 and y from 0 to H−1."
For a drag's end, that remedy misleads. A model that meant to drop onto another app is told to give a point inside the window. Clamping to the window's edge then drops the item at the edge of the source window, which is a wrong action. It is not a retry of the intended one.
Proposal: when only the end lies outside, the refusal says the drop is what cannot be done, and gives no coordinate range. For example: "A drag cannot end outside the window the screenshot shows: dropping onto another app's window or the desktop is not supported. Nothing was sent."
drag(ScrollDrag.swift), at the end'scoordinatePoint, or as a parameter ofpointOutsideScreenshot(Screenshot.swift).Facts for "measure first"
dragEvents, Mouse.swift). They are posted to the start point's process (deliverPointer, on the route a coordinate click takes). No event was ever addressed to the drop target's process or window.Sminos-Session: cursor235#b93055dd (cua on macbook)
[-]A drag whose end lies outside the screenshot's window (onto another app or the desktop) is refused since #328: no way to drop across windows[/-][+]Feature: drop across windows (a drag whose end lies in another app's window or the desktop) — measure first[/+]Engine: a pointer action outside the screenshot is refused, and every…
Engine: a drag whose end lies outside the screenshot is refused with …
SSFSKIM commentedon Nov 9, 2026
The drag-end refusal sentence landed via PR #339 (0.27.15). This ticket stays open for the feature itself, a drop onto another window, which is to be measured first.