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.
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.
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.
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.
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.
The Sides slider is now a framework Slider beside the Sides field in transform/shape.rs; the framework's gesture handling replaces the hand-kept drag state, the end-of-pass hook and the Escape checks in shortcuts.rs.
Show Hidden Characters and Auto Spell Check now share the list of the type in canvas/marks.rs, where main draws both overlays; the tests move to canvas/marks/tests.rs.
A panel shown from the Window menu with no place in the dock floated at
the dock's default float size (192 x 240 pt), which clipped its content:
Asset Export and Image Trace showed only part of their controls.
The space commands float panels into now carries each Window-menu
panel's float size again, whether or not the dock area has drawn: 260 x
360 pt by default, with the larger sizes Properties, Layers, Libraries,
Anchor Inspector and Fold Preview had before. Image Trace opens 420 pt
tall, which shows its controls down to its Advanced section. Floats
dragged out of the dock keep the size they had there.
A start ended before its first frame leaves its adapter recorded as
crashed in graphics-start.json, and the next start leaves that adapter
out. A start ended from outside (a --control session terminated early)
looks the same as a crash in the driver, so on a machine with one GPU,
such as an Apple Silicon Mac, the next start had no adapter left and
failed with "no graphics adapter can show the window".
The selector now tries the adapters that crashed an earlier start
again, with a warning in the log, when leaving them out would leave
none. Adapters a restart left out after they failed in this run of the
app stay left out, and with another adapter to try, the one that
crashed is still left out.
Fixes#9183
Proportional Metrics and the East Asian feature toggles apply typing left unapplied with Real-time Drawing off before they read the text, so the item turns the setting the right way.
- The grant test accepts only a missing grants file as an empty list; any other read error fails it.
- The same-stamp replacement test asserts that the callback rewrote the file before it checks that
nothing installed.
- The loader's ordering test binds the job senders after `loads`, so a failing assertion releases
the held jobs before `loads` waits on them under the manual clock.
app.executeMenuCommand(name) runs the command of a menu item on the
active document. It takes the names selectall, deselectall, group,
ungroup, makeMask, releaseMask, compoundPath, noCompoundPath and
"Fit Artboard to artwork bounds", which fits the active artboard.
Names are matched exactly. Any other name throws an error that names
it, and a name that is not a string throws a TypeError. A menu item
that is not available, with no document open or nothing selected,
does nothing and adds no undo step.
Docs: docs/mcp.md, docs/target-app-parity.md.
window.panel and place_floating opened a panel that has no place in the dock at the end of the
main tab group and then floated it out. Opening it made it the group's front tab, and floating
it out left the group's last tab, Libraries, in front instead of Properties.
* Dock: rail_cards is now column_cards in craft-libs
* Dock: pill panel tabs and rounded floating bodies, as production drew them
* Root looks: neutral link labels, hover command highlight, strong choices, accent slider tracks, filled dialog buttons, spaced sections
* Canvas: artboard edges black for the active artboard and grey for the others, as production drew them
* Canvas: smart guide labels in their overlay's colour, as production drew them
* Canvas: bleed in the error red and artboard marks in the grid grey, as production drew them
* Document tabs: production's strip heights, regular and large
* Floating window close test: aim at the title bar above the window's tab strip
* Place the selection widgets over the canvas, so a frame runs its UI once
SelectionWidgets was laid out in the canvas body's flow, which the layout
check found changed in every frame the canvas drew: the frame was discarded
and its whole UI ran a second time. It is placed over the canvas's rect, as
the other canvas controls are.
* Give nine trials the frames their behaviour needs now that a frame runs its UI once
* Give the merge-press and corner-list trials what their behaviour needs now that a frame runs its UI once
A merge the press frame applies changes the layout, so that frame runs again and its second pass already makes
the held press: the check accepts the lent tool once the merge is no longer pending. The picked corner list fades
out on the clock, which the trial now moves past before it checks the list is gone.
* Pin craft-libs at 357f332549af53e1a273c2952c3e9c44157bef72
* Field labels in the normal ink, semibold document tabs, Stroke and Opacity without a colon, a plain Properties Rotate field, as production drew them
* Only the shown pass of the canvas body starts the frame's panes, so a release over a floating window in the frame the pointer reached it drops the art
* Pin craft-libs at 75efd247498d47e41604f418bceb2adaf0e3b329
* A collapsed panel column's icon groups stand apart by a hairline, as production drew them
* Fill and Stroke chips: production's small square wells with their arrow, in the Properties panel and the Control bar
* The dock's columns stand flush and square at production's widths: a 310-point panel column and a 38-point icon column, the panel tabs in the framework's plain look
* The app bar's end shows Discord, a search icon and the workspace switcher, as production 0.24.1 does; tutorials and Arrange Documents stay in the Window menu
* Home: StartScreen's Column layout as production lays it out: the centred welcome title and subtitle, New and Open, the recent files as rows, Learn, the presets as page cards under Quickly start a new file, and Community's links with Join our Discord as the call to action; the Home title is 26-point (typography.display). The recent-files trial finds rows by name and folder. Needs the framework's StartLayout::Column (craft-libs fix/vc-home)
* Properties: the kind line heads the sections under it (QuietHeader::Heads), so the first draws no divider above it, as production's did
* Link labels (Stroke, Opacity:) draw their underline inside the label (LinkLabelUnderline::Inside), under the text as production drew it; it was clipped away
* Push buttons stand 24 points high (size.button), as production's flat buttons; fields stay 26
* Quiet headings (the kind line, Ellipse Properties:) stand a line of text high over their fields (QuietTitleRow::Text), as production's did
* Layers rows: the thumbnail with a tight gap and 14 points of indent per level (ThumbRows::Tight): 26-point rows as production's
* Layers: the Objects search field fills the filter bar up to its Filter button (ObjectsSearch::Fill), as production's did
* Home: production's "New file" and "Open" words, 60 points of page margin above the title and a 36-point Join our Discord (size.page.margin, size.page.action); New Document's preset cards show blank paper on flat cards (PresetCardLook::Page), as production drew them. Needs craft-libs fix/vc-home 9cf00b80e or later
* Control screenshots: frames keep coming until a capture is answered, not only until it is issued; its readback finishes in a later frame, so with nothing else repainting (the Color flyout open) a screenshot waited for the next wake, where production's capture kept painting
* Icon buttons draw 16-point glyphs (size.icon.glyph_md) in their 26-point buttons, as production's did (60% of the button): Align, the Transform flips, More Options
* craft-libs at next 461493afc: the panel spacing options, the menu Copy after Select All and Home's Column page options; pdf-deps follows
* Files dropped on a floating panel window open as before: the dock now names the panel each drop landed on (craft-libs a2967e3cc), which the app does not use
* The dock takes production 0.24.1's frame: block panel tabs on canvas strips with the column bars 14 points high, the tool column the only card with a square canvas strip on top, docks flush against the canvas with framed icon columns and square docked flyouts, the open panel's icon on the control surface; the status bar's rotation and artboard selects are filled
* craft-libs at next 4bed21baa: VectorCraft's dock frame options (block panel tabs, stepped column cards, flush docks, ruled icon groups with production's grip bands, filled status selects); egui follows the framework to b15ffe9bf; pdf-deps follows
* Color Wheel: the opacity row reads the target and color from the rows' pick
#7642's opacity row used the target, color and color settings of the old panel function, which #9256 split into show_rows. It now reads them from the Pick show_rows gets, and leaves the gap to the stack, as the other rows do.
The object and mask thumbnails sit in a large thumbnail row, whose cells
take their side from size.thumb.lg, but the pictures were requested at a
fixed 48 points. Every built-in size set gives 48 today, so the two only
part when the app's sizes change size.thumb.lg; the pictures were then
rendered smaller or larger than the cells that show them. The request now
reads the token, and a test checks that the picture covers its cell at
both densities and with the token changed.
The end-of-path line sat at x=16 in Butt and Projecting but at x=12 in
Round, and the stroke bar was as opaque as the line, so the line vanished
where it crossed the bar and the three icons looked alike. The line is now
at x=13 in all three over a lighter (0.55) bar, as the stroke-align icons
draw it, and the caps are larger, so Round and Projecting reach 5 units
past the end instead of 4.
Fixes#9229
The light sphere's height follows its width, but it measured with the
width of a band picture, which is its least width when a column measures
it with no room. In a Stack the measuring run then found the light list
shorter than it showed (by 64 pt in the 3D panel test), and "Light
behind the object", the last row, lay outside the Stack and took no
clicks. The sphere now measures with MeasureCx::picture_size, so the
column measures it again at the width it shows at. The light list moves
from ui.vertical into form::stacked: each run edits a copy of the
values, and the copy from the run that is not a measuring run replaces
them.