With text selected in a panel's label, Copy and Cut on keys that arrive
as key presses (F3 and F2 off macOS, or another key assigned to them)
copied or cut the art. They now leave the Copy or Cut to the labels, as
Cmd/Ctrl+C and X do. A key another window sent on that runs Copy or Cut
still acts on the art.
The menu bar's Cut, clicked with no modifier held, also cut the art:
its Cut event was turned back into a plain X key press, the shortcut
of Toggle Fill/Stroke Focus. The Copy or Cut the menu leaves to the
labels is now kept as it is.
- Tests: F3 and F2, the menu bar's Cut, and Cut in the unwritten-formats
test; the keys another window sends on go through the host's raw
input hook; a test drags across a real label in a second viewport
and copies it.
- Docs: the progress line says Copy and Cut act on the art when the
label is not drawn, lists the tests, and names F3 and F2 among the
limits in a floating panel's window.
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.
Running a script or a plug-in now ends the spot color base's link, as a
batch step already did, so a script that deletes the spot color and makes
another of the same name does not make the new one the base. Commands that
only list scripts or plug-ins keep the link.
While the link waits for an Undo, the color it captures before a command is
the one the guide shows, not that of a new spot color of the same name.
The Enclosing Lasso Tool joins the Lasso group in both shipped
toolbars, right after the Lasso, and stays in Object › Plug-ins ›
Enclosing Lasso. The All Tools drawer lists it once, under Select, and
Edit › Keyboard Shortcuts › Tools lists it once. It has no default
shortcut, and the Lasso keeps Q. A toolbar the user already edited
keeps its saved layout; Reset Toolbar adds the tool.
Fixes#6117
Look::takes let a glyph filled only join a run whose glyphs were also
stroked, so after mode 2 text a mode 0 glyph took the run's stroke:
`2 Tr (B) Tj 0 Tr (C) Tj` came in as "BC" stroked throughout. A glyph
now joins only a run drawn alike (fill, stroke, overprints), so a glyph
filled only starts a run of its own and takes a stroke only when the
matched-stroke path (#8039) strokes it.
flush_stroke no longer strokes a whole run in place: a whole run goes
through the split and join code, so fill and stroke rendering glyph by
glyph still builds one stroked run.
A Swatch Options rename of the spot color base keeps it the base, also
as a command.batch step, and so do an Undo and a Redo of the rename.
Deleting the swatch or its color group, merging it into another, making
it a process color or closing its document ends the link, so a later
spot color of the same name does not become the base until it is chosen
again. The base keeps the color it showed.
A batch's Activate Document, New, Open, Close and Move Document steps
are followed, so steps in another document leave the link alone. When
the swatch goes in a way the panel does not follow, the link waits for
an Undo or Redo, and the next other command ends it.
A PDF/X-4 export wrote xmp:ModifyDate and xmp:CreateDate in its XMP
metadata but no xmp:MetadataDate. The PDF/X-4 metadata edit now adds
xmp:MetadataDate next to xmp:ModifyDate, with the same value, and grows
the stream's /Length to match. When the export dates the file as modified
later, post::modification_date already rewrites every xmp:MetadataDate,
so the two dates stay equal.
PDF/X-1a, PDF/X-3, PDF/A and plain PDF exports are unchanged.