Commit Graph
23685 Commits
Author SHA1 Message Date
dotCooCoo e4a73f971a Swatches: the footer stays inside the panel when the list fills it
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).
2026-11-28 09:55:34 -08:00
dotCooCoo 4278fffdb5 3D: count each list entry where it is read, and say what goes next past the step limit
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.
2026-11-28 09:55:05 -08:00
dotCooCoo fd5094286e Merge main into fix/ui-sweep-dialogs 2026-11-28 09:50:06 -08:00
dotCooCoo a641167bdc Docs: the ring fix applies to Extrude & Bevel and Inflate, not Rotate
Rotate draws each shape as one plane and does not reach the face sorter.
2026-11-28 09:46:28 -08:00
.CooCoo cbf1516c4f Merge pull request #9955 from dotCooCoo/fix/ui-sweep-canvas-chrome
UI: the Rotate View compass clears the scroll bar, and the empty artboard navigator shows a dash
2026-11-28 09:45:49 -08:00
.CooCoo 26cf360e22 Merge pull request #9951 from dotCooCoo/fix/ui-sweep-title-window
App bar: Discord, search and workspace switcher stand an item gap apart
2026-11-28 09:43:49 -08:00
dotCooCoo 2593ce47f9 Docs: say when Revolve's sort does not look for rings
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.
2026-11-28 09:43:39 -08:00
dotCooCoo 85ce801302 Panels: format the Document Info section title 2026-11-28 09:43:21 -08:00
dotCooCoo 25560e9259 Merge main into fix/three-d-dialog-tests 2026-11-28 09:43:09 -08:00
dotCooCoo 1628311e6b 3D: OK keeps the running preview and commits it
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
2026-11-28 09:40:45 -08:00
dotCooCoo 84eef86c0a UI: dialog option rows stand beside or under their choice
- 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.
2026-11-28 09:39:38 -08:00
.CooCoo d7a00b3aff Merge pull request #9948 from dotCooCoo/fix/issue-6436-snap-geometric-edges
Smart Guides: a move lines up geometric edges with Use Preview Bounds on
2026-11-28 09:39:31 -08:00
dotCooCoo 5c342b79d8 Tests: the title bar's Close caption button closes the window
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.
2026-11-28 09:38:16 -08:00
dotCooCoo a7e20825da Title bar: send the caption Close through the window host
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.
2026-11-28 09:38:16 -08:00
dotCooCoo ec1e3a8254 Merge main into fix/ui-sweep-menus-popups 2026-11-28 09:36:35 -08:00
dotCooCoo 84d8e06f8a Global Edit: options popover groups its options a stack gap apart
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.
2026-11-28 09:36:34 -08:00
dotCooCoo 6d0408fd07 3D: say what an uncompared pair does in the sort limit's doc, and test the exact entries read
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.
2026-11-28 09:36:04 -08:00
dotCooCoo 717ad768d8 Docs: drop the #7023 revision-history rows
The roadmap and parity revision-history tables are kept by the maintainers, so the carried change adds no rows to them.
2026-11-28 09:36:03 -08:00
dotCooCoo 3c6d2234a1 Merge main into fix/issue-6436-snap-geometric-edges 2026-11-28 09:35:41 -08:00
dotCooCoo 6018923f1f Merge main into fix/issue-5311 2026-11-28 09:35:36 -08:00
dotCooCoo c7893667de Fix #5311: on Wayland with no cursor theme, the tool cursor is not painted beside the system pointer
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.
2026-11-28 09:35:35 -08:00
dotCooCoo 2eb79ddfb4 Smart Guides: a move lines up geometric edges with Use Preview Bounds on
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.
2026-11-28 09:34:39 -08:00
dotCooCoo 69e8a0a392 Fonts: offer a split PostScript name's file only when installing it resolves the name
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.
2026-11-28 09:33:49 -08:00
dotCooCoo 02d419c4ec Merge main into fix/ui-sweep-dock-panels-b 2026-11-28 09:31:51 -08:00
dotCooCoo 81dc35e258 Panels: Document Info, Info, Image Trace and Links spacing and labels
- 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.
2026-11-28 09:31:21 -08:00
dotCooCoo e8fc951d92 Merge main into fix/ui-sweep-canvas-chrome 2026-11-28 09:26:30 -08:00
dotCooCoo 745a0d5b7b UI: canvas chrome clears the scroll bar and the empty navigator
- 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.
2026-11-28 09:26:23 -08:00
dotCooCoo 42528add34 i18n: Notched Arrow ships with its English label only
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.
2026-11-28 09:22:37 -08:00
.CooCoo ce4b132646 Merge pull request #9945 from dotCooCoo/fix/canvas-hidpi-strokes
Canvas: art lands on whole device pixels, so strokes stay sharp on HiDPI displays
2026-11-28 09:22:15 -08:00
dotCooCoo 51fde185e2 Merge main into fix/ui-sweep-title-window 2026-11-28 09:21:13 -08:00
dotCooCoo cd1d4ed864 App bar: Discord, search and workspace switcher stand an item gap apart
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.
2026-11-28 09:21:11 -08:00
dotCooCoo 118a242401 Anchor Point: constrain pulled-out handles round the anchor the preview edits
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.
2026-11-28 09:14:53 -08:00
dotCooCoo 2f1d7a2c8d Merge main into train/carry8496 2026-11-28 09:14:09 -08:00
dotCooCoo 1d1c9464cf Merge main into feat/scripts-api-d4-text 2026-11-28 09:12:20 -08:00
.CooCoo 98c3a3fe08 Merge pull request #9942 from dotCooCoo/train/carry6115
Panels: the Artboards panel's list fills the panel and resizes with the window (#6085)
2026-11-28 09:07:53 -08:00
dotCooCoo d9c28efd41 Artboards: port the panel-height test to the page list
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.
2026-11-28 08:57:10 -08:00
.CooCoo efa21dd3fe Merge pull request #9936 from dotCooCoo/train/carry9169
Render: redraw the effects of rotated radial and reflected mirror repeat copies
2026-11-28 08:56:25 -08:00
.CooCoo b33bc2ce17 Merge pull request #9130 from dotCooCoo/feat/plugin-api-context-menus
Plug-ins: a command's manifest can list it in the canvas and Layers panel context menus
2026-11-28 08:56:11 -08:00
.CooCoo b68e26628c Merge pull request #9940 from dotCooCoo/fix/ui-spacing
UI: give popovers, panel empty states and New Document controls room
2026-11-28 08:56:07 -08:00
.CooCoo da8d50706a Merge pull request #9941 from dotCooCoo/fix/relink-revert
Relink: OK after File › Revert relinks nothing and asks to reopen the dialog
2026-11-28 08:56:03 -08:00
dotCooCoo d07eaa1699 Merge main into train/carry8285
# Conflicts:
#	crates/engine/src/cmd/stroke.rs
#	docs/target-app-parity.md
2026-11-28 08:54:16 -08:00
dotCooCoo dbd723d6ae Docs: restore the Anchor Point Shift pull-out lines after merging main
Main's status and revision-history lines are kept as they are; the feature
rows carry the change, and the citation points at the public Pen help page.
2026-11-28 08:53:01 -08:00
dotCooCoo a903d824d1 Merge main into train/carry9162
# Conflicts:
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-28 08:52:37 -08:00
dotCooCoo 5f907f863a Merge main into feat/plugin-api-context-menus 2026-11-28 08:46:27 -08:00
dotCooCoo 9bd37841bf Merge main into fix/canvas-hidpi-strokes 2026-11-28 08:43:50 -08:00
.CooCoo fe6bf49232 Merge pull request #9939 from dotCooCoo/fix/home-page-spacing
Home: margin and gaps follow the framework's spacing tokens
2026-11-28 08:42:38 -08:00
dotCooCoo c4521a43a3 Vector Halftone: OK after File > Revert no longer applies the old draft
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.
2026-11-28 08:39:06 -08:00
dotCooCoo 990c8b2d26 Fonts: test the full-name and empty-style cases of the split PostScript name search
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.
2026-11-28 08:37:27 -08:00
.CooCoo b24f5af47c Merge pull request #8099 from dotCooCoo/feat/color-wheel-hex-alpha-css
Part of #978: Show Hex Field in the Color Wheel panel takes hex with an alpha and CSS colors
2026-11-28 08:37:09 -08:00
.CooCoo 0c51d3e454 Merge pull request #8962 from dotCooCoo/feat/pattern-brush-scale-pen-inputs
Brushes: Pattern Brush Options' Scale follows the pen's pressure, tilt, bearing, rotation and wheel
2026-11-28 08:36:51 -08:00