When two File objects held changes to the same file, copy, length, a
new open of the file and a withdrawn grant wrote them in no fixed
order, so the copy or the file could end up with the older object's
bytes. They now write them in the order the objects were opened, as
the end of the run does.
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.
When Tab or Presentation Mode hides the toolbars, choosing a tool in the
Help panel, or a tool's link in a tutorial Help shows, marks nothing.
The panel now puts the reason learn.locateTool returns in the status
bar. The two reasons get rows in every complete-message catalog, and the
message scan reads unavailable(tool, reason) so later reasons need rows
too.
General's description line now shows a sentence for Hold Shortcuts and
for Hold Shortcut Delay, with a row in every catalog, as main requires
for each General setting.
The second click of a double-click on a swatch also counted as a plain
click. After the double-click opened pattern editing, which selects the
tile art, that click applied the pattern swatch to the tile, so the
pattern held a copy of itself. The second click now only opens the
editor; the first click still applies and selects the swatch.
Reported by erolkarino. #7164 by mockydevs makes the engine refuse
painting the tile with its own pattern; this change stops the swatch
panel from sending that paint on a double-click.
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
While a script waited at File.openDialog, File.saveDialog or
Folder.selectDialog, the frame logic asked for a new frame on every
frame. It now skips that request while a file dialog waits, as it does
for alert, confirm and prompt; picks::poll still looks for the
dialog's answer.
The Offset Path case of painted_clipping_type_survives_enclosing_geometry_effect now also checks
the clip region against the type's own outline grown by 1 pt, so a clip region that skips the
effect fails the test even when the fill and stroke art skip it too.
With Interpolate Control Points on, a retracted handle was mapped like
any other and could land a rounding error away from its anchor. On a
smooth anchor, lining the handles up then read that error as a
direction and turned the other handle. A retracted handle now goes to
its anchor's new place exactly.
The palette's command, its shortcut and the search icon now go through one
toggle that marks the palette as toggled, and the palette forgets its
highlight the next time it is drawn. Two runs of the command in one step
(closed, then open again before a frame drew it closed) kept the old row,
and Enter on an empty search ran that row instead of the last pick.
object.setBounds and guide.move move direct-selected anchors through the
same path as object.move, so they already followed the Interpolate
Control Points preference. They now list `interpolate` in their params
text and reject a value that is not true or false, also when the change
only scales the anchors or only guides are selected. A test covers both
commands with the preference on and off and with the param.
The branch moves craft-pdf and the patched hayro and krilla crates to
craft-libs 64b181977a, while xtask pdf-deps still expected main's
0cca4ac6 revision, so the gate stopped at pdf-deps. REV now names the
branch's pin.
The branch moves craft-pdf and the patched hayro and krilla crates to
craft-libs 64b181977a, while xtask pdf-deps still expected main's
0cca4ac6 revision, so the gate stopped at pdf-deps. REV now names the
branch's pin.
When Add to Swatches brought a library pattern whose art links to a global
or spot color, and the document had that name for another color, the
pattern was relinked to the document's color. Adding the library's color
then made a numbered copy that the pattern did not use. The color now comes
in under a numbered name and the pattern links to it, as an added color
does, and the check for a pattern already in the document compares it the
same way.
With Background Save and Background Export on, a package waits for the document's save and started once that save answered without an error, so a save that Cancel Save stopped still let the package be written from a document left unsaved. A canceled save now stops the package, as a failed one does.
The branch moves craft-pdf and the patched hayro and krilla crates to
craft-libs 64b181977a, while xtask pdf-deps still expected main's
0cca4ac6 revision, so the gate stopped at pdf-deps. REV now names the
branch's pin.
A Constrain Ratio side other than width or height, set through
ui.dialog.set, is passed to object.createObjectMosaic, which refuses it,
instead of being read as the width. A Constrain Ratio (lock) that is not
true or false is refused on OK, and the dialog stays open.
A Cancel that came after the encoder filled a streamed save, while the shared stream writer was flushing it or making its last check, came back as a write error, so the save showed an error dialog instead of Save canceled. The same held for the plain string writer. Their Cancel message now maps to the Cancelled error while the save is canceled; any other message, such as one naming the copies a failed replacement kept, stays a write error.
The dialog reads the selected image's size again each frame, before
ui.dialog.set sets fields, and on OK. An image scaled while the dialog is
open shows its new Current Size, and Resize Using Percentages converts
New Size against it, so OK makes the size shown. With no image
selected, switching Resize Using Percentages leaves the fields as they
are and the dialog asks for an image.
Each row now carries its place from when the rows were made, and OK
rewrites the color group by those places. Dragging a color bar no
longer moves a new color, or an excluded row's "keep", onto another
row's swatch.
The five French rows for Smooth Bridge that contain a colon (the Reach
label and four messages about the circles' distance, the gap, the reach
and the bridge count) had an ordinary space before ":". They now use
U+202F, the narrow no-break space, which
french_catalog_uses_nonbreaking_prose_punctuation accepts.
A click without a drag on the selected flare's center or end handle is a
click with the Flare tool again: it opens Flare Tool Options at the
click, and with Alt (Option on macOS) held it draws a flare there with
the tool's options. Before this, the click did nothing.
shape.editFlare also refuses an explicit center or end point that is
not finite where the flare was drawn (`x2 must be a finite coordinate`,
or `y2`, `cx`, `cy`), instead of storing it as null and drawing the
flare with the default path.