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.
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.
* Docs: add a script for editable numbered grids
* Docs: bound the numbered-grid example and validate label numbers
---------
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
The visible-text exception applies only to text inside the group that is
the clipping path. Text beside the clipping path in the clipping group
does not keep it clipping, and a clipping group nested in the mask counts
only when its own clipping path keeps geometry.
The progress line for Document.pathItems now says that removeAll()
still deletes the paths of a clipping group when visible text that
lays out glyphs stays in it, as docs/mcp.md describes.
Steps between live rectangles interpolate each key's radius after it is
fitted to its sides, not the stored radius. Their positions lie between
the keys' only on a straight spine; on an edited or replaced spine each
step sits on the spine.
Another open dialog, such as New Swatch, keeps its own scrim over the
canvas while the picker is open. The doc line in docs/mcp.md and the
comment in dialogs/color_picker.rs now say so.