A graphic style picked with nothing selected and then redefined gave new
art and type the look picked with the new definition's isolate and
knockout, still linked to the style. New art now links to the style only
while its fills, strokes, effects, opacity and blend mode match the
style's current definition; otherwise it keeps the look picked without
the link, isolate or knockout. appearance.newArt reports the style the
same way, and undoing the redefinition links new art again.
New type made with the look paint.default gives in a document whose
Default Graphic Style was redefined took that look and lost its
characters' color, which failed
an_open_document_takes_another_profiles_default_fill_stroke_and_font.
That look is the document's default, so new type made with it keeps its
characters' color, as with the shipped default.
A graphic style picked in one document and used for new type in another
lost its look when the style was one plain fill and stroke, and lost its
opacity and blend mode in every case, because both checks read the style
name that is dropped outside the style's document. New type now checks
whether its look came from a graphic style separately from the link: the
link is still left out in another document, the look and transparency
are not.
The docs say that area type made with `text.create` and `area` takes the
template, and only Type on a Path and `text.createInPath` area type keep
the default appearance.
New art and type took the graphic style picked with nothing selected by
its name, so in another document they were linked to a style of the same
name there, and took its isolate and knockout. The template now records
the document the style came from, and new art elsewhere takes the look
without the link.
New area type that text wrap moves as it is made (an Auto Size frame
below a wrap object grows) had the template's placed gradients fitted to
the frame before the reflow. Both ways of making type now let text wrap
reflow it first and fit the gradients to the frame it ends with; type
whose bounds do not change keeps its placement.
The docs name text.create as the command whose type takes the template,
state that Type on a Path and Area Type keep the default appearance, and
note that a color given to text.create keeps the characters' fill under
Override Character Color.
New art made with a graphic style picked with nothing selected took the
style's opacity and blend mode but kept the default isolate and
knockout. A style with Isolate Blending or Knockout Group set therefore
left the new object unlinked at once, and Redefine Graphic Style
skipped it. New objects and new type linked to a style now take its
isolate and knockout too.
With New Art Has Basic Appearance off and a basic graphic style picked
with nothing selected, only the first new type took the style. New type
was never linked to the style, so the next one inherited an unlinked
basic look and came out plain.
New type made with a graphic style's look now takes the style's opacity
and blend mode and is linked to it, as graphicStyle.apply does for type.
Other new type keeps its own opacity and blend mode.
During an add-on dialog's preview, a command from outside the dialog no
longer acts on a path whose selected anchors the preview renumbered (Set
Corners recut it), so Clear does not delete other points of the base
path. A refused outside command leaves the dialog's own selection as it
was, while a command that ran, such as Deselect, still sets it. The
journal records the selection the command acts on before it, so an
action replays it on the same objects.
In the Flatpak build the save panel answers with a path in the document
portal, which puts only that exact name into the folder picked. Three
more save panels changed the answer before writing, so the write
succeeded inside the portal and no file appeared:
- Keyboard Shortcuts > Export Text added or replaced the extension of
the format picked (list became list.pdf).
- Save Metadata Template added .xmp to a name typed without it.
- Unembed added the stored image format's extension to a name typed
without one (links.unembed does this in the engine).
Each now opens the save panel again in the answer's folder, suggesting
the completed name, and the status bar says why. Its answer is written.
Paths outside the portal are unchanged. The check reuses the helper the
main Save and Export flows use, now shared as
io::save::portal_ask_again, and the engine exposes
links::unembed_path so the panel knows the name Unembed writes.
A canceled undo group, or a canceled undo scope that put back an earlier
snapshot, now advances the document's history restore count, as Undo
and Redo do. The same steps can make an equal object with the same id
again after such a cancel, so Raster Settings, Placement Options and
Create Object Mosaic ask to be reopened. A scope canceled without an
edit puts back the same snapshot and does not count.
Raster Settings OK also refuses while a tool edit computed on another
thread is pending, since running the command would apply that edit
first, after the targets were checked.
When the objects the dialog opened on render again, OK clears their
earlier fallback warning from the status bar while it still shows it,
unless a selected object still gives that warning; the selection's
first other warning takes its place.
text.create gave new type an empty appearance whatever new art's
template held, so type made with the Type tools ignored New Art Has
Basic Appearance off and a graphic style picked with nothing selected.
New type now takes the template's fills, strokes and effects when the
template is more than one plain fill and stroke or comes from a graphic
style. With Override Character Color on, its characters lose the fill
and stroke the template paints, as when a style is applied to type; a
color given to text.create keeps the characters' fill. With the option
on and no style picked, new type is unchanged. Type keeps its own
opacity and blend mode, as before.
Docs: docs/mcp.md (New art), docs/target-app-parity.md.
app.showColorPicker answers the run between slices, when the active
color settings hold the profiles of the document the window shows. A
pick in the run's own document, made or assigned other profiles by the
script, was converted to that document's RGB space and separated to CMYK
through the window's profiles instead.
The dialog now carries the RGB and CMYK profiles assigned to the run's
active document when the picker opens. On OK a display-sRGB pick (hex,
sample, HSB) is taken into that document's RGB space, RGB values typed
into the picker convert from the shown RGB profile to the document's,
and an RGB pick in a CMYK document separates through the document's
CMYK profile.
The craft-libs pins take main's rev. Until storytold/craft-libs#5381 merges,
crates/cad/src/blocks_compat.rs writes the block records, BLOCK definitions
and INSERT entities that #5381 adds to the drawing writer.
Adds a test that builds a document where a path outside a group has the
same id as a path in the group, and checks that the group's
pathItems.removeAll() throws and deletes nothing.