Export… in the Print Presets, PDF Presets, Transparency Flattener Presets
and Perspective Grid Presets dialogs suggested the document's name
(Untitled.vcprintpresets). It now suggests the selected preset's name with
the format's extension, made safe as a file name the way Export Library…
makes a library's. A built-in preset's file is named without its brackets
([Default] gives Default.vcprintpresets). The four dialogs share one
helper, preset_manager::export, and the web downloads the file under the
same name.
The panel's style browser used one id for every document, and styles
are keyed by name. A rename field left open in one document moved to
the next document's style of the same name, with the text typed so far,
and Enter renamed that document's style. The browser id now includes
the document's uid, so the open rename field and the scroll position
are kept per document.
The new test types into a style's rename field, switches documents,
types again and presses Enter. Without the change the second
document's style is renamed to "XY".
The Align panel's buttons, and the Object > Align and Object > Distribute
items that run the same commands, are UI commands. Their enabled check
returned only true or false, so a dimmed button was described as "command
`Vertical Distribute Top` is not available right now", in its tooltip and
to screen readers.
They now give the reason of the engine command the button runs: "select at
least two objects" for Distribute with fewer than two objects, "nothing
selected" for Align, "no document open". With the Artboard tool chosen
they say how many artboards Distribute needs ("select at least three
artboards", or two with Align to Artboard).
A dimmed menu item's reason is now shown in the interface language, as
the fallback text already was.
The Stylus Wheel and Pressure widths are at least 0.1 pt. A drag keeps the
size when Size is set to Stylus Wheel, or to Pressure after a Fixed start; a
drag that started on Stylus Wheel follows its recorded pen pressure after a
change to Pressure.
In one column the Tools rail shows a single drawing-mode button, named
for the current mode, that cycles the modes. It took the selected look
whenever the mode was not Draw Normal, so a screen reader read "Draw
Normal (Shift+D), toggle button, not pressed" while Draw Normal was the
current mode. The button now has no pressed state: it reads as a button
named for the current mode, and it no longer takes the selected look in
Draw Behind or Draw Inside. In two columns each of the three buttons
still reads pressed when it is the current mode.
Transform Each and Effect > Distort & Transform > Transform named both
the Scale and the Move slider and number field "Horizontal:" and
"Vertical:", so only the unit in the value told them apart. Each
control's accessible name now starts with its row ("Scale Horizontal:",
"Move Vertical:"), and the visible label describes it, as Split Into
Grid names its Gutter and Total fields. The visible labels are
unchanged.
The double-triangle button at the left end of a panel's tab strip ran
window.panel.cycleOptions with no label of its own. No menu item runs
that command, so it has no command definition, and the button took the
command id as its accessible name: screen readers read
"window.panel.cycleOptions" and the button showed no tooltip. The button
now carries the "Cycle Display Sizes" label, which names it and gives it
its tooltip. The string is already in the word catalogs.
A test opens the Stroke panel, reads the access tree and checks that the
button is named "Cycle Display Sizes" and that no button in the window
is named by a command id.
Follow-up to #8800. The Learn panel's skill and tutorial lists keep their
selection, and a click on the row that is already selected reports
CollectionEvent::Picked rather than a selection change, so after Back a
click on the skill or tutorial opened before did nothing. Enter on that
row reports Activate, which the lists also ignored.
The lists now open the item on Picked and Activate as well as on a
selection change, as every row click did before the port.
A plug-in folder load checks each file against the automation roots and,
in a command a script runs, the script's read gate. A file whose name
isn't valid text cannot be checked by name, and without automation roots
it loaded unchecked, also in a script's command. A link with such a name,
in a folder the script may read, loaded a module from anywhere.
Such a file is now refused in a script's command, as it already was under
automation roots. Outside both, it still loads.
Renders the plain nightly tar's launcher from craft-common-actions' shared template.
Independent check: dylanmtaylor compared all 14 app launcher PRs byte for byte with the template rendered from the registry (https://github.com/storytold/craft-common-actions/pull/367#issuecomment-7172085284); this head was re-checked against craft-common-actions main 88148a5.
A save that a confined automation request started stores that request's
file-access scope and automation flag. When the save panel answers in a
later frame, the save pump runs its next step under them, so the question
before replacing a file the panel did not ask about, and its OK, stay
under the request's roots instead of the desktop's access.
Most of this pull request reached main with #4221 (the smooth join and the
redraw preview). What is left:
- A redraw stroke's end bends onto the path over Edit selected paths' distance.
When the stroke's points are far apart (a fast stroke), the bend used to run
on to the next point; a point is now added where the bend stops, and only one
where both ends' bends stop at the same place.
- The preview of a redraw stroke is drawn on top, as with Draw Normal, in Draw
Behind and Draw Inside too; before, it went behind the path or into its clip
group. path.freehand's `leaveSelection` becomes `preview`, which does both.
Both .ai writers write a distorted image at the nearest parallelogram when
it sits 8 deep in opacity masks, symbols, live objects or pattern tiles
(the editing data) or in symbols and live objects (legacy .ai), and leave
out art nested deeper. Their warnings said "more than 8 deep", which named
images the writers never reach. Both now say "nested 8 deep", as
docs/mcp.md does.
* Home: Learn after the presets, as one row of skill cards
The presets stand right under New and Open again, as in 0.24.1, and Learn follows them before Community. Learn is a
Column page section whose heading row ends in the Quick skill guide link (learn.skills), over a raised card per
skill: its title over its tutorials as plain links (learn.show), a page link gap apart. The four cards stand in one
row in a full-width column and two by two in a narrower one. The section is about half as tall as before (161
points at 1600x1000, was 333).
* Chrome: menu titles, title bar cursor and tab close button as production's
The menu bar's titles stand as production's egui buttons (MenuTitleLook::Button): 24 high, 4-point
corners, 2 points beside the text, 6 apart, in place of square 26-high rows padded 6. The title
bar and the panel headers keep the arrow, over the menu titles too (MoveBandCursor::Arrow), where
the move band showed its open hand. A document tab's x is a 12-point glyph that brightens under
the pointer with no fill (TabCloseLook::Glyph), in place of a fill as tall as the tab.
Needs craft-libs fix/vc-look10-chrome (MenuTitleLook, MoveBandCursor, TabCloseLook); the pin moves
when it lands on next.
* craft-libs: next b0d422cf0, with the menu title, move band cursor and tab close looks VectorCraft sets
The narrow-panel row tests compared each control with the floating
panel's body but never checked the body itself, so a body wider than
the requested width would let controls past the panel edge pass.
floated() now asserts the body is no wider than the width the float
asked for.
A file dialog's answer runs its continuation under the file-access
scope and automation flag of the request that opened the dialog. The
questions that follow a request did not keep them, and ran what OK
allows in the unconfined UI frame:
- the Replace question after a save picker names an existing file
(file_asks::ask_replace);
- the question whether a save or export may replace the files it
writes beside the one picked (confirm::ask_replace_files), also when
a Background Save or Export asks it after the request has ended;
- a confirmation whose OK runs a command (confirm::ask), such as the
question before a save loses data.
A save, export or open started by a request confined to its automation
roots could then reach files outside those roots once the person
answered OK, and it no longer ran as automation. Each question now
captures ScopeHandle::capture() and automation_asked() when it is
asked, and its OK runs under them, as a picker's answer does. A
background save or export captures them before it leaves the request.