mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
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.