The reader opens a PowerClip frame whose clipped objects were all left out
(bitmaps, text and other objects it doesn't read yet, or contents past the
import limits) as a plain shape, and the warnings only said that objects
were left out, so an empty frame had no explanation.
Opening a drawing of version 4 or later now adds the line "CDR PowerClip
frames whose contents were left out opened empty, as plain shapes" whenever
the reader left objects out or stopped at a limit. Drawings of versions 1 to
3, which the reader opens without frames, don't get it. The reader's
warnings don't say which frames lost their contents, so the line is shown
for every such drawing.
DWG drawings open and place through the DXF reader since #10802, but
the M4 row in docs/roadmap.md still listed DWG under Left. The row now
lists DWG import with its pull request, and Left keeps DWG export (use
DXF).
The test-lint step flagged the all() check on the fallback image as
unguarded: an empty pixel list would pass it. The test now asserts the
image holds one pixel per position of its 3 x 2 size first.
#10622 changed the tool-name assertion in crates/mcp/src/tests.rs, and
test-lint's all-unguarded rule failed main's gate on it: the all() check
had no emptiness check that the rule recognizes. The test now asserts
that tools are defined and that each name is non-empty on its own, then
checks the name's length and characters.
Under the Selection tool, Group Selection and the other tools that do not
edit anchors, the selected paths' anchor squares draw at 4 pt at the
default Size, one point smaller than under Direct Selection, the Pen and
the other anchor-editing tools, which keep 5 pt. Each Size step still
adds or removes one point under every tool. Tool overlays follow the
active tool the same way.
Part of #10720.
The edit field read the focus of the field's outer response, which never
holds the keyboard focus: the focus sits on the field's text part. A
click elsewhere or Tab out of a palette's or dialog's edit field then did
not give the typed text to the script. The field now reads the text
part's focus loss (`text_lost_focus`).
The focus-loss test drives the focus with Tab through egui instead of
calling the commit helper, and fails without the fix.
The retry docs in the script.palette.event help, docs/mcp.md and the
progress-doc entry name the recoveryFolder and recoveryOffForComplex
preferences, the two recovery preferences whose change starts the
waiting events again.
A failed conversion was returned for the same bytes until another
drawing replaced it, so a worker stopped by its deadline, by a lack of
memory or by a failed start kept failing after the cause was gone. The
failure is now kept for 10 seconds from when the conversion returned,
which still covers the reads of one Open, and the next read converts
the drawing again. A conversion that worked is kept as before.
color_image_owned cast the raster's Vec<u8> to egui's Color32, which is
aligned to 4 bytes, so bytemuck's try_cast_vec always failed and the
fallback copied the whole frame: about 20 MB at 2880 x 1800 on every
full-frame upload, despite its doc comment.
The renderer now also renders into a Vec<u32> (render_words,
render_plain_patch_words, render_region_words). Over transparency the
vello context draws straight into those words; frames that compose
offscreen, blend in CMYK, show an opacity mask or are supersampled
are converted once. color_image_owned takes that buffer and hands it
to egui as Color32 in place. The canvas frame, the render worker's
frames, pan fills, split panes, edit parts and the region previews
(stroke and artboard images, graphic style swatches, the PDF page
preview, the flattener preview) use it.