Commit Graph
19258 Commits
Author SHA1 Message Date
yoriswind 6b594abbd9 Format sampler click classification 2026-11-18 14:56:59 -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
yoriswind fdbab6e06d #8068: retain sampler gesture ownership and exclude consumed clicks 2026-11-18 14:54:41 -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 269e8d85fe Dimension: arrowhead names in every complete catalog
The de, gu, it, ja, ko, uk, vi, zh-hans and zh-hant catalogs had no rows
for the built-in arrowhead names, so the Stroke panel and the Dimension
tool's Arrow Style showed them in English, and no catalog had Line Arrow.
Those nine catalogs get the names, every catalog gets Line Arrow, and
built_in_arrowhead_names_are_in_complete_catalogs checks them. Feather is
left out of the nine: a plain Feather row would also rename the History
steps of the Feather effect.

Dimension art is saved as child paths whose strokes carry the arrowhead,
so the docs, params text and comments no longer say that older versions
draw arrowStyle in place of arrowHead.
2026-11-18 14:47:13 -08:00
dotCooCoo c5e318772f Merge main into feat/edit-tracing-presets 2026-11-18 14:47:07 -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 51da822541 Brushes: Filigree Arrow's shaft runs into its head with no gap
The shaft ended at x = 84 while the head's inner edge starts at about
x = 84.5 at the shaft's edges and x = 85 on its center line, so a straight
stroke drew a gap between them. The shaft now ends at x = 86, overlapping
the head without moving the tip.
2026-11-18 14:42:09 -08:00
dotCooCoo 2854136daa Merge main into feat/symbols-new-symbol-shift-keeps-art 2026-11-18 14:40:46 -08:00
dotCooCoo 69983aa7eb Merge main into feat/kinsoku-sets 2026-11-18 14:39:17 -08:00
yoriswind b956474dbf Format sampler review follow-up witnesses 2026-11-18 14:38:10 -08:00
dotCooCoo eb19c0438b Merge main into feat/color-wheel-harmony 2026-11-18 14:37:28 -08:00
dotCooCoo 1edaf222e1 Merge main into feat/color-wheel-document-colors 2026-11-18 14:37:17 -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
yoriswind a07eac2e9f #8068: test held sampler ownership, fresh clicks and preset cancellation 2026-11-18 14:25:05 -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
dotCooCoo 1d3aa07e3f i18n: Polish calls the art kompozycja in the Preferences sentences
The Polish rows for UI Scaling, Real-time Drawing and Editing, Render Threads, Use Monitor Profile for Canvas and the two Clipboard Handling sentences said grafika for the art. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:19:18 -08: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 a4ad3e8b46 Merge main into feat/palette-use-counts 2026-11-18 14:17:17 -08:00
dotCooCoo 4b3a543cf3 Merge main into feat/decorative-brush-library 2026-11-18 14:16:18 -08:00
dotCooCoo 44f54c406f i18n: Polish calls the art kompozycja in the Performance sentences
The Polish rows for Real-time Drawing and Editing, Render Threads and Use Monitor Profile for Canvas said grafika for the artwork. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:15:51 -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 591480d33b Command Palette: Enter runs the query typed in its frame, and Paste is dimmed with no document
- Text typed into the search field in the frame that presses Enter
  changed the query after the results were listed, so Enter ran the old
  list's highlighted result (on an empty search, the last pick). Enter
  now runs the first result of the query as typed.
- `menus::why_off` treated Paste as enabled while the system clipboard
  read as pasteable, also with no document open, until the next
  clipboard check. The override now needs an open document, and the
  engine's reason shows.
- `a_result_that_cannot_run_now_is_dimmed_and_says_why` looks up the
  row's color by the name the row draws (without its menu path).
  `paste_is_dimmed_only_while_nothing_can_be_pasted` finds the Paste row
  by its full screen-reader label. `screen_readers_hear_the_kind_and_home`
  checks the first line of the field's description, since Round Corners
  can't run with no document and its reason goes on a second line.
2026-11-18 14:08:12 -08:00
dotCooCoo e496cfd103 i18n: Polish calls the art kompozycja when it can't be its pattern's tile
The Polish row for the message about art painted with the pattern it would replace said grafika. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:07:44 -08:00
dotCooCoo 7dad812011 Command Palette: Recent keeps the home hint, and an unindexed catalog uses the substring rule
Under the recent picks of an empty search, the line under the list now
says where the highlighted pick's home is when no callout can point at
it, without a result count, and the list keeps room for that line.

A catalog too large to index matches by the substring rule alone again:
query words that are each text inside a name no longer combine there.

The canceled-dialog test now cancels through dialogs::cancel.
2026-11-18 14:07:32 -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 6865a4d42d i18n: Polish calls the art kompozycja in the User Interface sentences
The Polish row for the UI scaling sentence said grafika for the art on the canvas. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:06:07 -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