Each Window menu row ran `window.panel {panel, toggle: true}`, while the
panel's shortcut entry (`panel:<id>`) binds `window.panel {panel}`. The
menu row was a separate command with no binding, so no Window row showed
a chord, as production's did.
The rows now name the command the shortcut runs, and the catalog holds
one command per panel. `ui.menu.list` still lists each Window row with
`toggle: true`, and a click on the row runs those listed params, so a
click puts a showing panel away as before. A plug-in row that shows a
panel the Window menu does not list (Fold Lines) keeps its params.
- Paintbrush, Blob Brush and Eraser options: the tip dabs draw in a
framework picture at the small sample size, in the muted and normal
text colors.
- Calligraphic Brush options: the nib preview's paper, nib and guide
grays draw as data colors, its guides at the thin stroke width.
- Graphic Styles: the large tip's texture, and the white tile a
thumbnail shows before it loads, draw through the framework painter.
- 3D Classic: Map Art's preview takes the plot size and item gap; the
track cube and Map Art share one set of documented surface grays.
- Transparency: the object thumbnail's fill draws as a data color, and
a disabled mask's cross at the thick stroke width.
- Swatches: None's slash and a disabled mask's cross share one red,
drawn as a data color at the medium and thick stroke widths.
- Revolve gizmo: the axis letters, light labels and readouts are text
runs in the label type role, and an axis letter's plate grows with
the letter.
The recolor and exclude toggle on each Recolor Artwork row asked for the
icons dc-recolor-arrow and dc-recolor-arrow-off, which no icon set had, so
the button drew nothing. The two icons are added: a right arrow for a row
that is recolored and a dashed line without a head for a row that is
excluded, each with its ASSETS.md row and icon_data.rs entry.
A new test, icons::tests::every_icon_id_literal_and_panel_icon_resolves,
reads the crate's source and checks that every icon id written as a
literal or a const, and every icon panel's and dock tab's icon, resolves
in the icon catalog or the app's own set. It fails without the two
icons.
A document names Gilroy-Black as the family Gilroy in the style Black. WantedFonts only indexed and checked the family name, so a file whose own family is Gilroy-Black, with no style, was never offered, although FontDb::canonical finds that face by its PostScript name once it is cataloged. The joined family and style is now indexed and accepted against a face's PostScript or full name.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A dialog's custom row drawn as a raw egui layout measured as wide as the room it was offered, so DXF Options, New
Swatch, PNG and JPEG Options and Radial Blur opened at the window's full width. The rows in the export options, Save
Options, Document Setup, Swatch Options, the effect rows, the Clean Up and color add-ons, the edit toolbar, Edit
Original and the preferences file buttons now use Row and Stack.
A framework container may run its body more than once in a pass. Presses and picks inside a body are kept in locals and
applied after it: the HP-GL pen rows apply Add, Remove and the Pen Table switch once, and the legacy board picker
toggles a board once.
document.find with `select: true` is journaled, so during a tool drag it
now runs outside the drag like other journaled commands. It finds and
selects only objects outside the drag's preview, as its replay before
the drag does.
A ScriptUI dialog's record was added when its show() ended, so an alert,
confirm or prompt a handler opened came first in the report's dialogs.
The record now keeps the place the dialog took when it opened. When the
dialogs its handlers opened leave no room for it, the last of them are
dropped until it fits, and the list stops before it when it does not fit
alone, so the list keeps the first dialogs in the order they opened.
Main moved Save for Web's color table edits to dialogs/save_for_web/color_table.rs. The 256-shift limit and the matching of colors written another way now live there, with their tests in tests_table.rs.
put_back_interaction compares the new-art paints field by field. It now
destructures PaintDefaults without `..`, so a field added to the struct
does not compile until it is handled there.
Illustrator writes a gradient instance around only the last path of a compound path; the paths before it keep the default fill. paints_apart read that as a drawn look whose paths paint apart, so a sunburst's rays became black paths plus one gradient path. Several alike paths followed by one painted with a gradient or pattern are now the subpaths of one compound path, which takes the last path's paint.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The white checks for colorized images in PDF export, EPS export and Print
Ink Fixes now go through DiscardWhite, which replaces
Document::spot_ink and Document::discards_white_overprint. Printed
separations read DiscardWhite with the spot inks they print, so a white
spot ink converted to process inks knocks out there.
A key shifted to itself or a deleted color no longer counts toward the
256 shifts, and a new shift writes `shifted` without those entries. A
map the engine refuses (a key or value that is not a color, two keys
naming one color) is kept whole, so the engine still reports it.
Docs: docs/mcp.md.
The progress line said such a button is labeled with its command's id.
A renamed button shows its own label, and only a button without one
shows the id.
New Document's More Settings now shows the columns a preset's rows give
the current artboards, and a new layout or column count replaces those
rows, in the dialog main rewrote.
Outline joined crossings closer together than the art-size tolerance
multiplied by precision / 0.01. Scale Strokes & Effects scales the art and
the precision together, so scaling both by 10 made that distance 100 times
larger, and crossings that were apart could become one junction.
The distance is now precision / 10000, or the tolerance for the art's
size when that is larger. At the 0.01 pt default it is 0.000001 pt as
before, and scaling the art and the precision together gives the same
pieces at the new size. The params text of object.pathfinder.options and
of the Pathfinder effects, docs/mcp.md and the Pathfinder Options line in
docs/target-app-parity.md describe the new rule.
After the craft UI framework move, `control` no longer exports
`ControlRequest` or `Outcome`; `control::handle` takes a
`craft::automation::ControlRequest` and returns a `Reply`.
- The Label field takes the keyboard focus with its text selected when the
dialog opens, so typing right away goes into it.
- Switching workspaces closes Rename Button, so OK cannot rename a button
of the same name on a toolbar of the same name in the other workspace.
- The params text and docs say a screen reader reads only the label when it
is the command's label or name, and that a null `label` opens the dialog.
When a command run during a tool drag deletes, hides or locks an object
that the drag's preview names in its ids, the preview applied again
leaves that object out, so the drag still edits the others. A preview
left naming no object records no step.
When the command changes the selection, the journal also records the
drag's own selection after the command (select.set, with its anchors,
segments, guides and key, or its slices, target, symbol part or Objects
on Path member), so replaying the journal moves the objects the drag
moved. A targeted object keeps its guides and key, and a path with
every anchor selected keeps them selected as anchors. The current layer
and the highlighted Layers panel rows are left as the drag left them.
Outline treated two chains as one edge when their start, end and midpoint
were within the merge distance. At a coarse Precision, two closed
boundaries that share those three points but part elsewhere (an ellipse
inside a circle, touching at its rightmost and leftmost points) became
one edge, and the inner boundary was dropped.
The ends and midpoint now only pick the candidates. Two chains are one
edge when each lies within the merge distance of the other along its
whole length: every piece is checked at points no farther apart along its
control polygon than that distance, at most 64 to a piece, always
including its middle. Chains whose pieces pair up with control points
within the distance are taken without sampling, so copies of a detailed
path cost no more to merge than before.
- A stored module's file is read again on its worker thread once the module
has loaded, whatever the file's modified time, and the install still skips
a file whose stamp changed since. The UI thread no longer reads the file.
- Stored and folder modules install through registry::install_for_load,
which checks for an install or removal of the id elsewhere while the
plug-ins' write lock is held, and records the module's grant in the same
step. A grant is forgotten only while the plug-in that took that revision
is still installed (registry::revoke_if_installed).
- A grant that a stored load removed and must put back for a later file is
written to grants.json first; when that write fails, the module is not
installed, and a grant put back for a module that then did not install is
removed again.
- A folder load in which a file found no loader thread is loaded again the
next time the preferences are applied. A plugin.reload keeps its report as
the folder last loaded only when no load started after it.
- Loads: a job's time is read while it is marked finished, the deadline check
reads the clock under the same lock, and only the jobs taken from the queue
fail when no worker is left. wait() counts outcomes taken with ready() as
released, so the jobs after them start.
- File › Open checks the path again after waiting for the plug-in loads.
- Tests wait for workers with bounded receives.
Discard White Overprint covers process white only. A white fill or
stroke linked to a spot swatch at a tint above 0% is written as its own
Separation ink and now keeps overprinting. Global process swatches, a
0% tint and a spot swatch without a color still knock out.
- A selected color or list entry written another way (`#00F` for
`#0000ff`) now names its table color: Lock, Transparent, Web Shift and
Delete Color act on it and write it as the table does, and the ring
and button labels follow it.
- Delete Color compares the table's lists as colors, so deleting the
only color left is refused when the selection or a list is written
another way, and a deleted color is taken out of the Lock, Transparent
and Web Shift lists however they write it.
- A Ctrl-click on a selected color takes out every selection entry that
names it.
- A spelling with alpha (`#rrggbbaa`) names no table color, as the
engine reads the table.
Docs: docs/mcp.md.
The row's help joins its notes with the setting's own sentence, which names
VECTORCRAFT_TITLEBAR too, so on Linux the check held with the variable unset.
An error the interpreter throws keeps a hash of its description, and a run compares the error's
current name and message with it to tell whether the text is the script's own. The comparison
copied the whole description first, so a rejected error whose message a script had replaced with
a long string was copied whole at the end of the run. The hash is now fed the strings' code units
a piece at a time along the rope, so nothing is copied, and a change anywhere in the message is
still seen.
Main moved the pdf crate to the craft framework (craft::pdf) and added the
marks and output exports next to this branch's page_widths ones: keep all
three, keep cid::replacement crate-visible for page_widths, and read
craft::pdf in page_widths.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>