mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 18:32:23 +00:00
A floating panel's or document's window notes that one of its labels copied the text a Copy or Cut asked for, so the Copy it sends on to the main window copies no art. The note was also set when a field with the keyboard copied its own text, and it stayed until the next Copy or key a window sent on, which then lost its Copy and the formats of an art Copy still being written. - The note is set only when no widget in that window has the keyboard, and it is cleared when the main window's next pass starts. - Only a Copy or Cut another window sent on skips the main window's labels. Before, any key sent on in the same frame, such as a key let go in a floating panel, made Cmd/Ctrl+C on selected label text copy the art. - The menu bar's Copy and Cut drop the art formats not written yet when they leave the event to the labels, also in a frame in which the main window does not have the keyboard. - A test runs passes of a second viewport and checks that a field's copy is not noted and that the note does not outlast the main window's next pass. Other tests check that Copy with label text selected, by its keys or the menu bar's item, drops the art formats not written yet; that Cut on a chord of the user's own, Cmd/Ctrl+C with other keys sent on, and the menu bar's Copy with a Copy sent on copy the label text; and that the art Copy deferred to the next frame runs even when the window has lost the keyboard by then. - docs/target-app-parity.md lists the behavior and the two menu cases that still copy the art: the in-window Edit menu, whose click clears the label's selection, and the menu bar while the selected text is in a floating panel's own window.