When input injected through the control channel reached the open
Preferences window, an edit on AI Integrations (such as a read or write
folder) could reach the draft and be saved later by a person's OK or
Apply, outside the automation roots. That let an agent driving the UI
widen the folders it may open from and save to.
The window now records that automation drove it. While it stays open,
OK and Apply put the agent settings back as they were read and refuse
them with a message; the person changes them in a Preferences window
they open again. An OK or Apply that a control request sends is refused
without touching the draft.
#10622 changed the tool-name assertion in crates/mcp/src/tests.rs, and
test-lint's all-unguarded rule failed main's gate on it: the all() check
had no emptiness check that the rule recognizes. The test now asserts
that tools are defined and that each name is non-empty on its own, then
checks the name's length and characters.
A star with a radius on each corner stores its corner list in its
shape settings entry. A 1000-point star's entry is longer than the
4,096-byte read limit, so it was dropped on read and the star lost its
pie angles and arc mode on the next edit. The limit is now 128 KiB,
which holds the longest entry a 1000-point star can write.
A nudge that the pixel-grid snap took back still recorded an undo step and
left a rounded live rectangle a live path when an object selected whole
was moved together with direct-selected anchors, because the no-change
check ran only for anchor-only selections. The check now also covers
objects selected whole. The path.moveAnchors params text and the Live
Corners progress entry now state the pixel-grid case as docs/mcp.md does.
A whole star draws every point, so its pie angles no longer stop it
from being stored as a live star. Angles configured on any whole shape
are stored with it, so a later arc mode change uses them.
A corner list longer than the old corner count drops its entries past
the last corner before it is spread, so the corners a new point or
side count adds are sharp and keep the default kind.
The framework names New Document's name field plain Name. While the
dialog is open, the window's shell now shows its dialogs under a words
overlay that names the field Document Name, as it already retitles the
Print dialog. dialogs::shell_words combines both overlays.
This is temporary: storytold/craft-libs#5291 renames the field in the
pattern and also gives Save Document Preset its save icon, which the
pinned framework does not let VectorCraft change. The pin bump that
takes #5291 removes the overlay.
On the Recent tab the heading read "Blank Document Presets (n)", the
same as the preset categories, and Saved was the last tab, after every
category. Before the move to the shared dialog, Recent had its own
heading and Saved came right after it.
The dialog now turns on the shared dialog's recent_items and
saved_after_recent options: Recent reads "Your Recent Items (n)" over
four cards to a row, and the tabs read Recent, Saved, then the
categories.
Recent keeps one entry per size and units, so an A4 made in pixels and an
A4 made in millimeters are two entries. The Recent cards decided which
entry the Preset Details fields came from by name, width and height only,
so every entry of that size showed the units chosen in Preset Details and
the two cards looked the same.
The settings now keep the units of the card or entry they were filled
from, and only the entry in those units shows the chosen units. The
other entries show their own. The dialog's fields list them as
basedOnUnits next to basedOn, so a set from outside the dialog keeps
them; editing any field but the units or the orientation in Preset
Details clears them, and the cards then match the entry in the units
shown.
* Retype: add a context menu to matching-font rows
A secondary click, or Shift+F10 on the focused row, selects a font row in
the Retype panel without setting its font and opens a menu with Apply Font
(what a click on the row does; off without live text selected), the panel
menu's sample sizes and Reset Retype Panel. The menu closes when the list
or the document changes (G12).
* Rerun CI: the apt package download failed in a test shard's setup
---------
Co-authored-by: ruchirguitar <[email protected]>
Co-authored-by: FredApps <[email protected]>
A live star whose ratio is below 0.01, which object.setLiveShape takes,
lost its inner radius and its live shape when addon.shapes.configure
changed another value: the stored ratio was clamped to 0.01 when the
star was drawn and no longer counted as live. Any ratio from 0 to 1 now
draws and stays live as it is.
A corner list shorter than the star's or polygon's corners counted as
one shared radius, so a new point or side count gave the missing corners
the first corner's radius. The missing corners now stay sharp.
A ratio that changes which corners a rounded star cuts is now an error
with radius or kind in the same call, as points is, since the corners
selected before it no longer name the same corners. The anchor selection
is dropped by the same check.
An anchor nudge on a pixel-aligned rounded rectangle or polygon that the
pixel-grid snap cancels recorded an undo step and left the shape a live
path, because the anchor edit converts the live shape before the snap
runs. The no-change check now treats that conversion as no change when
the converted live shape matches what the same anchors would give
unmoved, so the shape stays a live rectangle and no undo step is
recorded. A change to the uncut outline or the corner settings still
counts as a change.
With two direction handles picked, a Cmd/Ctrl+Shift press on one of them
drags that handle alone with its opposite handle mirrored and its angle
constrained. Shift kept the press from counting as a press on one of
several picked handles, so the press did not record the picks, and its
release after a drag, or Escape during it, left only the pressed handle.
The press now records the picks for any mirroring press on one of several
picked handles, with or without Shift. Shift still keeps a drag from
moving every picked handle, and a Shift-click still adds or removes the
pressed handle.
A Cmd/Ctrl press on one of several picked direction handles drags that
handle alone so its opposite handle mirrors. The press cleared the picked
handles, and neither the release nor Escape restored them, so after the
drag only the pressed handle could be picked again.
The press now records that it is such a mirroring press. Its release
after a drag, and Escape during the drag, restore the handles that were
picked when the press began. A drag without Cmd/Ctrl still moves every
picked handle, and a click still picks the pressed handle alone.
dock::tests::idle_frames_replay_the_color_panel failed now and then with
"idle frames replay the Color panel" (left: 1, right: 0). The app starts
the scan of the installed fonts on a background thread, and frames do
not wait for it. When the scan ends, the fonts' generation changes, and
a panel body's inputs hold that generation through layout_inputs. On a
loaded machine the scan can end after the helper's two settle frames,
so the first idle frame runs the body once.
The panel() helper now calls FontDb::global().family_list() after
making the app, which waits for that scan (or runs it), as the font
menu, properties and native menu tests already do. Every test in the
module goes through panel(), so all of them get the fix.