A corner of a path's preview bounds took a Linear pick from every anchor
of its own object within 8 pixels, so the top, left, right and bottom
anchors of a small stroked circle, and the anchors of a rotated stroked
shape when zoomed out, could no longer be picked.
- The corner now takes the pick only from the holding path's anchor at
the same corner of the object's geometric bounds. Any other anchor,
of that object or of other art, that is nearer the pointer takes the
point, and the nearest anchor wins a tie as the topmost.
- The path that holds a point picked on a corner is kept from the pick,
instead of being worked out again from the point's position, so a
point that only happens to lie on a corner links to what is under it.
A path deleted between the clicks holds nothing.
- A corner of a compound path whose supplying member is hidden or
locked is not snapped to.
- The hovering test checks the "anchor" label at the corner, and a new
test covers the anchor ring right on the end of a dimension's line.
Docs: docs/dimensions.md and docs/target-app-parity.md say that only the
four corners are snapped to, by VectorCraft's own rule, not the edges of
the preview bounds, a group's own strokes or effects, or type; that a
corner point starts no construction guides; and that the dimension
measures W and H when it is drawn, since a later stroke weight change or
a scale with Scale Strokes off moves the point with the anchors.
A window opened over a dialog (Import Shortcut Set over Keyboard
Shortcuts) held only the modal window drawn last in the pass before it
opened. When the dialog had an alert of its own drawn after it, the new
window held the alert instead, and when the new window closed the dialog
started again at its top. A second modal window that opened in the same
pass, such as an alert of the new window, was also counted as opened over
the dialog.
- A window opened over others holds every modal window drawn in the pass
before it opened. Only the first modal window drawn after `over_parent`
is counted as opened over them.
- `modal::drawn_this_pass` reads the pass from the record of the windows
drawn in each pass, in place of a key of its own.
- Save for Web measures Preview in Browser with `widgets::button_width`,
as the button is drawn, and translates the label once.
- The reopen test covers an alert drawn after the dialog before the other
window opens and checks which windows each one holds. The Save for Web
test compares Preview in Browser with the frame of the download speed
list instead of its text. The test of buttons inside a dialog's body
also covers a stop's message box.
docs/dimensions.md now says that the other dimension, and every layer
and group it is in, must be visible and unlocked, and that the tool
reads at most 20,000 visible, unlocked objects, from the frontmost back.
Typo matches come after direct matches in a name, menu path or id and
before matches found only through a description. Each typo result's
whole-query match is read with the word of that result the typo meets,
so two such results can tie and then go by the later rules.
Docs: docs/target-app-parity.md.
- A knockout at 0 fill whose pixels cover none of the painted pixels below
it is no longer merged with them.
- A hidden knockout is left out only when its merge would be made or is
too large, so one whose layer mask hides all of it comes in with
hiddenLayers. What drawing it counted is forgotten when it is left out.
- The pixels and canvases of a merge that isn't made are counted against
a separate limit of the same size, so the layers can still be read
apart afterward.
- docs: the memory-limit fallback for knockouts is listed with the
knockouts that aren't applied.
An edit to one side while the link is off now keeps it off when the four
values become equal, so the next edit changes one side only. Writing
`bleed` through ui.dialog.set lets the link follow the values each time,
also when the same values are written again.
Adds 268 @msg rows, 3 @msgplural rows and the Liquify and data-set
variable list rows to id.tsv for the status and error messages that
landed on main after this branch started: script file permissions, the
script interpreter, script.run parameters, SVG filters, image encoders,
Revolve, swatch and color book readers, metadata templates, custom
toolbars, Automatic Plane Positioning and the 3D graphics face. The two
composite font rows now write their literal braces as {{ and }}.
The G5 Missing entry, the Strokes, brushes, width profiles rows, the
Bundled content row, the M10 milestone and the ui-parity Brush
Libraries row now list twelve built-in brush libraries and name Stipple.
A catalog's search rows are now checked together: a word that two rows
add to different groups fails the i18n test, naming the word and both
groups. A word repeated for one group, and a catalog with no search
rows, still pass.
A font can place a glyph by the glyph after it, so the glyphs before a
mismatch are laid out again as a line of their own before they replace
their outlines. The glyph budget covers that second check.
category_fields reached clippy's cognitive complexity limit (31/30) once
main took #8086. The Num arms move into num_row and num_field_row, next
to bool_row and choice_row; the rows draw and save as before.
Over the path's first anchor, a click closes the path on that anchor; over
an end of another open path, it joins the two, and the segment arrives
along that end's own handle. The preview ended at the pointer and arrived
without a handle, so the segment moved by up to the pick tolerance at the
click and changed shape when the other end was smooth. The preview now
ends on the anchor the click uses, with that anchor's handle, and picks
the anchor at the pointer before snapping, in the order a press does.
Part of #8296.
The transform tool treats a null reflect, copy or origin, and a null
numeric step, as given, but its inputSchema allowed only the non-null
types, so a client that validates against the schema could not send
them. Each of those properties now also allows null. The transform row
in docs/mcp.md says a step that is neither a number nor null is an
error, and that a null dx or dy counts as 0 and still runs the move.
Placing an angular, radius or diameter dimension no longer reads the
lines of the dimensions in the document, which only a linear dimension
can line up with. A linear dimension still reads them with Smart Guides
off, so it lines up when Smart Guides are turned on while it is placed.
docs/dimensions.md no longer says the level can come from a dimension
anywhere in the document: the tool reads at most 20,000 objects.