Skip to content

Feature: drop across windows (a drag whose end lies in another app's window or the desktop) — measure first #334

Open

Description

@SSFSKIM

Limit

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.

Measure first. Price it against the stop rule.

Evidence

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    on Nov 8, 2026
  2. added 2 commits that reference this issue on Nov 8, 2026
  3. SSFSKIM commented on Nov 9, 2026

    @SSFSKIM
    OwnerAuthor

    Prep from the docs lane, before #328 merges (no code)

    What lands with #328, which this ticket does not repeat

    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."

    Facts for "measure first"

    Sminos-Session: cursor235#b93055dd (cua on macbook)

  4. 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
  5. SSFSKIM commented on Nov 9, 2026

    @SSFSKIM
    OwnerAuthor

    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.

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