main's gate fails french_catalog_uses_nonbreaking_prose_punctuation on
the "{pos} of {total}: {name}" row of fr.tsv, added by #8017, which has a
plain space before the colon. The row now uses U+00A0 there.
Open #8053 fixes three other rows that main already has right, so it
does not clear this failure.
Each result row now starts with a 14-point icon for its kind: a tool's
own icon, or one for a panel, an effect, a filter plug-in or a command.
After the label, in 11-point dim text, the row shows where the result
lives: the menu path of the menu bar item that runs it, with that
item's label when it differs from the result's (File › Exit for Quit
VectorCraft), or "No menu item". A panel's row shows "Window".
A row with a home shows its label without the menu path in front of
it. A path that keeps two results' names apart stays in the label,
unless the row's home shows the same path; a tool's row drops the
"Tools" in front of its name.
A tool's row names the toolbar it is on, read from the current layout
each frame: "Toolbar" for its button on the Tools panel, or the name of
a toolbar made with New Toolbar, followed by ", in the <tool> group"
when the tool is hidden in the group of a slot whose button shows
another tool, and "All Tools" when no toolbar holds it. A toolbar shown
now comes first (the Tools panel, then the toolbars made with New
Toolbar), then a hidden Tools panel, then hidden toolbars made with New
Toolbar. Toolbars count as hidden in Presentation Mode and while Tab
hides the panels.
The home is cut with "…" first. A label too long for the row is cut
before the id it shows after its name, and the id stays whole unless it
alone is wider than the row. A cut row shows its full text on hover,
and screen readers read the kind, label, home and shortcut, as does the
search field's description. The row height is unchanged.
Window › Learn now also gives the Learn command (window.learn) its
home; before, only the Learn panel's result had it. A search reads that
menu path like any other result's, and among results that tie on
everything else the command ranks as a command of the menu bar.
New catalog rows: "No menu item", "Toolbar" and "{toolbar}, in the
{tool} group" in every catalog, "Tool" and "Command" where a catalog
lacked them, and "Panel" in Gujarati.
A query word now also finds a command by its description: the command's
params text (an engine or plug-in command's, a UI command's, or an
effect's) without each top-level {…} group, without each top-level [ ]
or ( ) group just after a →, and without the → before a removed group,
cut to its first 300 characters at the end of a word. "transparent
background" lists Remove Background… among the first 3 results, and
"png" lists it after every result with "png" in its name or menu path.
A schema's words ("corners" for Remove Background…) and a result written
as a group do not find the command; a result written as words after a
→ stays in the description.
A description word matches as a whole word, an English base word, a word
start or a word with the same meaning. A result found only that way
ranks below every result the query matches in its name, menu path or id,
as text inside a word or through a typo. Words of 2 characters or fewer,
words with no letter and a few stop words are left out. Descriptions
are English only and are not typo-matched.
The depth-and-quote scan of the Keyboard Shortcuts editor's required
field check moves into shortcut_editor::outside_quotes, which the
description reader also uses; the check behaves as before.
With Link, File > Place now places an EPS file, a PostScript file and a
PostScript .ai as a linked placed document, but the Place dialog still
counted them as other files, so Link's tooltip did not say they become one
locked object, and the dialog test expected a PostScript .ai to be
embedded.
- `is_vectorcraft_file` counts an EPS, EPSF or PostScript file on disk, and
a PostScript .ai, as a document, and leaves out a DCS file, which is
placed as a linked image.
- Where the platform reads part of a file, it reads only the file's start
and tells a DCS file from it with `place::head_is_dcs` (the check Links
uses), binary EPS headers included.
- The dialog test now checks the .ai, .eps and .ps cases, the bounded read,
DCS files plain and behind a binary header, and a file named .eps that
isn't PostScript.
The rows of Select by Artboards and the Variables panel, and every
collapsible section header, reported their state through
`WidgetInfo::selected`. egui writes that value as the node's toggled
state for every role, so the accessibility tree showed these rows and
headers as toggled. AccessKit keeps a list item's selection in its
selected property and a disclosure control's state in its expanded
property.
- `widgets::list_item_info` gives a row the list item role and sets its
selected property, and both lists use it.
- `section_toggle_name` sets the header's expanded property, as egui's
own collapsing header does.
- Tests draw both lists and a section header and check the role and
state of each node in the accessibility tree.
The drag check took any line intersection kurbo reported, and kurbo also reports
one a tiny step before the start or after the end of a cubic. On a long curve that
step reached past the 0.0001 pt join tolerance, so a drag 0.0002 pt short of an edge
stroked it. Only intersections inside the segment count now; the checks on the
edge's ends still cover touches there.
With variation cells selected, the Save Color Group to Swatches button
now saves those cells as one swatch group, in grid order (row by row,
left to right, each cell once), named after the harmony rule, in one
undo step, each color in its own model. With no cell selected it saves
the harmony colors as before.
A cell selection now ends when the guide it was made in changes: the
base, the Color Guide Options, the variation mode, the harmony rule, the
library limit, or the colors the grid shows. Before, changing the
variation mode or the options kept the old cell positions selected, so
Save Colors as Swatches could save colors that were never picked.
With a gray between black and white, an edge pixel of black on white
took the black-and-white blend only when one of its eight neighbors lay
past the gray on each side and the flat black and white areas lay nearer
than the flat gray. On an edge blurred by a pixel or more neither holds,
so gray slivers lined black shapes: a black disc beside a gray square on
white traced up to 35 gray paths at blurs of 1 to 3 pixels.
The check now walks from the pixel along the line between the two outer
colors, up to 5 steps each way, each step to the neighbor that lies
farthest toward one of them while the pixels keep getting darker (or
lighter). The blend of the outer two lies as near as the farther of
their flat areas, or as the larger of the two step counts to a pixel of
each outer color when that is smaller. The first step is the old
neighbor check. The same disc and square now trace with one gray path
at blurs of 1 to 2 pixels. At 3 pixels, with the colors named, a gray of
128 is one path, a gray of 200 leaves 4 slivers with no area, and a gray
of 230 leaves 8 slivers of up to 21 pixels (14 gray paths before).
On edges blurred by a pixel or more, gray near black loses pixels. A
soft-edged gray band up to 4 pixels wide along black traces as black
and white at blurs of 1.5 and 2 pixels, and one up to 3 pixels wide at
blurs of 1 and 3 pixels. A soft-edged gray stroke 2 pixels from black
can lose some or all of its gray, and one 4 pixels away a few pixels. A
soft-edged gray stroke running out of black, blurred by 1 or 1.5
pixels, loses 3 or 4 of the 16 pixels nearest black. Sharp-edged bands
and strokes keep their gray.
Docs: docs/image-trace-adjustments.md, docs/target-app-parity.md.
A click on the isolation bar's empty space, or on the isolated object's
name at the end of the breadcrumbs, leaves isolation mode altogether, as
Exit Isolation Mode does, nested isolation included. The back arrow, the
breadcrumbs of the levels above and the pattern buttons keep their own
actions, and a drag across the bar does not exit.
While an opacity mask is edited the click stops editing the mask. In
symbol editing mode it leaves the mode, also from a group isolated inside
the symbol's art and together with the isolation the mode was entered
from. While a pattern is edited it does nothing; Save a Copy, Done and
Cancel end pattern editing.
Docs: docs/target-app-parity.md.
With `pdfs: "single"` and several assets, layers or selected objects
(`selection: "each"`), document.exportForScreens wrote one PDF named
after the document holding only the first item's art, and every other
item's PDF was left out. Single file puts artboards on the pages of one
PDF; each asset, layer or object is cut out of the document with its own
art, so the export now refuses that combination before it writes any
file, and the Example line refuses it too. `pdfs: "multiple"` still
writes a PDF of each item, and `selection: "one"` writes one PDF either
way.
Docs: params text, docs/mcp.md, docs/target-app-parity.md.
With the Selection tool, every Character and Paragraph field read its
value through selected_stories, which walked the selected objects and
looked up each type object's story again. With the default panels open
that was 24 builds of the same list per frame.
selected_stories and selected_story_texts now keep the last list,
with the document (a held Weak keeps its address from being reused),
its revision and a copy of the selected objects. A change to any of
them builds the list again. Type objects are still resolved from the
current document on every read, so the panels show the same values.
Tests compare the kept list with a fresh build after an edit, a
reordered or replaced selection, a selection set without a new
revision, a selected group and a switch to another document at the
same revision; compare what both panels draw and their field values
with and without the kept list; and count one build per frame.
A style with no fill and no stroke whose Characters row sits above some of
its rows showed its type preview with the characters' own fill over the
white backing when Override Character Color was off. The backing now puts
every row above the contents, so the white fill covers the characters.
A drag that starts with Backtick already down set the copy spacing origin at the first drag event, so a short first stretch of the drag could leave no copy. The press now sets it.