As `window.panel` does, a pick of a panel's result in Presentation Mode now
leaves the panels as they are and the status line says panels can't be shown
in that mode. Before, the pick moved the panel to the front of its group and
showed the dock once the mode ended.
The Recent Commands list draws on its own layer, so a press on one of its rows counted as a press outside the popup and closed the palette before the click ran the row. Presses on the list's layer now count as inside.
When the results change under the same query and a new result pushes the
highlighted one past the 50 shown results, the highlighted result now takes
the last shown row, so Enter still runs it. Screen readers hear its place
among every match.
The saved view and saved selection catalog check also rejects two rows of
one language that show the same name, also when the name holds no ASCII
digits.
A query that is a menu's title ("object", "effect", "select") put
every item of that menu in the starts-with tier, because the tier also
read each name with its menu path. Such items now rank by the word
grades like the rest, below results whose label holds the query as a
word. A query that holds `›` still starts a name with its menu path.
- A new test checks that the native Mac menu bar's application menu
holds the items the palette places there, under the same submenus.
- The Drop Shadow query checks the exact effect, and the test of common
queries is renamed to say that some only need to be near the top.
- docs/target-app-parity.md: the earlier palette line no longer states
the old ranking rule, and the new line gives the kind of result as
the reason "rect" lists the Rectangle Tool first.
Results are ordered by how well they match instead of by registration
order. A query equal to a result's id lists it first; then come results
whose name is the query, whose name starts with it, and whose initials
it is ("ea" finds Export As…). Within those, a whole word of the name
ranks above a word it starts, then a word of the menu that holds the
result, of its id, and text inside a word. At equal grades a tool ranks
above a menu command, panel, effect or filter plug-in, and a shorter
name above a longer one.
The words of the menu bar item that runs a result, its own label
included, also find it, read from the native menu bar when the app uses
it. The index is built when the palette first opens after the language,
plug-ins, shortcuts or menu bar change, and the last query's ranking is
kept. Every result the earlier search found is still found, an empty
query keeps the old order, and the highlight stays on its result when
the results change while the palette is open.
When a press on a field in a window above the backdrop closes the
palette, the widget that had the focus before the palette opened no
longer takes it back from that field. The earlier widget gets the focus
again only when nothing has it or the palette's own field still has it.
Outline views left out an Abutting trace's seam fills only while their
clip group kept the name "Seam Fills". Renamed, the group drew its
clipping box and, on a stretched image, the outlines of its filled
seam bands. The group is now also left out when it is still the lowest
traced shape, where the trace puts it.
The outline-view test samples inside the seam band beside the shared
edge on the stretched image, and checks that renaming the group leaves
the view unchanged.
A press of any pointer button outside the open Command Palette closes
it: a click, a right-click or the start of a drag. Before, the palette
stayed open after such a press. It closed on a pick, on Escape, or when
the app bar's search button or Help › Search Commands… was used again.
While the palette is open, a backdrop under the popup covers the canvas,
the toolbars, the docked panels and the app bar, in the same order as a
modal dialog's backdrop. The press that closes the palette does not
press a tool button or another control under it. Windows drawn above
the backdrop, such as a progress window, still get their clicks, and
such a click also closes the palette. Clicks in the search field and on
a result work as before.
The test set its first frame to 20 by 16 pt and relied on a fallback face
for the ideographs. With craft-fonts loaded, the CJK fallback face makes
the line with the ideograph taller than the frame, so the frame held only
the "a". The test now uses the characters a, x and space, which the test
font maps, and sets the frame width from their advances.
Object › Plug-ins › Path Precision Tools › Tangent Circle…
(`addon.pathtools.tangentCircle`) draws the circles that touch two
selected paths or compound paths at a set radius, or that touch three of
them. A circle touches a shape when it meets the outline without
crossing it, with the whole outline outside the circle or inside it: at
a smooth point it is tangent there, and at a corner or an open end it
passes through that point. Circles, ellipses at any angle and other
closed or open paths all work; the members of a compound path count as
one outline.
When every shape is a circle, the circles are found in closed form (up
to eight for three circles, the problem of Apollonius) and then moved
onto the drawn Bézier circles, which differ from true circles by up to
0.0273% of the radius. Other shapes are searched on a grid, and the
centers left are refined with Newton's method on the curves. With three
shapes, circles up to 64 times the diagonal of the box around the
shapes' anchors and handles are found.
The circles are listed by radius, then top to bottom, then left to
right. The dialog takes the radius (with two shapes; 36 pt to start)
and previews every circle found or one picked by number; OK draws them
with the current paint as one undo step, selected. No circle, more than
64 circles (shapes touched along a whole curve, such as two concentric
circles), shapes at one point or too small for the radius, more than
2000 segments and a search past its limits are errors that leave the
document unchanged.
The Tangent Circle and Circle: rows are in every catalog, and the
command's messages in the catalogs that translate messages.
Docs: docs/mcp.md (Path Precision Tools add-on),
docs/target-app-parity.md, docs/ui-parity.md and ROADMAP.
When the window shrinks so the list shows fewer rows, the list scrolls to
the highlighted result instead of leaving it below the visible rows, so
Enter runs a result that can be seen.
The search field no longer takes the keyboard back while Tab has moved it
to the Recent Commands button, so Enter or Space on the button opens the
list instead of running the highlighted result. While the list is open,
Enter and Space run the row the arrow keys of the same frame moved to,
not the row that had the keyboard in the frame before.