In debug and test builds, a framework list, table or tile grid shown in a
dialog body that scrolls must cap its rows or take its natural height.
Six dialogs did neither, and the dialog drew only the line "Internal
error: a collection owns its scroll ... (16.3)" in place of its controls
and buttons. Release builds were not affected.
- Select by Artboards: the artboard list shows 9 rows before it scrolls.
- Select by Link Status: the image table shows 9 rows.
- Find Nearest Swatch: the match list shows 12 rows.
- Apply SVG Filter: the filter list shows 7 rows.
- Composite Fonts: a custom set's characters show 5 rows.
- Bullets and Numbering: the preset tiles take their natural height,
so every preset shows without a scroll of its own.
Each dialog has a test that opens it and checks that its list content
and its buttons are drawn.
The Formats row (iOS, Android, Format Presets and Format Settings) was a
content-sized row aligned SpaceBetween, so it had no room to spread: the
buttons sat right after the label instead of at the column's right edge,
and the row could not narrow. In the app's least window (800 x 500) the
format grid stacks its cells in a 183 pt column, and the row ran 41 pt
past it, putting the Format Settings button past the dialog's right edge.
The row now fills the column, and its buttons wrap onto another line when
the column is too narrow for them. Asset Export draws the same row.
Since the move to the craft UI framework each document's view keeps the
area it last drew the document in, so Document.views now gives a view
for every document the app has drawn, in a tab, a tiled pane or a
floating window, sized as that area. A document the app has not drawn
yet has no view. View and Views also get toString, as the other script
objects have.
script.check counted write(), writeln(), copy(), createAlias(), open(),
read(), readch(), readln(), openDlg() and saveDlg() as file reads,
writes or dialogs on any object that may hold a File or Folder object.
A Folder object has none of these functions, so on new Folder(...), a
Folder place such as Folder.temp (other than Folder.current), or a
variable that only ever holds one, the call fails without reaching the
file system. The check now leaves those calls out, using the same rule
that already leaves out setting length, hidden or readonly on such an
object. Folder(...) without new and Folder.current may hold a File
object, so calls on them still count, and the Folder object's own
create(), remove(), rename(), getFiles() and selectDlg() still count
on every object.
Folder object functions:
https://extendscript.docsforadobe.dev/file-system-access/folder-object/
File object functions:
https://extendscript.docsforadobe.dev/file-system-access/file-object/
docs/mcp.md and the progress line in docs/target-app-parity.md state
the rule.
The format rows (Scale, Suffix, Format and Remove) laid out over four
Content columns. The Format select is at least a field length wide
whatever room its column offers, and Scale took the room the other
columns leave at their least, so wherever the grid did not stack the
cells, Format and Remove ran past the panel's right edge: at 300 pt,
Remove ended at 481 pt. The Save As Preset row under the table then
laid out in the widened section and ran past the edge too. Export for
Screens draws the same rows.
A script that read or assigned a document's defaultFillColor,
defaultStrokeWidth or another default paint member, or read scaleFactor,
got undefined. The twelve default members now read and set the fill,
stroke and stroke options of the next object drawn, and scaleFactor
reads 1.
- appearance.setNewArt sets new art's fill, stroke and stroke options
whatever is selected, leaving the selection, its art, the active proxy
and Recent Colors as they were. Every value is checked before anything
changes.
- The default members run it only when the value changes. A bad value
throws an error with nothing changed.
- paths.rs shares its dash length checks with defaultStrokeDashes.
Document.views holds one view while the desktop app shows the document
on its canvas: every document's while documents are under the tabs, and
only the current document's while they are tiled or one floats in a
window. Without a window (headless) it holds none. The view has
typename, parent, bounds (the part of the document the canvas shows),
centerPoint, zoom (1 is 100%, from 0.0313 to 640) and screenMode.
Setting zoom, centerPoint or screenMode changes the window when the
slice ends, runs no command and adds no undo step, and a run that fails
keeps the change. The screen mode is the app's, so setting it on one
view sets it on every view. A bad value throws and leaves the view as
it was.
Docs: docs/mcp.md, docs/target-app-parity.md.
The Align, Distribute, Distribute Spacing, Align To and Pathfinder icons
keep their art 3 units inside a 24-unit view box. The framework draws
every icon in a 16 pt square, so this art spans 12 pt, smaller than the
Lucide icons next to it and smaller than the 15 pt the Align Objects,
Distribute Objects and Pathfinder buttons drew before the framework
port.
The 28 icons now have a 20-unit view box from 2 to 22, the padding the
Lucide icons keep. Their width and height change with it, so strokes
keep their width in pixels. The art itself is unchanged.
A new panel harness method returns a frame's shapes with the images of
its textures, and two tests check that each Align and Pathfinder panel
icon spans at least 20/24 of its square. Both fail without the change
(0.75).
Document Setup's Grid Colors row now answers through the dialog's color request: an answer equal to the color an entry's box showed leaves a two-color list's entry in its own model.
A script that called app.redraw() stopped with an error, because app had
no such member. The call now returns undefined and adds no undo step. A
run works on its own copy of the documents, and the app draws the
documents as they were before the run until the run ends, so the call
has nothing new to draw.
When the script's report has changed since the Other Script… warning
opened, Run runs nothing, says so in the status bar and opens the
warning again with the new report.
Loading a JavaScript plug-in read its JSON into a map that sorts its keys and
wrote it out again before parsing the manifest, so `params` and each command's
`params` reached dialogs in alphabetical order. The manifest is now parsed from
the plug-in's own JSON (`Manifest::parse_text`), with its size still counted
without `script` and `source`, and a `.vcplugin` read from a folder has
`source` added to its own text instead of being written out again.
The attempt now records whether the memo inputs still match the settled
pass right after the edit pass, and accepts it only when they match after
both the edit pass and the zoom pass. Before, a change and restore of the
hyphenation exceptions between the two passes cleared the memo, left the
zoom check passing, and failed the assertion that the object not edited
keeps its layout.
Without a window to copy through, a Copy Color As item still answers its
text, puts nothing on the clipboard and leaves the status bar as it was.
Before, the status bar said the color was copied.
The save panel and the Tracing Presets Import... picker passed each file
type's English label to the picker. They now name it with its
file-filter row, falling back to the plain row and then to English.
A control whose visible is false, and everything in it, no longer adds to
its container's size or pushes the next control along. An event sent with
ui.dialog.confirm while the dialog still holds events the script has not
taken goes after them, so handlers run in the order the events were given.
A page item's blendingMode gives the object's own blend mode as a
BlendModes value, and assigning one sets it through object.setProps.
The global BlendModes holds the 16 members the scripting constants page
lists; COLORBLEND and SATURATIONBLEND set the Color and Saturation
modes. Any other value throws "blendingMode needs a BlendModes value"
and changes nothing. Assigning the mode the object has adds no undo
step. An object in a hidden or locked layer refuses the change with
"Cannot edit", as opacity does.
The Safe Mode choice after a stopped launch moves to main's dialog host and keeps listing every
plug-in that was loading: one name in the sentence, or the list with "Disable Listed Plug-ins and
Continue". Automation requests wait in the queue while plug-ins load, and one past its deadline is
answered as expired. File > Open and opening a file still wait for the plug-ins still loading.
A live rectangle or polygon with Relative rounding showed the fraction it stores in its Corner Radius fields, while the Corners pop-up showed the length. The fields now show the length, which object.setLiveShape takes.