The Libraries panel accepted a swatch row dragged before File › Revert and added the restored swatch of that name. Membership::grabbed now refuses stale rows, for the hover marker and on release.
The All and Range radios under the artboard check box of the .ai,
VectorCraft and EPS save options, and EPS's Transparent and Opaque
radios, were radio rows with an empty name, which the form draws as an
empty caption: a blank band about one row tall above the radios. Both
rows now use stacked options, so the radios follow the row above them.
The Transparent/Opaque row carries the option's label as the group's
accessible name.
#9931 refused an appearance carried across File › Revert. Graphic styles,
brushes, symbols, swatch rows and appearance stack rows had the same fault:
a held drag still resolved a name or id against the restored contents.
- Graphic style, brush, symbol and swatch drags carry the document's revert
count, and the canvas, the panels, the Fill/Stroke wells and the Gradient
slider refuse a drag from before the revert.
- The Brushes panel shows no reorder marker for a stale brush drag.
- docs/mcp.md says which drops File › Revert cancels.
Follows #9931 by @dotCooCoo.
The in-window menu bar and the canvas context menu draw each row's own
label rather than its command state's title, so Edit > Undo read
"Undo" where it should read "Undo Rectangle". The menu model now puts
the shown title into the row's label, keeping the English label for
the row's letter, and the context menu applies the same labels before
it draws. Rows named after other state (Last Effect, Reset workspace)
show their names the same way.
The menu model is rebuilt on every edit and selection change. For each
dimmed row, shown_state asked why_off whether the command could run, and
off_reason asked it again for the row's reason. For a row whose check
gives no reason, off_reason also called palette::refusal, which asked
why_off a third time and ran the engine check, then dropped the answer
for every row but window.panel. With 10,000 objects selected, many of
these checks walk the selection and take 1.5 to 7 ms each.
shown_state_with takes the why_off answer, and the tree's rows and the
catalog's rows pass it on to the reason. palette::refusal runs only for
window.panel rows.
The menu model is rebuilt on every edit and selection change, and each
rebuild made the command catalog again: the keymap's 1,544 rows with
their icons and keys, the menu references, AppCatalog::new, the linked
sets' keys and the Type tool's keys.
The model now keeps the catalog's rows and the catalog while what they
are made from is the same: the shortcut editor's entries, the platform,
the actions' function keys, the menu references with their labels, the
user's shortcuts, and the language, plug-ins, scripts, fonts and listed
names. A rebuild after an edit or a selection change sets only the
rows' states. A refused catalog is made again on the next rebuild.
The Tools tab took every command of the tool kind in the window's keymap, which also holds the tools of the image workspaces' dialogs. The tab opened on those tools with no heading and listed Hand, Zoom and Lasso twice. It now takes tools in the app's scope only.
The Opacity number box sat bare beside the Blend Mode menu with no visible label. It now sits in a Field labeled Opacity on one line, as the Properties panel's Opacity row does.
The Image Trace panel, the Tracing Presets details and the preset editor
gave each settings row its own label column, so the Threshold, Paths,
Corners, Noise and Stroke sliders started at different x positions and
had different lengths. The rows now share one FieldGroup, so every
select and slider starts at the width of the widest label, including
across the Advanced section.