Commit Graph
18065 Commits
Author SHA1 Message Date
dotCooCoo 97ee32bcf7 Document Info: a value wider than the panel wraps inside it
A row moves its value under the label when the two do not fit on one
line, but a value wider than the whole panel, such as a long document
name, still ran past the panel's edge. The value now shows as
multiline selectable text, so it wraps inside the panel. Short values
still stand at the row end.
2026-11-28 15:45:57 -08:00
dotCooCoo bb55ab3963 New Document: format the small-window layout test 2026-11-28 14:54:58 -08:00
dotCooCoo 4c29723f58 Merge main into fix/new-document-card-tile-small-window 2026-11-28 14:40:50 -08:00
dotCooCoo 1733a3d6b3 New Document: details stay in rows in small windows
A narrow Preset Details column (an 800 by 600 or 900 by 700 window) now
shows Height and Artboards side by side with Orientation under them, so
Orientation's two buttons stay side by side instead of stacking, and
the Bleed fields in two rows, Top and Bottom above Left and Right, with
the link button after Right. A column at least 11 control heights wide
keeps the one-row layout.
2026-11-28 14:40:44 -08:00
.CooCoo 10f8411ac0 Merge pull request #9994 from dotCooCoo/fix/selection-text-runs-paints-count
Select: deselecting type counts each run before taking it out of the paints
2026-11-28 14:40:30 -08:00
.CooCoo 6ac7416552 Merge pull request #9972 from dotCooCoo/fix/issue-7257
Fix #7257: thin curved strokes draw with half as many outline lines
2026-11-28 14:39:16 -08:00
.CooCoo d08edbcf19 Merge pull request #9976 from dotCooCoo/fix/symbols-empty-state-appearance-rows
Panels: Symbols shows its empty hint again; Appearance rows line up
2026-11-28 14:36:29 -08:00
dotCooCoo 24962909b1 Merge main into fix/issue-7257 2026-11-28 14:36:09 -08:00
dotCooCoo a9aa1f405b Render: curve lines keep both turns of a curve that turns back twice
A curve drawn as lines took its line ends from the curve's bending alone.
Where a curve runs out and back twice along almost one line, its two turns
hold almost no bending, so a thin stroke drew it with one step in two
halves: each half held a whole turn, the two halves' gaps canceled, and
the band ran straight from start to end without either turn. A cubic from
(0, 0) out to x = 28.87 and back to x = -28.87 drew only around x = 0.

Each step is now checked against its curve: where the curve lies more
than twice the chord allowance from the step's line, to either side or
past its ends, the step count doubles, up to the curve's equal steps.
Wide strokes draw their long curves the same way and get the same check.
2026-11-28 14:36:09 -08:00
.CooCoo 2c84465fba Merge pull request #9963 from dotCooCoo/fix/ui-sweep-dock-panels-b
Panels: Document Info values line up, Image Trace Create shows its labels, and Info and Links keep their spacing
2026-11-28 14:27:47 -08:00
dotCooCoo 7e7662a511 Merge main into fix/symbols-empty-state-appearance-rows 2026-11-28 14:22:13 -08:00
dotCooCoo fe4af8db1b Appearance: Fill and Stroke swatches share one column with profiles and notes
Every Fill and Stroke row of a stack now keeps the same room for the
width profile, the stroke notes and the weight, empty where the row has
none, so the swatches line up when a stroke has a non-uniform profile or
notes. The notes' width follows the longest notes in the stack, up to 16
characters; longer notes are cut at the end and show whole in a tooltip.

The Graphic Styles revert test now aims at the object row's thumbnail
past the empty disclosure column that the aligned top-level rows keep.
2026-11-28 14:22:07 -08:00
dotCooCoo a869baae60 Select: deselecting type counts each run before taking it out of the paints
The check that chooses between taking removed objects out of the
selection's paints and reading the selection again counted a type object
once, while taking it out reads one stroke weight per run. Deselecting a
type object of 10,000 runs beside two squares took 10,002 weights out
instead of reading the two squares again.

Reads now counts a type object once for each of its runs. A test in
large_edits.rs counts the stroke weights read or taken out; it fails
without the change (10,002 weights).

Follows #9930, which made the same check count the contents of groups.
2026-11-28 14:21:11 -08:00
.CooCoo d76abce927 Merge pull request #9974 from dotCooCoo/fix/status-bar-zoom-presets
Status bar: the zoom field's presets menu lists the zoom stops, Fit on Screen and Fit All again
2026-11-28 14:18:21 -08:00
dotCooCoo c2ef3ae57b Merge main into fix/status-bar-zoom-presets
# Conflicts:
#	crates/ui-egui/src/chrome/status_bar.rs
2026-11-28 14:17:28 -08:00
.CooCoo 6467317a97 Merge pull request #9966 from dotCooCoo/fix/ui-sweep-dock-panels-a
UI: Swatches footer stays in view; Stroke arrowhead rows line up
2026-11-28 14:13:39 -08:00
dotCooCoo 0cc8be8eb3 Panel docking: the flyout grip test finds its grip with rfind
#9964's floating-group test took the last grip matching the tab's row with filter(..).last(), which clippy's -D warnings rejects on a double-ended iterator (double_ended_iterator_last, then filter_next_back), so main's gate failed at clippy on crates/ui-egui/src/panel_docking/tests.rs:1118. It now uses rfind, which returns the same grip.
2026-11-28 14:10:36 -08:00
dotCooCoo 6e3c328646 Merge main into fix/issue-7257 2026-11-28 13:49:09 -08:00
dotCooCoo d91b815690 Render: thin curve lines stop where the curve turns back
Each line end of a curve drawn as lines moved out by the curve's whole gap
from the chords beside it, including the part along the chord. Where a
curve runs out and back along almost one line, that part points along the
curve, so the end moved past the turn: a cubic from (0, 0) out to x = 75
and back drew its band out to x = 112.5. The ends now move only across
their chords.
2026-11-28 13:49:09 -08:00
.CooCoo 3e9b4f735c Merge pull request #9947 from dotCooCoo/fix/anchor-inspector-accepted
Anchor Inspector: canceling a field edit restores the anchor or the Points per segment count
2026-11-28 13:40:00 -08:00
.CooCoo 471433d007 Merge pull request #9952 from dotCooCoo/train/carry9280
Title bar: the Close caption button closes the window
2026-11-28 13:39:46 -08:00
dotCooCoo 518bfef631 Merge main into fix/ui-sweep-dock-panels-a
# Conflicts:
#	crates/ui-egui/src/panels/swatches.rs
2026-11-28 13:39:40 -08:00
.CooCoo 854e5a5d5d Merge pull request #9977 from dotCooCoo/fix/packaging-fold-angle
Packaging: canceling a Fold Angle edit restores the fold lines' angles
2026-11-28 13:39:33 -08:00
.CooCoo 972543fc8d Merge pull request #9982 from dotCooCoo/fix/transform-each-copy-refusal
Transform Each: a refused Copy keeps its reason under the rows
2026-11-28 13:39:13 -08:00
.CooCoo 455e441ca9 Merge pull request #9987 from dotCooCoo/fix/jitter-keeps-link-when-unchanged
Brushes: a jitter too small to change a color keeps its swatch link
2026-11-28 13:38:39 -08:00
.CooCoo 0aacac4bf2 Merge pull request #9944 from dotCooCoo/train/carry9162
Anchor Point: Shift keeps handles pulled out of an anchor at 45° steps
2026-11-28 13:37:55 -08:00
.CooCoo 2cf256b441 Merge pull request #9967 from dotCooCoo/fix/new-document-layout
New Document: labels above fields, full-width fields and one Bleed row
2026-11-28 13:37:51 -08:00
.CooCoo 45cf1ebb93 Merge pull request #9943 from dotCooCoo/fix/halftone-revert
Vector Halftone: OK after File > Revert no longer applies the old draft
2026-11-28 13:37:20 -08:00
.CooCoo 0a8c0ee145 Merge pull request #9954 from dotCooCoo/train/carry8285
Stroke: Notched Arrow arrowhead, carried from #8285 with main merged in
2026-11-28 13:37:14 -08:00
.CooCoo 71417b98b0 Merge pull request #9968 from dotCooCoo/fix/ui-sweep-toolbar-controlbar
UI: Tools panel chips share a line, a rule parts the tools from the controls, the drawer labels Show
2026-11-28 13:37:01 -08:00
.CooCoo 57c99214cd Merge pull request #9986 from dotCooCoo/fix/cad-symbol-budget-kept
DXF and HP-GL export: a rejected symbol instance keeps the budget for later art
2026-11-28 13:36:56 -08:00
.CooCoo d07b1abca4 Merge pull request #9964 from dotCooCoo/fix/floating-group-from-icons
Docking: a group dragged out of the icon column floats expanded and its tabs switch
2026-11-28 13:36:53 -08:00
.CooCoo ffbaae4e36 Merge pull request #9969 from dotCooCoo/fix/issue-8307
Swatches: the footer stays inside the panel when the list fills it (#8307)
2026-11-28 13:36:49 -08:00
.CooCoo 747dd28162 Merge pull request #9973 from dotCooCoo/fix/layers-drop-filter-tests
Layers: the trash footer takes an appearance dragged from a target circle
2026-11-28 13:36:43 -08:00
.CooCoo 91e7079a59 Merge pull request #9979 from dotCooCoo/fix/ui-perf-5-canvas-status-bar
Performance: the canvas measures the document once per revision, and idle frames replay the status bar navigation
2026-11-28 13:36:22 -08:00
dotCooCoo c35288f4d1 Merge main into fix/ui-sweep-dock-panels-b 2026-11-28 13:35:03 -08:00
dotCooCoo c19cba9fdd Brushes: a jitter too small to change a color keeps its swatch link
Hue and saturation jitter replaced a linked solid paint with an unlinked
one whenever the adjustment returned a color, even when rounding to f32
gave back the same components (a hue jitter of 1e-50 degrees, or a Lab
saturation jitter of 1e-6). recolor_paint now keeps the paint, and its
link, when the adjusted color equals the original. Follows #9929, which
added the same rule for Brightness Jitter.
2026-11-28 13:28:33 -08:00
dotCooCoo 9f815a76e7 DXF and HP-GL export: a rejected symbol instance keeps the budget for later art
The DXF and HP-GL writers set the expanded-object count to the 16,000,000
limit when one symbol instance was too large for what was left, so every
later instance was left out even when it fit. A rejected instance now
leaves the count unchanged, as the PDF and .ai editing writers do. Tests
preload the count per test instead of starting every export near the limit.

Follows #9751, which made the same change in the EPS, legacy .ai and
metafile writers.
2026-11-28 13:22:38 -08:00
dotCooCoo 46e61230e2 Status bar: the zoom presets menu leaves out stops outside the zoom range
With Display Print Size on, 100% is not one screen point per document
point, so a stop at either end of the list can fall outside the view's
zoom range (WindowView::ZOOM_RANGE). Picking it set the nearest end of
the range instead: at 96 PPI the 64000% entry showed 48000%. The menu
now lists only the stops that view.setZoom sets exactly.
2026-11-28 13:20:28 -08:00
.CooCoo 378ab8525e Merge pull request #9950 from dotCooCoo/train/carry9243
Missing Fonts: a folder search finds the file of a PostScript name split into family and style (carries #9243)
2026-11-28 13:15:06 -08:00
.CooCoo 727bb44ce1 Merge pull request #9980 from dotCooCoo/fix/ui-perf-4-panels-dock-specs
Tools, Properties: the tool rail and Quick Actions are rebuilt only when their inputs change
2026-11-28 13:15:00 -08:00
.CooCoo 542a7f8d82 Merge pull request #9985 from dotCooCoo/fix/select-highlight-reads-2
UI: Bullets, character color, composite font, Map Art and Find Font lists apply only a chosen entry
2026-11-28 13:14:56 -08:00
dotCooCoo 24b5930cc8 Swatches: the footer reads the panel's selection and kind filter
The panel model is out of the app while the swatch browser draws, so the
footer read an empty selection and the default kind filter: Swatch
Options and Delete Swatch stayed disabled with a swatch selected, and
Show Swatch Kinds never showed as pressed. The footer now takes its
state from the model the browser holds.
2026-11-28 13:10:23 -08:00
dotCooCoo 592ad486db Links: a Show filter that hides every image titles the panel No matching images
Show Missing or another filter can leave the list empty while the document still holds images, and the empty panel said "No images". The filtered empty state now says "No matching images"; Show All keeps "No images".
2026-11-28 13:09:52 -08:00
dotCooCoo d8cda92ae1 Merge main into fix/new-document-layout 2026-11-28 12:51:42 -08:00
dotCooCoo fdfe7708d8 Transform Each: a refused Copy keeps its reason under the rows
The Copy button set a `copy` field before confirming, and a refusal turned
it off again. The dialog ends a refusal when its values change, so the
reasons "switch back to the document where Transform Each was opened",
"the document where Transform Each was opened has closed", "finish the
active edit before applying Transform Each" and the revert reason were
shown for no frame under the rows.

Copy is no longer a dialog field. The dialog records that the held OK came
from Copy and passes `copy: true` to `object.transformEach` for that
confirm only. A refused Copy leaves the values unchanged, so its reason
stays until a value changes, and the next plain OK does not copy. A press
of Copy while an OK is already waiting does not turn it into a copy.
2026-11-28 12:38:47 -08:00
dotCooCoo fe15116f4c UI: Bullets, character color, composite font, Map Art and Find Font lists apply only a chosen entry
These lists read the value their select proposed this pass, so an entry
highlighted with the arrow keys was applied before it was chosen, and
Escape left it applied. Each one now reads the committed entry:

- Bullets and Numbering's Alignment
- Character Style Options' Fill and Stroke
- the Composite Fonts parts table's Style
- the 3D (Classic) Map Art page's Symbol
- Find Font's Replace With Font From and Find In

Each list has a test that highlights an entry with the arrow keys,
checks that nothing changed, presses Escape and checks again, and then
chooses an entry with Enter.
2026-11-28 12:37:36 -08:00
dotCooCoo 0df72cd9b4 Merge main into fix/ui-perf-4-panels-dock-specs 2026-11-28 12:32:34 -08:00
dotCooCoo 880fcb1973 Tools, Properties: the tool rail and Quick Actions are rebuilt only when their inputs change
The tool rail built every slot again in every frame: a command and a
caption for each tool, and a walk of the tool catalog for each slot's
id. It now keeps the tool groups its slots came from and builds the
slots again only when those groups or the UI language change. Slot ids
come from a table built once.

The Properties panel listed its Quick Actions in every frame, which
checks several commands and walks the selection. The list is now kept
with a key made of the menus' state, the document and its revision, the
tool and isolation mode, and is listed again only when the key changes.

Frame benchmark (1920x1080 at 2x, 400 objects, median UI-thread time of
300 frames): idle 5.64 ms to 5.51 ms, 400 objects selected 17.75 ms to
16.46 ms; allocations per frame 13,439 to 13,121 idle and 70,090 to
68,169 selected. The tests count the slots built and the Quick Actions
lists made per frame.
2026-11-28 12:32:34 -08:00
dotCooCoo c9422ed804 Merge main into fix/ui-perf-5-canvas-status-bar 2026-11-28 12:29:40 -08:00