- Colors in the older color fields read gray (model 9) and CMY (model 4)
as the .cdr reader numbers them, instead of opening as black.
- A dash pattern whose lengths are all 0 draws a solid line, as for a
.cdr outline.
- A curve whose point field is too short for its count and is not whole
points with their type bytes is left out as damaged, instead of reading
coordinates as point types.
- A layer without a name comes in unnamed, and the importer names it by
its place, as for a .cdr drawing.
- After stray bytes, a chunk id starts with a letter and may hold digits
and spaces, and the id found must name a chunk the reader uses or have
a length that fits its list. Padding is no longer taken for a chunk.
- A canvas or a container in an object's attributes gives the
unsupported-objects warning.
- A page with no size and no bounds is 612 x 792 pt, VectorCraft's own
size, as for a .cdr page; PROVENANCE R61 says so. PROVENANCE also names
the other program's .cmx reader, read for field order.
.cmx exchange files with 32-bit coordinates open and place as editable
art. vectorcraft-cdr reads the RIFF form CMX1, its header, the color,
pen, line type, dash, outline and arrowhead tables, and each page's
instructions in drawing order, into the drawing model the .cdr reader
uses, so the importer maps pages, layers, groups and curves with uniform
fills and outlines the same way. A layer that holds nothing is left out.
A page that gives no size of its own takes the size of the drawing's
bounds, which the page header stores, and is centered on them.
Text, images, rectangles, ellipses, clipping paths, fills other than
uniform ones and arrowheads are left out, and lenses are not applied;
the warnings name each kind, with rows in every complete catalog.
Big-endian files and files with 16-bit coordinates are refused with a
message. Layouts and their sources are rows R53 to R63 of
crates/cdr/PROVENANCE.md; tests use synthetic files only.
Clicking between app windows (floating panels and the canvas) passes through one frame where none of them has focus. The palette levels counted the app inactive on that frame and lowered every floating panel's OS window. The panels flickered, could end up disappearing behind the main window until the next repaint, and a click on one panel's bar could hand the keyboard to another.
The app now counts as inactive once none of its windows has had focus for 0.25 s, counted from the first frame that saw none. craft-ui's docking waits as long.
Fixes#6986
Conflicts in docs only (status lines, changelog rows and table rows):
main's entries and this branch's are both kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>