Files
vectorcraft/crates/engine
dotCooCoo 90b6a7640b Scripts: palette events keep drags, drafts and frames as the person left them
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.
2026-12-04 02:54:11 -08:00
..