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.
The panel kept one start for Shift-click ranges on selection squares, so a
click in another document replaced it, and a Shift-click back in the first
document toggled one row instead of selecting the range. The starts are now
kept per open document, and closed documents' starts are dropped.
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.
A paragraph style's hyphenation, justification, tab stops and list, and a
character style's stroke dash, now refuse a key they don't read, naming the
field, as the style's own keys already did. A misspelled nested key no longer
leaves that setting unchanged without an error.
Hosts from before api 3 refuse the manifest. A host at api 3 without writes
installs the filter, ignores the key and refuses an output that changes the
objects it was given.
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.
With Real-time Drawing off, typing in progress is kept as its own step before
the run is prepared, in plugin.run, a plug-in command and the app's background
start, so the plug-in is given the typed text. A run whose typing started after
it was prepared, with its text still out of the document, is refused, and a
background run that finishes then asks to be run again.
Typing whose text is already in the document is kept only after every check
that can refuse the output has passed, so a refused output leaves the
document, the history and the typing in progress as they were. When keeping it
changes the document, the output is applied to the document as kept.
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.
The narrow-panel test now measures the fifth Type button and holds it to
the 2 pt it reaches past the panel at the narrowest width, since
`Segmented` keeps its segments on one line. The doc comment states the
overflow instead of saying the whole Type row stays inside the panel.
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.
Since the move to the craft UI framework (#8800), a click on the preview
only recentered it and an Alt-click (Option on macOS) did the same, so the
only zoom left was Ctrl or Cmd with the wheel.
A click now zooms in 2x about the point clicked and an Alt-click zooms out
2x, keeping that point under the pointer, within the preview's zoom range
(the fit up to 8x). Zooming out to the fit returns to the fitting view.
The pane's tooltip names the gestures again, and a zoom row under the
preview zooms from the keyboard.
On the Home screen and in the empty window, the canvas returned before the
marks were gathered, so the hidden-character and spelling memos and the list
of text objects kept the closed document's nodes until another document was
shown. The canvas now releases them on any frame with no active document.
When the paths together are over the segment limit, the search maps the
paths near the point and leaves out the ones with the most segments. A
path left out made the search give up on an area when it came within the
gap plus 1 pt of the area's outline, so with Gap Detection off a long line
0.75 pt outside a square stopped a click inside the square from filling
it. A gap bridge reaches at most the gap, so the check now uses the gap
plus the map's 0.05 pt contact tolerance. The 1 pt padding still decides
which paths the search picks.
In isolation mode, shapeBuilder.copyRegion with ids already takes every
path of the isolated layer or group when ids lists it, or a layer or
group that holds it, and ignores the other listed objects. The params
text and docs/mcp.md said only the listed objects inside it counted.
They now describe that case, and a new engine test pins it.