The hosts hand the app the window's context when they create it, so the first frame's input has
the app's commands. The frame's command input carries the shortcut overrides and the hold
shortcuts (kb.C14). Framework Select All and Delete run the engine's select.all and edit.clear.
shortcuts.set reads X X and Hold X (kb.C13b). Plug-in shortcut tests draw a frame after an
install, as the window's keymap takes new commands per frame (shortcuts-w7 note 4).
Test frames adopt their context first; testing gains part_frame and fixture_input.
Tests: a held OK files its answer (confirm_by_id reports false) and closes at the dialog's next pass; save
panels answer after the command, so the options dialog follows a frame later; values sent through
ui.dialog.set are the rows' own (radio ids, choice ids, numbers in points); Save PDF's key is pdf-export
and its sections are ids; ui.click is queued input; URLs open from the app's tick; the 3D fixture takes
the app's frame input; the Simplify strip's slider is named as production named it.
App: Transform Each runs its link and mode rules when automation sets a value, and keeps Reflect and the
reference point as their rows hold them.
The weight stepper gets and returns the shown number while its ladders are in points: steps now
convert, so a picas or millimetre weight steps through the ladder, and a blank weight steps from
0.25 pt (#5349) and keeps its presets. Dashes turned on for the first time are 12 pt dashes and gaps,
as before. Tests read the weight as the field's number and use the framework's X position and Angle.
Ruler edits move the first-line indent relative to the left one (RulerValues); swatch dialogs are read
by their name and from fields, a new swatch's group is checked after OK; the bullets loop picks None
last; 3D settings compare as numbers, as whole numbers are stored as integers.
A highlight set by a panel action before the list ever drew had no document yet, so the next draw
dropped it; such a panel now takes the active document.
- Style dialogs: the wrapper passes Reset through, a number set on a text row is taken as its JSON text, fields hold numbers as production showed them (12.0), a refused value keeps the last accepted preview, and a paint set from outside updates its tint flags.
- Brush Options keeps its hidden JSON values whole and holds an automation-set Colorization as its select does.
- Graph Data's sheet and JavaScript Files' list own their scroll.
- Kinsoku Shori Settings' New no longer writes the old fields into the new set.
- Flatten Transparency opens with Preview off; a gradient stop's colour takes hex only; Envelope Warp's Horizontal/Vertical radio holds its ids.
- Tests: held dialogs' OK is driven through app frames; lookups use visible labels; a length row is set in points (wg.W21); Check Spelling sits in Edit > Spelling.
Field labels drop the colon the form draws (Angle, Line Length, Corner, Pivot, guide X and Y), each
corner's Corner select gets its own name, the Transform panel's own commands get their titles, the
Appearance row swatches are named for their row and Blend's Direction label describes its button.
Tests use the framework's names (X position, Width, Top left, Visibility, Format), read length and
percent fields as the number they report, panel-menu checks from the panels' menu states, swatch
values as #rrggbb, and frame effect dialogs in the app's own window.
- Recolor Artwork's wheel is "Color wheel" or "Segmented color wheel" again; ui.dialog.set takes the
Edit tab's fields that start unset (sliderMode, display, wheelTool, wheelAxes).
- ui.inspect lists the window's open dialogs under dialogs, as the framework's automation asks.
- Tests: wheel markers are named by lowercase hex as the framework names them, a channel's rail is its
Slider (the number field shares the name), the dock is read under its saved name, and Place answers
the file pick after it opens.
testing::app_frame runs one whole app frame the way the hosts run it: the app
gives the frame its input through embed::before_input, the window draws, and the
commands the frame fired run as the next frame begins (kb.C26). The whole-app
frame helpers of the tests use it in place of their own run_ui, so shortcuts
and other fired commands reach the app in tests too.
The egui fork asserts that a frame's texture deltas are handled. Test helpers
that dropped a frame's output now clear its deltas, as the other frame helpers
do, and the panes tests' wait_ready reads the uploaded picture and then clears
the uploads it collected.
Dialogs now open on the window's dialog host and the shortcut commands edit the
keymap the window builds in its first frame, so a test app needs a window. One
helper, testing::windowed, gives it one (the dialogs tests' window and three
copies of it now use it); the dialog, artboard and appearance tests that built
a window-less app use it, the shortcut tests' apps draw their first frame, and
the actions tests install their scripted files on the app's host the way the
picks tests do.
A collection inside a body that scrolls along its rows now says who scrolls:
the Recolor Color Groups list and color bars and the Export for Screens items
cap their rows at the height production's panes had; the Symbols, Graphic
Styles and Links panels and the Swatches paint popover hand the scroll to their
one collection; the plates list, the opacity mask row, the character
alternates bar and the Export for Screens tabs take their natural height.
Tests that drew on a bare egui context now use testing::ui_context, so the
framework runtime and its command registry are installed as in the app.