A stored plug-in that didn't install, for example because its load
panicked or its module is broken, was only written to the log. The
person could not see it or load it again without restarting.
- plugin.list gains failed: [{file, error, from}], the plug-in files
that didn't load in this process: those of the Plug-ins folder, and
those the folder report of the Additional Plug-ins Folder (or the
folder plugin.reload loaded last) lists as failed. Disabled plug-ins,
files turned off since they failed, and modules skipped because
another install or removal of their id came first are left out. A
file that both loads list is listed once, as a stored file. A
plugin.reload replaces only the folder's rows. Installing or removing
a plug-in whose module is in a stored file that failed, or a later
load that installs it, takes the file off the list.
- plugin.retry {file?} loads one of those files again, or all of them,
with the same checks as the load it failed in, and reports for each
whether this retry installed it. A folder file's row in the folder
report moves to loaded or keeps its new error. Under automation read
roots, a file outside them is not read again, its row stays listed,
and the reply names it and its folder by their names. Safe Mode
returns an error.
- plugin.setEnabled {file} also takes the name failed gives a file
outside the read roots.
- Object › Plug-ins › Plug-ins That Didn't Load… lists the files with
why; Retry All loads them again under the read roots the list opened
under, and the status bar says how many loaded. The item is disabled
while nothing failed.
- A command.batch that runs a filter and then retries a module with
its id turns Apply Last Filter off, as a reinstall does.
Docs: docs/plugins.md (Plug-ins that didn't load), docs/mcp.md.
Assigning a DocumentPreset setting stored any value until the run ended,
and the value was checked only when addDocument read it. A script could
keep gigabytes of strings in presets that no addDocument would accept.
The setter now checks the value before storing it: a value of the
setting's enumeration, a finite number, a title of at most 4096 bytes,
true or false for documentBleedLink, or four finite numbers for
documentBleedOffsetRect. undefined unsets any setting, and the three
settings addDocument does not apply yet also take null. A value of
another kind throws a TypeError, a longer title throws a RangeError, and
the setting keeps its old value. addDocument still checks the ranges.
document.export and Export As write .cmx exchange files with 32-bit
coordinates through craft-cdr's write_cmx, in the layouts the .cmx
reader reads. The chosen artboard is the file's page, or with Use
Artboards each chosen artboard is a page of one file, and each layer with
art on a page is a layer of that page.
- vectorcraft-metafile gets painted_layers: the WMF writer's walk of the
visible art, layer by layer, with each fill's and stroke's solid paint,
its miter limit and the swatches of the document and of the documents
it places.
- The export keeps CMYK, RGB, gray, spot colors at their tints and
Registration; type is written as outlines, and gradients and patterns
as one color. The warnings name images, clipping masks, transparency,
art past a page's edge, dash offsets, dashes aligned to corners, miter
limits, and each loss the writer reports: nonzero fills written
even-odd, long paths, rounded dashes, shortened names, low spot tints,
and spot colors without a name or a known color.
With Use Preview Bounds on, a Linear point landed only on the four corners
of the preview bounds of a path or compound path. A group's own stroke or
effects and stroked type widen the bounds that W and H show, but gave no
corner to pick, and a click beside a stroked edge snapped to the stroke's
centerline.
- Stroked type, and a group or layer with fills, strokes or effects of
its own, now give the corners of their preview bounds. A group's corner
is held against the member path whose own box reaches nearest to it. A
point on type has no link and stays where it was picked. A group or
layer holding dimension artwork gives no corner, since its bounds take
in the dimensions.
- A click that no anchor, corner, line end, guide, grid or pixel snapping
places lands on the nearest point of an edge of the preview bounds
within 8 pixels when no segment or dimension line is nearer. The point
is held against the path holding the edge's nearer corner.
- Group members count against the same per-move member work as compound
paths; a group holding more than one move may read is not read again
for that revision.
Docs: docs/dimensions.md, docs/target-app-parity.md.
With the Selection tool, the first Cmd-click (Ctrl on Windows and Linux)
now always goes to Direct Selection or Group Selection, also over a
selected object: it picks the object under the pointer, a member of a
group included, and arms Select Behind. While Cmd stays held, each
further Cmd-click over the selection selects the next object under the
pointer, counting the members of groups one by one, and comes back to
the topmost after the last. Letting go of Cmd (a pointer, hover or key
event without it), choosing another tool or switching documents ends it.
Before, the first Cmd-click over a selected object selected the object
behind it at once, and Select Behind stepped through whole groups, so a
member lying under another member of the same group could not be
reached that way.
- doc::hit::leaves_at lists the objects a Direct Selection click picks
under a point, topmost first, in one traversal of the document; a
clipping mask or a group drawn with its own geometry effects falls back
to repeated hit tests. The list stops at 256 objects.
- The session keeps the arming (Session::behind_armed) and passes it to
the tools as ToolContext::behind_armed.
- Docs: docs/control-protocol.md (ui.pointer), docs/mcp.md,
docs/target-app-parity.md and docs/ui-parity.md.
In Outline mode without Show Images in Outline Mode, an envelope holding
a placed document distorts the document's crossed box, since the
envelope reads the art that PlacedDocument::art gives while placed
documents are crossed. Each step of a blend of placed documents is a
placed document itself, so it is drawn crossed.
- outline_mode_warps_an_enveloped_placed_documents_crossed_box: an Arc
warp of a placed document draws the same pixels as the same warp of
its crossed box as a plain path, and the file's art with Show Images
in Outline Mode on.
- outline_mode_draws_each_step_of_a_blend_of_placed_documents_crossed:
the step between two placed ends is crossed, and drawn uncrossed with
the option on.
Docs: docs/ui-parity.md row, docs/mcp.md outlineImages.
When a clipped subpath had more segments or crossings than the crossing
search takes, Fill Area dropped it before the search, so a square that
its visible part crossed was still filled whole. Such a subpath now
stays out of the maps but is kept aside with the masks around it, and
an area it crosses or comes within the gap of is not filled when every
one of those masks reaches the area. An area it stays clear of, or
crosses only where a mask hides it, is filled as before. The hover
counts these subpaths and their masks when it decides whether to
search on another thread. docs/mcp.md describes the rule.
Follows #9336.
The font that the most selected shapes match is chosen per shape, among
the fonts that shape matches (crates/engine/src/cmd/retype.rs, `ranked`
over the part's own matches). A shape with no match in that font is set
in the first of its own fonts in the same order, so one selection can
become type in several fonts. The paragraph now says so.
On macOS, Copy and Cut put one format on the pasteboard: the text (a
type-only copy's text, or the SVG markup with Include SVG Code), else
the picture as TIFF. The PDF that the Clipboard Handling PDF setting
makes and the SVG that Include SVG Code makes were dropped, so apps
that paste vector art got only a TIFF or plain text.
After arboard writes the text or the picture, the other formats are
now added to the same pasteboard item: the SVG as public.svg-image,
the PDF under the system's PDF type and the PNG as public.png, in the
order Copy offers them. A type that can't be added is logged, and
what arboard wrote still carries the copy. This follows craft-libs'
offer/macos.rs. The ownership check still compares the text or
picture arboard wrote.
The Clipboard Handling sentence for PDF now names Windows and macOS.
In Outline mode without Show Images in Outline Mode, a placed document
with an effect that changes geometry (Transform, Roughen, plug-in
effects), its own or its group's, drew its file's art reshaped and
without the X. The effects now reshape the crossed box instead, so a
Transform effect moves the crossed box.
- While a frame draws placed documents crossed, a placed document's art
is its box with both diagonals (PlacedDocument::crossed_art), so every
effect and evaluation that reads that art uses the crossed box.
- Layers are drawn and measured in the mode their Layer Options give
them: a template layer in Outline view still shows the file's art,
and a layer or sublayer whose Preview is off shows the crossed box.
A layer with effects of its own now follows its Layer Options too;
before, it drew in the view's mode.
- Kept effect art, cull bounds and the areas redrawn after an edit are
measured in that mode and kept apart per mode.
Docs: docs/ui-parity.md row done, docs/mcp.md outlineImages.
addon.pathtools.shape.set rewrote only the path and the shape's numbers, so
a linked opacity mask, placed gradients and pattern tiles stayed at their
old place when the shape moved, turned or changed size (a center-handle
drag, an explicit center, W or H with a reference point). The edit now
applies the transform between the old and new numbers to the object, as
object.scale and object.rotate do, and then sets the new outline. Scale
Strokes & Effects and Transform Patterns come from the new `strokes` and
`patterns` params or the preferences.
A script's documents[0] was the first tab, not the active document, so
scripts that read app.documents[0] as the document in front acted on
another one. The scripting guide says documents[0] is always the active
document:
https://ai-scripting.docsforadobe.dev/scriptingJavascript/objectReferences/
Each open document now records when it last became the current one.
documents lists the current document first and then the others from the
one current most recently to the one current longest ago (VectorCraft's
own rule). documents["name"] and getByName search in the same order. A
change a script makes to a document in the back switches to it and back,
and that switch no longer moves the document in the list.
Three tests that read documents[0] as the first tab with two documents
open now read documents[1].
The params text of paint.setFill and paint.setStroke said a graph series
stores a path's opacity when `opacity` changed it. The commands store it
whenever `opacity` writes the topmost visible row of the kind, also when
the row already had that opacity (capture_series_opacity_writes). The
text now says so, and docs/mcp.md states the rule with the other series
paint rules.
With Smart Guides on, a path selected whole that Direct Selection or
Group Selection moved held by a point of its edge (a press on its fill
within 6 screen points of the edge, and with Group Selection also a
press on its stroke or, in Outline view, its outline) snapped that point
only to other anchors and centers, or lined its bounds up. It now snaps
as the Selection tool's edge hold does since #8617: the point also lands
on the other objects' paths ("path") and where paths and ruler guides
cross ("intersect"), and on a straight path the selection slides along
it until its bounds line up.
The shape tools move the selection only from its center point, which
snaps as the Selection tool's center press does, so they are unchanged.
The example filter parsed its input with serde_json's default float
parser and handed every object back with its `path`. A coordinate could
come back changed in its last digit, which the host reads as a new path:
a live shape became a plain path after a color-only run, and a compound
path with a hidden, locked or guide member was refused.
The filter now leaves `path` out of each object it returns, so each
object keeps its geometry, as docs/plugins.md advises for a filter that
does not change it. The fixture desaturate.wasm is rebuilt from the
source with build.sh.
Docs: docs/plugins.md.
docs/mcp.md said a near-matched shape becomes the glyph it is closest
to. The command sets every shape in the font that the most selected
shapes match, and among fonts that as many shapes match, in the one
whose glyphs fit them closest in all (crates/engine/src/cmd/retype.rs,
the face votes before the lines are built), so a closer glyph in
another font is not used. The paragraph now says so.
Type in a spot ink or a global process color was saved to the text
document as its process values alone (a /SimplePaint with key 0), so
the saved file opened with the type in a plain process color: off its
ink's plate on separations, and white type in a white ink on none.
Saving warned about it ("swatch links of its colors").
A run's fill or stroke now names (key 5 of a /CAITextPaint) an art
style of one paint, its fill alone on (`0 1 Xd`), whose paint is the
color as a path's fill writes it (`x`, `Xx`, `Xk`, or `Xs` for
Registration). That is the form the .ai reader takes the ink and the
tint from since the previous change; key 0 keeps the process values.
Each style is read back with the reader's own parser before it is
used, and a link is kept only when it gives the same swatch and tint.
Those runs no longer count among the attributes of type left out;
a link to a process swatch that isn't global still does, and the
warning's text now says so.
Test in crates/eps/src/ai_editing/tests.rs. The parity doc has the row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>