craft-libs main moved after the merge of main. The pin moves to
`77ade517`, which adds craft-libs #4644, #4053, #4723, #3662 and #4635.
The egui and winit revisions are unchanged.
A panel opened from the Window menu, such as Learn or Image Trace, floats in
an OS window. craft-libs hid floating panel windows while the main window
showed any layer that takes keys, including the Contextual Task Bar over
selected art. The panel's window then hid and came back as art was selected, and while it was hidden the canvas still counted its
area as covered by a window. A Selection tool move released there was given
up, and the art went back to where the move started.
craft-libs main (storytold/craft-libs `2e9d498e`) hides floating panel windows
only under popup and modal layers. The craft-libs pin moves to craft-libs
main, `858bea9d`, with the egui revision that craft-libs pins (`861d60a6`).
The winit revision is unchanged.
A test opens Learn and Image Trace through their Window menu commands,
selects and moves a rectangle, and checks that each panel's OS window shows
on every frame and that the move ends where it was released.
Parse tests in the color crate looped over every id or label and parsed
it back. Blend modes, policies, harmony rules, recolor methods and WCAG
categories parse by looking the text up in that same table, so those
loops could not fail. They now parse representative ids, labels and
spellings, and the edge cases: "Color" next to "Color Burn", empty
text, and a label where only ids parse.
- default_swatches_parse read swatch.rs as text. It now checks the
built swatches: no two solid swatches share a color (a bad hex
literal falls back to black), and the Sunset and Ocean stops equal
the swatches their literals name.
- loads_system_cmyk_icc ran only on macOS and returned early without
the system profile. loads_icc_files_and_refuses_bad_ones runs on every
native target: a missing file is an I/O error naming the path, a file
that is not a profile is refused, and a built-in profile's bytes are
refused for their name.
- the_other_libraries_keep_classic_mixing_and_centered_midpoints is
removed: those libraries are built with Gradient::new's defaults.
- pixel_timings and bench_catalog_lookup are removed. They were ignored
and only printed timings.
- Checks over lists that can be empty now also check the count:
reverse and move keep every stop, a conic draws its 4 wedges, each
harmony gives at least two colors, the fit leaves patches out, the
wireframe draws edges, a flat warp keeps its anchors, a gradient
stroke has slices, and fitted dashes on a curve are drawn.
- the_effects_are_colour_adjustments_in_their_own_menu checks one
add-on effect and one effect outside it instead of every entry.
main's CI fails at test-lint since #8808 merged: keys_held_during_a_touchpad_gesture_count_until_it_ends is compiled only on macOS, which no CI test leg runs. egui reports a touchpad gesture's phases only on macOS; on Windows and Linux it reads a touchpad's Ctrl+scroll as a pinch, so the test cannot run there. The allow comment names that reason.
craft-libs #4609 measures the Fill and Stroke proxy at the width of its
column, so the proxy no longer widens a one-column Tools panel. The
column is then one rail button less one tight gap wide, and the three
swatch chips (a third of a rail button each, a tight gap apart) took
more than that: None wrapped onto a second line.
The craft-libs pin moves to storytold/craft-libs#4659, which sizes a
swatch chip so the three chips and their gaps fit the column. That rev
also carries #4609 and the other craft-libs changes merged up to
d73e274a. The one-column toolbar test now also checks that the chips
stay inside the column of tools and do not overlap, and a new test
checks the same at UI scale 2.
With Include Bleed, a .vectorcraft, .ai or EPS row wrote the artboard
already grown by the document's bleed and kept the document's bleed as
well. Opened again, the file had the bleed outside the grown artboard, so
a PDF with the document's bleed came out with it twice: a 3 mm bleed made
a 6 mm one.
These files now hold the grown artboard with a bleed of 0. PDF rows and
Full Document files are unchanged. The params text and docs/mcp.md say so.
The Color tab of the gradient stop popover gave its Color panel only the
stop's sRGB, so every frame the rows worked their values out again from
that sRGB. On a CMYK stop, typing a value or dragging one slider rewrote
the other channels: typing Cyan 40 on C10 M20 Y30 K5 gave M17.3 Y24.7 K0.
The popover now passes the stop's values in its own model, as the Color
panel does, so a typed value stays as typed and a drag changes only the
dragged channel. The new test types Cyan, sets Magenta and drags Yellow
on a CMYK stop and checks the exact channel values after each edit.
The white square behind the Difference square was opaque, so the art behind
the group never reached the blend and the test gave the same answer with
isolation off. That square is now 50 % opaque. The test checks that the
isolating group gives one answer and that the same group without isolation
reports that the art behind the selection is not one color.
General gets a Reset All Warning Dialogs button after the Show External
Script Warning row. It turns every warning that a Don't Show Again box
turned off back on in the Preferences window, and OK or Apply saves it.
The button is dimmed while every warning is on, so a click then changes
nothing. The warnings with a Don't Show Again box are listed in one place
(`WARNING_DIALOGS`), so a later dialog with the box joins the reset by
adding its preference there.
The params text of ui.livePaintGapOptions in
crates/ui-egui/src/menus/ui_commands.rs gained the failed-preview
sentence, but crates/mcp/src/ui_catalog.rs was not regenerated, so
`cargo xtask ui-commands --check` failed in CI. This is the output of
`cargo xtask ui-commands`.
When the planar map is skipped because the paths have too many pieces
(SHAPE_BUILDER_MAX_MAP_EDGES, added in 7a46d5ec56), too many segments
or exceed the sweep's work budget, Divide with open paths fell back to
the filled areas. It replaced the selection with the uncut shapes and
deleted the cutting paths without saying so. Live Paint built no faces:
Make reported the paths as too degenerate to paint, and with Gap
Detection a group could get its edges and no faces.
pathops now has try_pathfinder_with, try_live_paint and
try_live_paint_with_gaps, which return TooManyPieces in those cases
without sweeping the filled areas. Divide, Live Paint Make, Merge and
Gap Options use them and stop with an error that leaves the art
unchanged. The caps, and the fallbacks of pathfinder_with, live_paint,
live_paint_with_gaps and the Shape Builder, are unchanged.
When a Gap Options preview fails after one that found gaps, the dialog
no longer keeps drawing the earlier preview's gaps over the groups the
failure put back.
Docs: docs/mcp.md, the commands' params text and the Divide line in
docs/target-app-parity.md.