The Artboards and Assets panes drew their list and grid with no frame and
only as tall as their items, so with one artboard the view buttons, Clear
Selection and Prefix sat right under the thumbnail with empty space below.
The views were also shown without a selection, and the grid draws a tile's
check from the tile's selection, so a checked artboard had no outline and
its check box drew empty.
- The list and the grid sit on a sunken surface with control padding, and
keep their height (9 rows, 4 tiles) when fewer items are shown.
- The checked items are bound as the view's selection, so they draw the
selection outline and a checked box. The lead and anchor are kept per tab
from pass to pass; the checks still decide which items are exported.
Four tests compared a panel menu row's whole state with one that had no
name, and failed once the rows were named: the Symbols view rows, the
Paragraph composer rows, the Links panel's Select rows and OpenType's
Reset row. They now compare the enabled and checked flags, or the state
with its name. The Links test also checks each Select row's Shift
alternate. Two lines in Align and CSS Properties are split to fit the
150-column width.
PathItem handles carry the document's revert count, as page item
handles on main do, so path members find their path again.
setEntirePath and the path point setters throw a RangeError for a point
off the canvas. Opening a path whose closing segment is selected keeps
the edit. pathItems.add() leaves new art's paint as it was with New Art
Has Basic Appearance off. addDocument reports settings the built-in
preset refuses. appearance.setNewArt refuses a swatch that is not a
name. Writing one path's points looks only at that path afterwards.
The Column Width and Prefix rows write the draft only when their edit is
committed. The existing dialog test still passed with either row reading
every proposal while typing, so a new test types into each row, checks
that the draft keeps its value, then presses Tab and checks that the
typed value is in the draft.
Wrap the action buttons against the offered form width. Keep the accessibility lookup and pointer-click regression at both viewport sizes, and assert that the click target is inside the viewport.
Artboards is the one numeric field in Preset Details without a cancel
test. The new test types a count over the preset's 5, checks that the
dialog still shows the preset and its settings, presses Escape, and
creates the document with the preset's settings.
Keep the native and web craft-libs pins, Cargo.lock and PDF source checks on 57c8c8d4. Preserve the matching egui pin. Consult the shared Standard-mode chrome state for visibility and for show-panel requests; the dock already honors that state when drawing.
Both dialogs closed on OK before the app checked the document and slices
they opened with, so a refusal (the selection changed, the document was
reverted, or the command failed) went to the status line and the typed
values were lost. They now open through the held-OK host: the check and
the command run while the dialog waits, a refusal shows its reason under
the rows with the values kept, and OK applies once the opening slices are
selected again.
For each of the five Bristle sliders, a held drag ended with Escape
restores the open dialog's field, and OK then keeps the brush and the
undo history unchanged. A released drag is kept by OK in one undo step.
The Live Paint Bucket Width test and the nullable length test pressed
Escape, which closes the modal, and then reopened it, so they passed with
the number and length rows still reading only proposals. Each test now
also types a value, adds text that does not parse, and leaves the field
with Tab. The dialog stays open, and the row must hold the opening value
again (4 px, and null).
The Contextual Task Bar ran tool.setOption for the Smooth tool's Fidelity
on every typed proposal, so a value typed and then canceled with Escape
stayed set on the tool. The bar now sets the option only when the field
commits the value.
In the freehand Tool Options dialog, Escape during a Fidelity slider drag
left the dragged value in the dialog. The draft now follows the drag
unrounded, takes the rounded value when the drag ends, and gets the value
from before the drag back on Escape, including a value above the slider's
end that the field allows. The dialog's Fidelity field reads its edit
events with landed(), as the variation fields do.
Follow-up to #9753.
The menus of Swatches, Brushes, Symbols, Graphic Styles, Appearance,
Paragraph, OpenType, Align, Glyphs, Pathfinder, Links, Actions, Asset
Export, Image Trace, Separations, Tabs, Flattener Preview, Color Themes
and CSS Properties showed 137 rows by their command ids, such as
"ui.swatches.newSwatch" and "brush.new". A panel menu row takes its
label from the command catalog, which lists the keymap's commands and
the menu bar's rows only; the panels' own commands, and commands with
params, have no entry there.
Each panel's menu states now name its rows, as Stroke and Transform
already did. Symbols' New Symbol… and Symbol Options… rows share one
command and showed one name, and the Links menu's four Select rows all
read Select by Link Status; each now shows its own name. The Paragraph
menu's East Asian rows are named too.
A test opens every panel menu in a frame of the whole app and fails
on a row that shows its command id, or on two rows of one menu level
that show the same name, with the East Asian and Indic options off
and on.
Replace with Top Object and Sort Objects bind their dialogs' values to
the fields the preview and OK read, as Arrange in Grid, Set Size of Each
and Randomize Opacity do, but no test covered those two. The new tests
pick Bounds and Keep Original in Replace with Top Object and Large to
Small in Sort Objects with the dialog's own controls, then check the
dialog's values, the preview and the document after OK. Each fails when
its dialog's values are not bound.
Keep native and web manifests, the lockfile, and the PDF source guard on the same craft-libs revision. Align the egui patch revision with craft-libs to retain one crate source.
The rows' thumbnail lookup searched only the objects outside the layer
tree, so every linked or embedded image on a layer drew an empty box.
A row now finds its object by the layer tree's index first, then among
the objects outside the tree.
Moves every craft-libs crate to 869c9704d9. The Image Trace test reads the dimmed Stroke row's slider by role, since the row now holds a slider and a number box under one name.
With nothing selected the four Shape Modes buttons are off, but their
icon was drawn through a glyph that paints the icon's own colors and
ignores the off color, so they stayed at full strength while the
Pathfinders row dimmed. The buttons now show the set icon, and the glyph
is used only while members with different modes are selected, where it
adds the question mark and the buttons are on.
With an object of a dynamic symbol instance selected by Direct Selection,
transparency.set without ids changes that object's opacity and blend mode
for the instance, and the Transparency panel shows those values. The
transparency.info command still reported the instance's own opacity and
blend mode. Without ids or id it now returns the panel's values
(Session::transparency_info), so it reports the part's opacity and blend
mode with the instance's isolate and knockout. With ids or id it still
reports those objects.
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 Set Corners dialog did not bind its values to the host fields that
the preview reads, so after typing a radius of 7 and a lower angle of
120 the host fields still held 10 and 0. The dialog now binds its
values with Bind::bound(fields), as the Arrange dialogs do.
A script without includes whose declarations give names values the analysis
does not read came back from its first scan with `Known::unsure` set and no
names. `settle` counted that as something known and scanned the script again,
which found the same and doubled the scan's steps. The proptest
`any_bytes_are_checked_in_linear_work` shrank one such input to 104 bytes that
took 550 steps, over its bound of 536.
`settle` now keeps the first scan when it found no bound names and no File
objects: the flag comes from the script's own declarations, which the first
scan already read.
A script whose only finding about its variables was that a name in
brackets is not one literal (o[k]) was scanned a second time. That
finding comes from the names the script declares, which the first scan
has already read, so the second scan gave the same report and added up
to three steps a byte. A 104-byte input of single-character tokens took
550 steps against the 536 the property test allows.
The check now repeats a scan only when a variable holds a member chain
or a File or Folder object. The property tests take their bound from
the number of scans: five steps a byte for a script scanned once, and
seventeen for one scanned up to five times.