Commit Graph
22802 Commits
Author SHA1 Message Date
dotCooCoo 433a535e3f Tests: format the drawer Show label test 2026-11-28 11:17:04 -08:00
dotCooCoo b43ba33df5 Merge main into fix/ui-sweep-toolbar-controlbar 2026-11-28 11:00:08 -08:00
dotCooCoo 90ca1689c0 UI: Tools panel chips share a line, a rule parts the tools from the controls, the drawer labels Show
In a one-column rail the Color, Gradient and None chips sit a tight gap
apart, as the drawing-mode buttons do, so None no longer wraps onto a
line of its own. A rule separates the tools, which scroll in a short
rail, from the Fill and Stroke proxy and the controls under it, so the
last visible tool is no longer cut off against the proxy. The All Tools
drawer's Show toggles sit in a field labeled "Show:" again.
2026-11-28 11:00:07 -08:00
.CooCoo fb450d346d Merge pull request #9961 from dotCooCoo/fix/ui-sweep-dialogs
UI: dialog option rows stand beside or under their choice
2026-11-28 10:52:18 -08:00
.CooCoo d35b46e311 Merge pull request #9958 from dotCooCoo/fix/ui-sweep-menus-popups
Global Edit: options popover groups its options a stack gap apart
2026-11-28 10:00:26 -08:00
.CooCoo 2d3ac100c5 Merge pull request #9956 from dotCooCoo/fix/issue-5311
Fix #5311: on Wayland with no cursor theme, the tool cursor is not painted beside the system pointer
2026-11-28 09:56:26 -08:00
dotCooCoo fd5094286e Merge main into fix/ui-sweep-dialogs 2026-11-28 09:50:06 -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 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 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 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 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
.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
.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 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
.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
.CooCoo 4fe3b646f7 Merge pull request #9937 from dotCooCoo/train/carry9168
PDF: PDF/X-4 exports declare the identification namespace on the XMP description (carries #9168)
2026-11-28 08:36:48 -08:00
.CooCoo 62716cacd2 Merge pull request #9289 from dotCooCoo/feat/scripts-app-redraw
Scripts: app.redraw returns without changing the documents
2026-11-28 08:36:42 -08:00
dotCooCoo 85899089ec Tests: format the New Document orientation assertion 2026-11-28 08:32:10 -08:00
.CooCoo e9d7ee54b2 Merge pull request #9938 from dotCooCoo/fix/file-asks-owner-unused
File dialogs: drop the unread Waiting::owner field so main builds
2026-11-28 08:25:29 -08:00
dotCooCoo 921dffdec0 File dialogs: drop the unread Waiting::owner field
#9555 merged with a merge of main that brought back the `owner` field
on `Waiting`. Main had removed it once the document check moved to the
captured UID and Revert counter. Nothing reads it, so clippy's
`-D warnings` failed main's gate with "field `owner` is never read" at
crates/ui-egui/src/file_asks.rs:42. The fix commit on #9555's branch
(8ed117a988) did not reach main before the merge.
2026-11-28 08:25:06 -08:00
dotCooCoo 414d86ac1b Merge main into fix/ui-spacing 2026-11-28 08:22:28 -08:00
dotCooCoo fc9c9f30e7 UI: give popovers, empty states and New Document buttons room
The Manage Profiles and More Settings popovers pad their rows with the
regular pad and the stack gap. Manage Profiles shows its heading as a
section caption and lays the profiles out in a grid, so the Edit and
Reset buttons line up in columns.

Panel empty states (the shared empty_state helper, the Libraries
notices and the Properties panel with no document) sit inside the roomy
pad, so they no longer touch the tab strip, the panel edges or the
library picker above them.

In New Document, the Height, Orientation and Artboards row wraps
whenever it does not fit the column, so Artboards is not cut off, and
More Settings and Manage Profiles sit side by side the item gap apart.
2026-11-28 08:22:26 -08:00
dotCooCoo 71b3157250 Relink: OK after File › Revert relinks nothing and asks to reopen the dialog
The Relink dialog kept only the opening document's uid, so after File ›
Revert replaced that document's content, OK relinked the restored objects
that have the same ids. The dialog now keeps the document's revert count
as well, and OK in a reverted document relinks nothing, records no undo
step and shows "The document was reverted. Reopen this dialog to
continue." in the status line, as Transform and the style dialogs do.
2026-11-28 08:20:43 -08:00
dotCooCoo 97316b5ce0 Merge main into feat/color-wheel-hex-alpha-css 2026-11-28 08:20:14 -08:00
dotCooCoo 8087812450 Merge main into feat/pattern-brush-scale-pen-inputs 2026-11-28 08:12:04 -08:00
dotCooCoo a9fda9f97c Merge main into feat/scripts-app-redraw 2026-11-28 08:12:03 -08:00
dotCooCoo 9066e3b3b9 Merge main into fix/canvas-hidpi-strokes 2026-11-28 08:08:17 -08:00
dotCooCoo 8af6814eb1 Canvas: art lands on whole device pixels, so strokes stay sharp
The canvas drew its rendered frame from wherever its corner fell, often
between device pixels on a HiDPI or scaled display. Each frame pixel was
then spread over two device pixels, so lines, arcs and shape edges looked
soft and jagged with a doubled gray edge. The main canvas and the split
view panes now place the frame on whole device pixels at its own pixel
size.
2026-11-28 08:08:16 -08:00
dotCooCoo b464b1ecad PDF: check that the PDF/X-4 XMP packet stays well-formed
The PDF/X test now asserts that the outer description declares the
pdfxid namespace exactly once, and that the edited packet parses with
the strict XML parser that File Info uses to read it back.
2026-11-28 08:08:13 -08:00
.CooCoo ab4b8bb64a Merge pull request #9136 from dotCooCoo/feat/plugin-api-generated-art
Plug-ins: generators draw generated art objects that keep their parameters
2026-11-28 08:06:06 -08:00
.CooCoo 3212703f8c Merge pull request #9471 from dotCooCoo/fix/parser-var-scope-budget
Move var declaration names between parser scopes
2026-11-28 08:06:00 -08:00
dotCooCoo fdffa121a9 Render: cover the effects on reflected mirror repeat copies
A Mirror Repeat on a slanted axis reflects its copy before the source's
geometry effects run, so a Transform effect on the copy painted outside
the move and Undo damage region, the same fault #9169 fixes for Radial
Repeat. Mirror repeats now take the same measured bounds, with a test
that fails without the change.
2026-11-28 08:05:59 -08:00