Commit Graph
18411 Commits
Author SHA1 Message Date
dotCooCoo 6e8a8e8cdb Shapes: a Circle tool release near the press is a click, also after a drag
A press dragged away and let go within 2 screen points of where it was
pressed was still taken as a drag. A second press dragged out and back
drew the circle through three nearly collinear points, or nothing, and a
press on the first point drew a circle about 1 pt across. The release
distance now decides: such a release keeps the press's point, so a second
press draws the circle on the diameter to it, a press on the first point
places nothing, and a first press places the first point. The preview
and the guides of the drag go with it.
2026-11-18 15:18:56 -08:00
dotCooCoo b2dfcdba3e Merge main into fix/pen-rubber-band-close-join 2026-11-18 15:10:39 -08:00
dotCooCoo 3ef0e5e588 Symbols: the Symbolism tools take their new options, and OK checks them before any change
tool.setOption now accepts usePressure, method, showBrush, the Symbol
Sprayer options, proportional and affectsDensity for the Symbolism
tools, so the Symbolism Tools Options dialog can save them. The dialog
checks every option, the number ranges included, before
symbol.setDensity re-spaces the selected symbol sets.

- Size: Average gives a sprayed instance the mean size under the brush,
  or the symbol's own size with none there, without the size jitter.
- A stroke that moves an instance away and back again does not count
  it, and adds no undo step.
- symbol.adjust reads an instance's own values for Average only.
2026-11-18 15:10:38 -08:00
dotCooCoo 98049da84c Merge main into feat/palette-description 2026-11-18 15:10:37 -08:00
dotCooCoo 24d04bd50b Merge main into feat/hpgl-options-dialog 2026-11-18 15:10:32 -08:00
dotCooCoo 8bf8884cc1 Merge main into feat/control-bar-shape-widgets 2026-11-18 15:10:25 -08:00
dotCooCoo 62c36cccea Merge main into fix/sv-message-rows 2026-11-18 15:10:25 -08:00
dotCooCoo f80f6aa220 Merge main into fix/export3d-revolve-side-graphics 2026-11-18 15:10:10 -08:00
dotCooCoo b380a33ffc Merge main into fix/point-tangents-same-lines-test 2026-11-18 15:09:36 -08:00
dotCooCoo 75376965fd Merge main into fix/classic-overprint-separations 2026-11-18 15:08:57 -08:00
dotCooCoo 6d8b6f11e2 Merge main into feat/save-pdf-custom-flattener 2026-11-18 15:08:17 -08:00
dotCooCoo 016eb00812 Merge main into fix/docs-language-counts 2026-11-18 15:07:19 -08:00
dotCooCoo 480571af82 Layers: layer.locate opens the rows around a row it does not scroll to
Locate Object opens the layers around the object even when the row is
not in the list, and only the scroll depends on the row being listed.
Editing an opacity mask on another layer also leaves the row out
(crates/ui-egui/src/panels/layers/model.rs). The params text and
docs/mcp.md now say both.
2026-11-18 15:05:37 -08:00
dotCooCoo eb334e5d14 Tests: look up brush libraries by id and check Stipple's tint and opacity
The library list test finds each library's count by its id, so a library added to the list does not shift the checks. The Stipple test draws each brush with a red stroke and checks that every dot takes the stroke color and that only Soft Stipple's dots are translucent.
2026-11-18 14:55:48 -08:00
dotCooCoo a273744896 Recolor Artwork: another color group or Save Changes leaves Undo Changes no step
Selecting another color group in the Color Groups list, or no group, and
Save Changes now clear the dialog's own history. Before, Undo Changes
could restore rows read for the previous group, and OK then wrote them
to the group now selected; after Save Changes it could restore colors
the save had already replaced in the document.
2026-11-18 14:55:25 -08:00
dotCooCoo 9754344712 Dimension tool: a dimension locked while another is placed is no longer a level
The engine test that runs commands while a linear dimension is placed now
also locks the other dimension, as well as hiding and deleting it, and
checks that no guide runs along its level.

docs/dimensions.md says that layers and groups count toward the 20,000
objects the tool reads for levels.
2026-11-18 14:52:47 -08:00
dotCooCoo e0e0e1f7f7 Merge main into feat/transform-show-on-shape-creation 2026-11-18 14:52:38 -08:00
dotCooCoo f02f35a7da Merge main into feat/paper-cutouts-style-library 2026-11-18 14:50:56 -08:00
dotCooCoo b6fdf59eb9 Fix #8568: Shift moves check an artboard guide's reach as before
A diagonal Shift move that slides onto a ruler guide again checks an
artboard guide's run where the move put the bounds, not where the slide
would put them, so the guides a Shift move reaches are the same as on
main. A selection held by its edge still checks where the slide puts
the bounds. A test covers a diagonal Shift move whose middle is beyond
an artboard guide's end.

The Drawing aids line now names the Selection tool for edge holds and
says the slide does not go past the path's ends.
2026-11-18 14:50:33 -08:00
dotCooCoo c963325e6f Path Precision Tools: rewrap the previews comment for the bounding shapes 2026-11-18 14:47:56 -08:00
dotCooCoo 518d4fda31 Preferences: the Hyphenation keyboard test checks the Tab order
The test walks Tab once from the search field and fails when the Exceptions field is reached before the Default Language menu, or when the focus comes back to the search field before both are reached.
2026-11-18 14:45:43 -08:00
dotCooCoo 69983aa7eb Merge main into feat/kinsoku-sets 2026-11-18 14:39:17 -08:00
dotCooCoo eb19c0438b Merge main into feat/color-wheel-harmony 2026-11-18 14:37:28 -08:00
BFlat 96a34ff3f9 Merge pull request #8618 from storytold/revert/8612
Revert #8612 (craft-cms cutover) and its fmt fix #8616: main fails to build
2026-11-19 05:35:23 +07:00
bflatastic 57ac9a7ff2 Revert "color: cut over cms/icc.rs to craft-cms (#8612)"
This reverts commit 4d73308977.
2026-11-19 05:34:52 +07:00
bflatastic 8a84e0edcd Revert "Merge pull request #8616 from storytold/fix/fmt-icc"
This reverts commit 760c91f9fe, reversing
changes made to 4d73308977.
2026-11-19 05:34:52 +07:00
dotCooCoo 996d095b35 Swatches: a drop reads Cmd/Ctrl and Alt from its release, and Alt alone keeps a tint's paint
The Swatches panel took Cmd/Ctrl and Alt for a drop from the modifiers held at the end of the frame, so a key let go in the same frame after the release changed the drop. It now reads them from the primary button's release event.

An Alt-only drop of a tint on a solid swatch sent the color the drag showed. It sends the tint as before again; only Cmd/Ctrl+Alt sends the shown color.
2026-11-18 14:34:08 -08:00
BFlat 760c91f9fe Merge pull request #8616 from storytold/fix/fmt-icc
color: format the craft-cms import in cms/icc.rs
2026-11-19 05:27:31 +07:00
dotCooCoo 70c0f533f6 Transform: Show on Shape Creation counts shapes drawn in perspective
With the perspective grid shown and a plane active, a Rectangle,
Ellipse, Polygon, Star or Line Segment drag is journaled as
perspective.draw naming the shape command. note_shape_drawn now counts
that entry, alone or as a batch step, so the Transform panel opens for
a shape drawn on the plane too. perspective.draw naming another shape
(a flare, for example) still does not count.

The Transform tests now move a selected rectangle and check that the
move succeeded before checking that the panel stays closed, and check
that the frames after a shape draw the panel's controls, with a control
run where the option is off.
2026-11-18 14:27:27 -08:00
bflatastic 2ef4fe36b4 color: format the craft-cms import in cms/icc.rs 2026-11-19 05:27:20 +07:00
dotCooCoo c103a88649 Merge main into feat/cdr-import-all 2026-11-18 14:27:18 -08:00
dotCooCoo 92dc3fa63d Layers: layer.locate's reference names when the panel does not scroll
The Layers panel scrolls to the located row only when that row is in its
list (crates/ui-egui/src/panels/layers.rs, where `revealed` is the row's
position in the listed rows). With Show Layers Only, a search or the
filter leaving the row out, a Locate does not scroll. The command's
params text and docs/mcp.md said it scrolls on every call.
2026-11-18 14:24:51 -08:00
dotCooCoo ada4f67f33 Proof Setup: a loaded CMYK profile's black follows black-point compensation
A loaded ICC CMYK profile as the device to simulate showed its darkest
ink without the color settings' black-point compensation, so Simulate
Black Ink made no difference there. It now shows it as the working CMYK
proof of the same profile does, and Simulate Black Ink shows the press
black as gray.

Cancel and turning Preview off now put back the proof view the dialog
found even when its device profile was removed since, and redraw the
documents. Running Proof Setup again while the dialog is open keeps
the open dialog, so Cancel still restores the first view.

The Preserve CMYK Numbers tests put the working color settings back
when they end, a failing run included, and the mask test checks the
proofed square's coverage against the unmasked K100 square and the
page.
2026-11-18 14:23:29 -08:00
Dylan M. Taylor 4d73308977 color: cut over cms/icc.rs to craft-cms (#8612) 2026-11-18 17:21:45 -05:00
BFlat 190b9ac6c9 Merge pull request #8614 from storytold/fix/shortcut-sheet-date
tests: the shortcut sheet test compares two exports without the clock's stamps
2026-11-19 05:19:12 +07:00
dotCooCoo f6ea00e752 Merge main into feat/swatches-color-group-options 2026-11-18 14:18:56 -08:00
dotCooCoo 891da1e0b9 Save PDF: one field_set handles the flattener preset, and OK keeps the overprint option
The merge of main left two save_pdf::field_set functions, so the crate did not build. The
flattenerPreset case now sits in the function that ui.dialog.set reaches, and the unreachable
second branch in dialogs::field_set has been removed.

Custom... OK now keeps the preserveOverprints value the Save PDF options had before, instead of
the preset's value, so a stored false stays false.
2026-11-18 14:15:51 -08:00
yoriswind 84725ff20d #7645: merge current main documentation without changing the qualified toggle 2026-11-18 14:15:22 -08:00
bflatastic 0ae4e9c10d tests: the shortcut sheet test compares two exports without the clock's stamps
The PDF writer dates each file and makes its IDs from the clock, so two
sheet exports on either side of a second boundary differed there and the
test failed on main's coverage run.
2026-11-19 05:14:13 +07:00
dotCooCoo cf4dd8b375 Merge main into feat/control-bar-shape-widgets 2026-11-18 14:13:10 -08:00
dotCooCoo 6dc2f7878d Artboard tool: add button tooltips show only where a click adds an artboard
The add buttons' tooltips showed in three places where a click does
something else:

- while Space lends a view tool, where a press pans the view;
- over the part of the top button an artboard's name covers, where a
  press selects the named artboard;
- under the rulers or scroll bars, including the square where the scroll
  bars meet, where the button is not drawn.

The tooltip's hover region is now clipped to the canvas, and no tooltip
shows while Space lends a view tool or where the canvas's artboard name
hit test takes the press.
2026-11-18 14:12:56 -08:00
dotCooCoo 8a4473cd1e Preferences: Show Tool Cards gets its description line
Main now requires a description sentence for every General setting, so Show Tool Cards gets one, with a row in each catalog. The Polish card row for Puppet Warp now calls artwork kompozycja, as main's Polish terminology test requires.
2026-11-18 14:12:26 -08:00
dotCooCoo 1f1135cd6f i18n: Polish calls the art kompozycja in the long CDR page warning
The Polish row for the warning about CDR pages longer than 163,830 pt said grafika for the art near the page edges. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:09:03 -08:00
dotCooCoo 324931ed04 Graphic Styles: built-in library styles show in the UI language
List rows, tooltips and Find in a built-in graphic style library use
the translated style name, as brush libraries do. User Defined and
loaded libraries keep their style names, and clicks and commands still
use the stored name.
2026-11-18 14:06:35 -08:00
dotCooCoo 72e29ce47d Recolor Artwork: the preview test checks the group's new colors
saving_a_group_with_a_swatch_that_is_not_a_color_is_refused_while_previewing
checked only that the previewed group kept its gradient swatch, so it
still passed when the preview left the group's colors as they were. It
now sets the red row's new color to black and checks that each color
swatch takes its row's new color, in order.
2026-11-18 14:06:33 -08:00
dotCooCoo 3b8afe1770 Command Palette: a synonym reads as the group word that fits the whole query
When a label holds two words of the group a query word means, the
whole query is now read with the one that matches it best, so
"prefs preferences" finds Settings Preferences by its exact label. A
query word that only descriptions hold meets the stem forms of
descriptions only and no longer changes how labels and menu paths
rank. The index timing test collects the params text before its timer.
2026-11-18 14:05:32 -08:00
dotCooCoo 37f8b8c4be i18n: Polish Map Art and Shade Artwork rows say kompozycja
The Polish catalog uses "kompozycja" for artwork, so Map Art…, Map Art
and Shade Artwork now read "Mapuj kompozycję" and "Cieniuj kompozycję".
i18n::tests::polish_rows_call_artwork_kompozycja passes again.
2026-11-18 14:00:52 -08:00
dotCooCoo da5985eeab Merge main into feat/stipple-brush-library 2026-11-18 14:00:16 -08:00
dotCooCoo 6513b42ff7 Merge main into feat/image-brush-library 2026-11-18 13:57:44 -08:00
dotCooCoo 2bd860e63c Preferences: move the dimmed checkboxes' conditions into a helper
category_fields reached a cognitive complexity of 31 after the merge of main, over clippy's limit of 30. The conditions that dim Scroll Sideways with Cmd/Ctrl + Wheel, Numbers Without Units Are Points, Show Tool Cards, Animated Zoom and Show samples on white move to bool_enabled, and category_fields draws those five checkboxes in one match arm.
2026-11-18 13:54:14 -08:00