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.
Each test that expects a shape to stay an outline now passes
`"installed": false`, so the fonts on the test machine do not change its
result or its run time. With the installed fonts searched at tolerance
0.05, overlapping_exact_glyphs_stay_an_outline_when_near_matches_are_allowed
ran past the CI job's limit.
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.
The remembered hue of a gray is dropped once the paint changes and the
same gray comes back while the slider rows are hidden, and
`ui.colorWheel {sliders: "oklch"}` follows the active document's RGB
space. Both tests use the panel fixture that replaced the earlier
harness.
script.startup.run checks then's parameters as script.run checks them,
before any startup script runs. In the app, the message of a startup
script that fails or is stopped, through the quit prompt too, stays in
the status bar's notes after the chosen script ends.
The Variables table ran the row click only when the table's selection
changed. A click on the row that is already highlighted leaves that
selection as it was, so after the art was deselected on the canvas, a
second click on the same variable selected nothing. The table now also
runs the row click on the collection's Picked event, which reports a
click that leaves the selection unchanged.
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.
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.
Fill Area used the full outline of art inside a clipping group, so a
click in the part a mask hides still found an area, and the new path
above the clipping group showed art the mask hid. Now each clipped
path is cut to every mask around it before it bounds areas, nested
clipping groups and clipped layers included: a filled path keeps its
overlap with the mask, and the outline of an unfilled path and open
paths keep only their pieces inside it. A mask that clips to nothing
hides what it clips. The new path still goes above the clipping group.
Follows #8001.
The dock's panel specs set no size limits, so a floating panel's side
could be dragged in to any width and a docked column saved narrower than
PANEL_MIN_WIDTH was drawn at that width, cutting the panel's rows. Every
panel other than the canvas and the toolbars now gives PANEL_MIN_WIDTH
as its least body width, as the app did before the move to the craft UI
framework.
A float placed narrower by window.panel.float or by a saved workspace is
still drawn at the width it was given: the framework's floating window
places that rect without its limits.
After a selection square is clicked, Shift-clicking another selects the
art of every row listed from the last square clicked to this one, down or
up and across sublayers and groups. Shift+Ctrl/Cmd-click adds that art to
the selection. Hidden and locked rows and art outside the isolated group
are left out, and a range does not move where the next Shift-click
starts. Before any square is clicked, Shift-click still adds one row's
art or takes it out. Ctrl/Cmd-click on a square now does the same; it
used to select the row's art alone, as a plain click does.
The panel menu's Select Art of Highlighted Rows selects the art of the
highlighted rows by the same rules.
- layer.selectAll takes {range: [id...], add?}, gathered with
Selection::target_range as the target circles' ranges are.
- layer.selectHighlighted {add?} is new. Neither is an undo step, and
the highlighted rows stay.
- Docs: docs/mcp.md, docs/target-app-parity.md.
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