With a given edit running only the regions without a content version, each
version must hold every value another region, or the canvas, can change while no
command runs. An audit of the given-value landings found:
- the type defaults: with no type target, a size, font or other choice in the
Character or Paragraph panel sets the Type tool's defaults, which the options
bar shows, and the options bar's choices show in the panels;
- the foreground, which the Character panel shows as the colour of new type;
- the open Free Transform, Puppet Warp and Perspective Warp: a box, pin or plane
dragged on the canvas changes what the options bar shows;
- the Histogram's adjustment preview, which moves with every Properties slider
move and every Image > Adjustments change until the release.
Each joins the versions of the regions that show it. The Histogram lands its
counts through the framework's timed repaint, which runs the panel again: a
worker thread cannot wake one settled region.
A dialog closed with Escape runs no command, so the title bar replayed the run
made while the dialog held the keys, with no menu bar registered, and F10, Alt and
Alt+letter did nothing until a command ran. The version holds the menu gate's
modal and recording facts.
The chrome trials also check the other side: a new language, a hidden toolbar
slot and an unsaved edit each run the chrome in the next frame, Alt+F opens the
File menu after a dialog closes with Escape, and a maximized window shows Restore.
The file is the one source: the jobs install what it names through
craft-common-actions' rust-channel action, and the nightly run opens a pull
request that changes only the file when a newer stable exists.
Part of #15711
RESAMPLE_CHOICES hands the framework Resample::PreserveDetails, and options_of
and settings_from map it to and from preserveDetails. The kittest
the_dialog_offers_preserve_details_and_it_sets_preserve_details opens the
framework dialog, picks Preserve Details from Resample and reads the settings;
it fails without the change (the choice is not offered).
The command sources' states sit in one held Tracked<CommandStates>, written only when a source's
list changes, so an idle frame moves no revision and the runtime reads nothing. The gate is a fn of
props (the menu gate, the modal rules and the refused commands), so the runtime asks it again only
when they change.
Every craft-libs git dependency (craft-psd, craft-svg and craft-ipp included) and the vendored
hayro, krilla and linesweeper patches take one rev, and egui follows the rev craft-libs next pins.
crates/ui-egui/src/dialogs/export_dialog.rs: main's version. Since #15449 the
Export As dialog is the framework's, so the PR's resample_field and
resample_label changes no longer apply; Preserve Details is added to main's
RESAMPLE_CHOICES in the next commit. The engine side (RESAMPLE with seven
methods, preserveDetails in presets) merged cleanly.
Every frame that built the brush preset rows (the open canvas picker, the
options bar's closed Brush Preset chip and each measuring run of the bar) took
the stroke and tip signature of every preset: JSON of its dynamics and a hash
of its tip bitmap value by value. In a picker Size drag that was 17% of the
frame. Each row now takes its signatures in its paint closures, so only rows
that paint take them, and the tip sample is hashed in one write.
Part of #15476, for #15859.
Every frame ran each dock group's header, tab strip and grip and the title bar
with its menus, because PhotoCraft gave the dock no spec version and the title
slot no content version. The dock's chrome now settles under a version of what
it shows of the panels (their names in the UI language and the toolbar's grid),
and the title slot under the title, the language and whether the menus are in
the bar. A hover over the canvas runs neither.
Part of #15476, for #15493.