Arrange: a Selection drag released in another document's floating window drops the artwork there

With Window › Arrange › Float in Window, a Selection move released over
the art area of another document's floating window copies the artwork
into that document with edit.dropSelection, as a release over a tiled
pane does. The window becomes the current one, and the grab point lands
under the pointer in that window's own zoom and rotation. While the
current document floats, a release over the pane the main window draws
copies the artwork into the main window's document. A floating window
with another view of the source document takes a move, and Alt copies.

The release is taken at the start of the frame, before any canvas sees
it, so a release in the first frame over a window still drops the
artwork, and the source move is rolled back first. A release on a
window's title bar, rulers or scroll bars, or after Escape, changes
neither document. This covers floating windows drawn inside the main
window (the web, Wayland and a control channel). A floating window that
is an OS window of its own does not take the artwork yet.

Docs: development.md, target-app-parity.md, gaps.md, roadmap.md,
ui-parity.md.
This commit is contained in:
dotCooCoo
2026-11-16 03:28:50 -08:00
parent c367a8e991
commit b429b00851
12 changed files with 336 additions and 26 deletions
+16 -1
View File
@@ -497,7 +497,7 @@ to the source tab resumes a move (Alt copies). Escape or release outside the can
Changing the source revision or unexpectedly changing/closing the destination cancels a stale
transfer; focus loss, touch cancellation and multitouch cancel too. Moving tabs under a stationary
pointer does not activate further tabs until the pointer moves. The close icon does not activate a tab during a drag. Overflow-menu hover activation and
dragging into a floating document window remain outside this change.
dragging into a floating document window that is an OS window of its own remain outside this change.
Under Window › Arrange › Tile, a Selection move released over another document's pane copies the
artwork into that document through `edit.dropSelection`, with no tab hover first. The pane becomes
@@ -512,6 +512,21 @@ describes documents arranged side by side, with items dragged from one document
Evidence: the `canvas::panes` tests drive real pointer frames from the current pane into another
document's pane, back the other way, into another view, through a tab into a third document's pane,
and off a pane's art area.
The same release works for documents in floating windows (Window › Arrange › Float in Window) where
those windows are drawn inside the main window: on the web, on Wayland and with a control channel
attached. A Selection move released over the art area of another document's floating window copies
the artwork into that document, and one released over the pane the main window draws while the
current document floats copies it into the main window's document. A floating window that shows
another view of the source document takes a move, and Alt copies. The release is taken at the start
of the frame, before any canvas sees it, so a release in the first frame over a window still drops the
artwork. A release on a window's title bar, rulers or scroll bars, or after Escape, changes neither
document. A floating window that is an OS window of its own, the default on Windows, macOS and X11,
does not take the artwork: its pointer positions are in that window's points, not the main window's.
Evidence: the `doc_windows` tests drive real pointer frames from the main window's canvas into a
floating window (rotated and zoomed, and in the frame the pointer arrives), from a floating window
into the main window's pane, into a floating view of the same document, and onto a title bar and
after Escape, and check that no OS window's pane is noted.
The cited regressions assert the internal clipboard; they do not exercise the native
system-clipboard adapter. Tab activation resets the Selection tool through
`Session::set_active`; gesture regressions verify it is idle after switching, dropping
+4 -2
View File
@@ -877,8 +877,10 @@ on canvas release with the original grab point. Source and clipboard preservatio
rendering, swatch conflicts, cancellation, rotated/zoomed views and target Undo/Redo have regression
coverage (`tests_document_drag`, `tests_clipboard`). Under Window › Arrange › Tile, a release over
another document's pane copies the artwork into that document as well, and a release over another
view of the source document moves it (`canvas::panes` tests). Overflow-menu drag and drag into a
floating document window remain separate. Scores and hours unchanged. [Behavior and command details](development.md#drag-artwork-between-document-tabs-2026-10-22).
view of the source document moves it (`canvas::panes` tests). A release over a floating document
window drawn inside the main window, or over the main window's pane while the current document
floats, does the same (`doc_windows` tests); a floating window that is an OS window of its own does
not take the artwork yet. Overflow-menu drag remains separate. Scores and hours unchanged. [Behavior and command details](development.md#drag-artwork-between-document-tabs-2026-10-22).
## Pathfinder › Trap (2026-10-23)
+4 -2
View File
@@ -203,8 +203,10 @@ on canvas release with the original grab point. Source and clipboard preservatio
rendering, swatch conflicts, cancellation, rotated/zoomed views and target Undo/Redo have regression
coverage (`tests_document_drag`, `tests_clipboard`). Under Window › Arrange › Tile, a release over
another document's pane copies the artwork into that document as well, and a release over another
view of the source document moves it (`canvas::panes` tests). Overflow-menu drag and drag into a
floating document window remain separate. Scores and hours unchanged. [Behavior and command details](development.md#drag-artwork-between-document-tabs-2026-10-22).
view of the source document moves it (`canvas::panes` tests). A release over a floating document
window drawn inside the main window, or over the main window's pane while the current document
floats, does the same (`doc_windows` tests); a floating window that is an OS window of its own does
not take the artwork yet. Overflow-menu drag remains separate. Scores and hours unchanged. [Behavior and command details](development.md#drag-artwork-between-document-tabs-2026-10-22).
## Revision history
+4 -2
View File
@@ -2268,8 +2268,10 @@ on canvas release with the original grab point. Source and clipboard preservatio
rendering, swatch conflicts, cancellation, rotated/zoomed views and target Undo/Redo have regression
coverage (`tests_document_drag`, `tests_clipboard`). Under Window › Arrange › Tile, a release over
another document's pane copies the artwork into that document as well, and a release over another
view of the source document moves it (`canvas::panes` tests). Overflow-menu drag and drag into a
floating document window remain separate. Scores and hours unchanged. [Behavior and command details](development.md#drag-artwork-between-document-tabs-2026-10-22).
view of the source document moves it (`canvas::panes` tests). A release over a floating document
window drawn inside the main window, or over the main window's pane while the current document
floats, does the same (`doc_windows` tests); a floating window that is an OS window of its own does
not take the artwork yet. Overflow-menu drag remains separate. Scores and hours unchanged. [Behavior and command details](development.md#drag-artwork-between-document-tabs-2026-10-22).
## Gradient dither (2026-10-22)
+5 -3
View File
@@ -384,7 +384,7 @@ next unit in the order a right-click on a ruler lists them, from Feet back to Po
| Interaction | Status | Evidence |
|---|---|---|
| Ordinary Save refused by filesystem permissions/read-only storage offers Save As | focused UI regressions passed; native acceptance pending | #6146; `io::tests_read_only_save`; same name/format suggested; unchanged format keeps options, changed format opens its Save options; Documents folder, UID-bound continuation; cancellation and automation isolation |
| Selection artwork drag hovers a visible document tab to activate it, then drops editable artwork on its canvas | done | `tests_document_drag`, `edit.dropSelection`, lossless resource and one-step Undo regressions; a release over another document's tiled pane copies it there too (`canvas::panes` tests); overflow-menu and floating-window drag remain separate |
| Selection artwork drag hovers a visible document tab to activate it, then drops editable artwork on its canvas | done | `tests_document_drag`, `edit.dropSelection`, lossless resource and one-step Undo regressions; a release over another document's tiled pane copies it there too (`canvas::panes` tests), and so does a release over a floating window drawn inside the main window (`doc_windows` tests); overflow-menu drag and floating OS windows remain separate |
| A document tab dragged along the tab strip moves its document; a line marks where it goes, the current document and every document's view stay as they were, and a drag off the strip still floats it | done | #5663, [public source](https://helpx.adobe.com/illustrator/using/customizing-workspace.html); `document.move`; `tests::tab_reorder`, `chrome::tests` (drop index with floating and view tabs), `engine` `tests::document_move` |
| A middle-click on a document tab or its × closes it as the × does; closing a modified document's last view asks to save first (VectorCraft addition, as in PhotoCraft) | done | #6506; `chrome::tests::a_middle_click_on_a_tab_closes_it_as_the_close_box_does`; not scored |
| Panels hidden by Tab or Shift+Tab show for a while when the pointer rests on the left or right edge of the window, over the canvas, and hide again when it moves away; Tab shows them for good | done | Part of #5661; `window.panels.peek` ([Workspace basics](https://web.archive.org/web/2014/https://helpx.adobe.com/illustrator/using/workspace-basics.html), "Hide or show all panels"); VectorCraft's own choices: the 6 pt band and the 0.3 s delays, only the docked panels on that side show (floating panels, Tools and the Control bar stay hidden), and nothing shows in Presentation Mode; `panel_docking::tests::resting_on_the_right_edge_shows_the_hidden_panels_over_the_canvas_until_the_pointer_leaves` and the tests after it |
@@ -543,8 +543,10 @@ on canvas release with the original grab point. Source and clipboard preservatio
rendering, swatch conflicts, cancellation, rotated/zoomed views and target Undo/Redo have regression
coverage (`tests_document_drag`, `tests_clipboard`). Under Window › Arrange › Tile, a release over
another document's pane copies the artwork into that document as well, and a release over another
view of the source document moves it (`canvas::panes` tests). Overflow-menu drag and drag into a
floating document window remain separate. Scores and hours unchanged. [Behavior and command details](development.md#drag-artwork-between-document-tabs-2026-10-22).
view of the source document moves it (`canvas::panes` tests). A release over a floating document
window drawn inside the main window, or over the main window's pane while the current document
floats, does the same (`doc_windows` tests); a floating window that is an OS window of its own does
not take the artwork yet. Overflow-menu drag remains separate. Scores and hours unchanged. [Behavior and command details](development.md#drag-artwork-between-document-tabs-2026-10-22).
## Live Paint Bucket