main's desktop_items_of_placeable_menus_are_known_to_the_engine test
asks every desktop-only item of a menu plug-ins may place items in to
be listed in DESKTOP_MENU_ITEMS, so placed_menu gives the same result
with and without the desktop app. The item is listed after Image
Trace, where the Object menu shows it.
Conflicts resolved by keeping both sides: the session state and script
and batch rollbacks keep the Concept to Vector jobs beside main's retype
hand-off, clipboard counts and plug-in events; the plug-in deny list
keeps main's entries in order. The Control bar and Properties' Quick
Actions take main's framework buttons with Concept to Vector added
after Crop Image, and the task bar test uses main's helpers. In
docs/ui-parity.md the Concept to Vector row moves into main's table
with its Headless column.
The canvas markers stay as they are when the caller's read folders do
not cover the same files as the document's, or when a script command
makes the call. The links.marked help text, docs/mcp.md and the
progress-doc line now say both, in place of "read folders differ".
When placed editable art names a font family that its file does not define
as a composite font, and the document defines a composite font of that
name, the placed type was measured in the file's font but drew in the
document's composite font after placement. The placed type now gets a free
name such as "Name 2", so it keeps the font it was laid out in. Placing the
same art again reuses that name.
- The renaming also covers the fonts a file carries for its type and the
label font of a live dimension, so they stay paired with the renamed runs.
- An installed family is not renamed.
- The installed-name check applies only to the composite fonts a
placement adds, so a definition already in the document does not stop it.
- docs/mcp.md describes the renaming under file.place.
With Show Missing Links on, a links.marked call from a caller confined to
other read folders saw a linked file outside them as missing and wrote that
answer to the markers the canvas draws, putting a missing-link badge on a
file that is there. The call now updates the markers only when its read
folders match those the document was opened with and no script gate is in
force; otherwise the caller gets its own answer.
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.
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 nudge that the pixel-grid snap took back still recorded an undo step and
left a rounded live rectangle a live path when an object selected whole
was moved together with direct-selected anchors, because the no-change
check ran only for anchor-only selections. The check now also covers
objects selected whole. The path.moveAnchors params text and the Live
Corners progress entry now state the pixel-grid case as docs/mcp.md does.
A whole star draws every point, so its pie angles no longer stop it
from being stored as a live star. Angles configured on any whole shape
are stored with it, so a later arc mode change uses them.
A corner list longer than the old corner count drops its entries past
the last corner before it is spread, so the corners a new point or
side count adds are sharp and keep the default kind.
The canvas hands every pointer move of a frame to the freehand tools, and
each move ran a full preview: the stroke was fitted again, inserted into
the document and run through every post-edit pass, and the next move's
preview threw it away. A pen or a fast mouse delivers several moves per
frame, so drawing slowed down with both the move rate and the document
size (#4343).
- SessionTool keeps the drag samples of a pass and hands them, with the
release when it comes in the same pass, to the new
Session::pointer_samples. Every other tool call hands them over first,
so the order of events does not change.
- Session::pointer_samples feeds every sample to the tool and applies
only the last preview of each run of previews of one command. The held
preview is applied before the release and before any other action.
- Every preview still runs during a Global Edit, with Objects on Path
selected, with more than one object selected, and with New Art Has
Basic Appearance off when the stroke began with a selection, since a
preview there changes what the next sample reads. The decision is
made again after each event that is not a drag.
Follow-up to the review of #9147 (script palettes):
- A waiting click or change that can no longer run (its control was
disabled, hidden or removed by an earlier handler) is dropped before
the open edit is settled, so it no longer commits or cancels a drag
in the active document with no handler run.
- A palette title or other getter that hides or closes the palette
while the palette is being described no longer sends that
description to the host: the host keeps the controls the palette had
when it was hidden.
- A typed text that matches the field's stored text is still given to
the script, before a click, a close or on focus loss, when another
change of that field waits, so the handler reads the typed text and
not the waiting change.
- After a palette event's run fails to begin, the app does not retry
and ask for a frame on every pass. It tries again after the next
input in the window, another palette event, or a change to the
documents' edit state, the active document or the recovery settings.
- The print test now checks that the click's handler ran after the
print jobs were canceled, and the list test only fails when the
earlier item's text changed.
Every preview of a drag starts again from the document as it was at the
press. Its lookup cache does not hold the object the drag adds (a Pencil
or Pen path, a shape), so each lookup of that object walked the whole
tree, about twice per preview, and the cache was rebuilt only in the
preview's own copy.
The cache now keeps, beside its table, the index path a walk found for an
id the table does not have. Every copy that shares the table reads it and
checks it against its own tree before using it, as it does the table's
paths, so later previews find the new object at that path. Repeated
nodes_in_order calls for such an id count toward a rebuild of the table,
and remove and move_node take the parent and the index from one lookup.