The swatch browser takes all the room under the proxy, and the footer
was drawn after it, so the footer buttons sat below the panel's bottom
edge and were clipped away. The browser and the footer now share a
Stack whose footer region takes its room first, as in Appearance, and
the browser fills what is left above it.
The new panel_docking test floats Swatches alone and above Transparency,
docks it above Transparency at its default height and sized 200 and
150 pt, scrolls the list to its end, and checks that the footer buttons
lie inside the panel and that no list shape shows between them and the
panel's bottom edge (#8307).
The test counter in RingFinder::reach now counts one entry per read in the compaction loop. docs/three-d.md says that past the limit a face that can go next still goes, and the first face left by depth goes next only when none can.
docs/revolve.md now states that the ring-search lists are made only when the steps left cover a quarter of the recorded pairs, and that without them the first face left by depth goes next.
OK in the 3D dialog replaced its live preview with a new one before
running the values again. The new preview no longer owned the
interaction the dialog's preview had started, so it ran nothing while
that interaction was open, and the commit then refused with "Finish the
active edit first." With Preview on, OK left the dialog open and saved
nothing, and a refused draft reported that message instead of the
engine's reason.
OK now forgets only the values the preview last ran
(LivePreview::rerun_next) and keeps its interaction, so the values run
again inside it and the commit keeps that interaction as one undo step.
This fixes four vectorcraft-ui-egui tests that fail on main under both
cargo test and cargo nextest:
- dialogs::revolve::tests::lighting_presets_cancel_restores_an_existing_custom_light_rig
- dialogs::three_d::unchanged_tests::refused_three_d_preview_confirmation_retries_the_same_draft
- dialogs::three_d::unchanged_tests::three_d_dialog_changed_options_commit_once_or_cancel
- dialogs::track_cube::precision_tests::screen_plane_keys_preserve_the_untouched_rotation_axes_through_preview_and_ok
- Transform effect: the Scale, Move and Rotate rows span the dialog
instead of sitting behind a "Transform" label, and Reflect X,
Reflect Y and Random show their names (the boxes were unlabeled).
- Transform Each: the reference point picker shows its name.
- Zig Zag, Roughen and Tweak: Relative and Absolute stand on one
line, and so do Smooth and Corner.
- Corners: Relative and Absolute stand on one line.
- Drop Shadow: the color well stands under Color and the Darkness
field under Darkness.
- Print: the Range field stands under the Range choice instead of
after Ignore Artboards.
Each uses the form's own radio layouts (options_in_row, under_option)
and plain check box rows. Tests in tests/dialog_layout.rs check where
the dialogs paint these rows.
The test opens the app with the integrated title bar used on Windows,
clicks the Close caption button and checks that the main window is asked
to close, then that a modified document keeps the window open with the
Unsaved Changes question. It fails without the fix.
The close the Close caption button asks for goes through
WindowHost::act with WindowAction::Close, the sender the title bar uses
for Minimize and Maximize, in place of a raw ViewportCommand::Close.
The Global Edit Options popover (Properties panel and Control bar) laid its two captions, five options and the Results line out as one flat column, so the On Artboards caption sat closer to the Size option than to its own options. Match and On Artboards are now field groups in a stack with the framework's stack gap between the groups and before the Results line. Clicks are kept and run after the stack returns.
MAX_LOCAL_CHECKS's doc comment said pairs not reached keep their depth order; an uncompared pair adds no constraint, and past the step limit the first face left by depth goes next only when no face can. a_list_longer_than_the_room_left_is_not_read now asserts how many list entries are read at each room size, and fails when an over-long list is counted as read.
The framework port removed the check for a missing cursor theme. The
framework's cursor service paints a tool cursor only while the shell has
Caps::SYSTEM_CURSOR, and the shell always had it on Linux. On a Wayland
session where no cursor theme loads, winit cannot hide or set the
pointer, so the compositor's pointer stayed and the tool cursor was
painted next to it.
cursor_theme.rs gets theme_usable and theme_missing back, and
shell_caps leaves out Caps::SYSTEM_CURSOR on Wayland when no theme
loads. The window then shows the system pointer alone, as it did before
the port (#5734). Sessions with a cursor theme, X11 and XWayland are
unchanged.
With Use Preview Bounds on, a move lined up the outside of the selection's
stroke with the other art's geometric bounds, which Smart Guides always
use for the targets. A stroked object then stopped half a stroke short of
the edge it showed a guide for, or overlapped it by that much. The moved
selection's geometric bounds now line up with the targets' geometric
bounds whatever Use Preview Bounds says. Snap to Grid, Snap to Pixel and
the ruler guides still use the bounds the bounding box shows.
Part of #6436.
The joined-name check now matches the face's PostScript name only, as
`FontDb::canonical` does for cataloged faces, so a file that carries the
joined name only as a full name is no longer offered. A legacy family of
the wanted name now decides the result, looking for the style in the
family of each of its faces, since `canonical` does not join the name
when the legacy family resolves it.
Tests cover the full-name and legacy cases against `FontDb::resolve`,
and a collection whose faces share a legacy family in either order.
- Document Info: each value stands at the end of its row again, in a
column apart from its label. The row no longer wraps, since a wrapping
row places its children at the start. The sections fill the panel's
width, and a section gap sets each divider apart from the sections
around it.
- Info: the two columns of numbers split the panel in halves, and a
section gap sets the paints and the type apart from the divider.
- Image Trace: Create: shows the Fills and Strokes labels after their
check boxes. Inside the Create field a check box's own label was not
drawn, so each box now takes a field with its label after it.
- Links: an empty panel shows the link icon, "No images" and the hint
that File > Place brings an image in.
Tests in panels/tests_panel_spacing.rs cover each change.
- The Rotate View compass of a turned view sits left of the vertical
scroll bar. It was placed in the canvas's top right corner, where the
scroll bar drew over most of it.
- With no document open, the status bar's artboard navigator shows a
dash instead of an empty box.
Feature changes add English strings only; translations go through
storytold/craft-i18n (AGENTS.md rule 16). The 28 catalog rows are
removed, and the menu shows "Notched Arrow" until a translation lands.
The title bar laid the app bar's right-hand controls out at the body's
row gap (5 pt in the compact sizes), so the hovered search button's
highlight came within 5 pt of the Discord button and the workspace
switcher. They now sit in a row at space.gap.item, the gap the framework
gives neighboring controls in a bar. The ranked controls still leave the
bar whole, Discord first, as the window narrows.
Each preview runs on the document as the interaction began, and spine edits
pin the spine from that document (live::pin_spine). Shift now measures the
45 degree steps from that anchor, so the handles the command writes stay on
the steps after a previewed move. docs/mcp.md says when pointer_gesture's
Shift moves the anchor and when it constrains the handles.
main draws the Artboards panel with the shared page list, whose list
fills the panel above its footer. The test now drives that panel
through the panel harness: in a 300 pt and a 700 pt panel the New
Artboard button ends inside the panel at its bottom and follows its
height, and with 36 artboards the last row lies below the footer.
The ui-parity and target-app-parity rows describe the list as it is
drawn now, and a stray tab in the test name is fixed.
File > Revert keeps the document's uid and increments its revert count.
Object > Vector Halftone recorded only the uid when it opened and
checked only the uid, so after a revert its preview ran on the restored
document and OK applied the old draft to it.
The dialog now records the uid and the revert count when it opens and
compares both before previewing, at OK and at Cancel. OK after a revert
is refused with "The document was reverted. Reopen this dialog to
continue.", as the transform dialogs do, and the dialog stays open.
The folder search test now also checks a file that carries the joined
name only as its full name, and that a wanted font without a style is
not offered a file through the joined name.