An editable Keyboard Shortcuts dialog sizes from its content, so with a
large catalog the table takes the whole window and the dialog covers
it. The app had no way to choose another size.
- `Options::size`: the dialog opens at this size, in points, until the
user resizes it. A size that is not finite is ignored.
- Without it, an editable dialog opens as before and a read-only one
keeps its moderate fixed size.
Show always listed All Commands, each menu, Tools, each panel and Other
before the app's own `Options::areas`. An app that gives Tools and Menu
Commands as its only entries got them at the end of a long strip, with
a second Tools entry, and the dialog opened on All Commands.
- `Options::own_areas`: Show lists only the app's own entries (and
Fixed Keys), and the dialog opens on the first of them, or on the one
that lists the command selected before it opened.
- Go to Conflict and Accept and Go to Conflict show the holder under the
first entry that lists it when Show has no All Commands.
- The option is off by default, and a dialog without it is unchanged.
- atomic: a file the user may write but not read (mode 0200) saves again on macOS; its extended
attributes can't be read, so there are none to keep.
- menu, ui-shell, pages, ui-contract, ui-canvas tests: follow the macOS conventions the code already has. The
in-window bar test pins its target as the other bar tests do; macOS has no Menu key and no Cmd+Home/End move;
its platform copy key is Option; a press with Control there is a secondary click, so Control comes after the press.
Conflicts resolved (upstream's design and defaults win; the port's opt-ins stay):
- ui-contract fonts: upstream's served-faces provider, catalog job queue and byte budget;
the port's FaceBytes::chain (Word subset siblings, F-8) re-done on the provider: a served
face lists its served chain faces before the interface faces, a sibling landing after its
owner remakes egui's fonts once, drawing a face marks its chain drawn. The port's chain
trial moves onto upstream's rig, plus a late-sibling trial.
- text editor HostCx follows FacesCx's job-based document_face and document_face_bytes.
- ui-widgets Swatch: upstream's SwatchFill (split, spectrum, image, empty) with the port's
Swatch::optional / SwatchFace::optional (new SwatchFill::None, the "no colour" diagonal)
and Swatch::icon (glyph on the empty well) on top; both word sets kept.
- draw PaintBar: upstream's MixerLoad fill.
- font-manager: upstream's sample band; host rows (port) use it too.
- ui-panels / ui-patterns dock grips: upstream's drag_origin and named slack.
- platform clipboard tests: both trials kept.
Co-Authored-By: Claude <noreply@anthropic.com>
Story trials have no host, so document-face and texture loads ran on default_jobs' threads and a fixture
could settle before a face landed (StyleList::variants on Windows: rtl 52.0 vs 52.8, motion shapes change
after the drive). InstallSpec::jobs sets where a context's background work runs while no host is installed;
Env::jobs_of (host, else installed, else default_jobs) replaces the two copies in the face registry and the
texture loader. testing::install_spec and the suite's language hosts use InlineJobs, so a load asked for in
one pass lands in the next on every machine; the two per-story InlineJobs options go.
menu: upstream's memoised bar and English names in the model, with the port's icons/compact
options and disabled submenus. behavior: press keeps both the pointer-left and pass-drag
states; KeyRole gains PartialEq/Eq. automation: agents deps via craft-control, screenshot
params with region, document points with a page. font picker: upstream's column list, kinds,
actions and missing note, with the port's host groups, current host row and mixed label.
theme: wordcraft and pdfcraft app palettes. Cargo.lock: port side; vendor jbig2: upstream.
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
Framed galleries now render with the sunken well surface (`colors.surface.sunken`)
and provide a dedicated stepper track (`colors.surface.panel`) with divider definition
for the stepper buttons column to preserve contrast and hierarchy in both light and dark modes.
Brings in craft-libs#2756 (frame-t3), #2810 (a memoized view in a row sits on the row's line) and #2838 (home rail look).
- egui pin and Cargo.lock: rework-d2's egui rev, which contains #2756's; frame-t3's serde line for craft-tracked.
- menu bar: EnglishFn goes with frame-t3's removal of english; rework-d2's docs stay.
- Env::start_view_room: keeps both column flags, then Shrink::Fit when the view fits.
- lazy::Place: both opacity and fits.
- Lazy::run_keyed: a memoized view's room is the row's cap when the row narrows it, else the flow region, and then moves down onto the row's line (on_row_line); the cap is horizontal and the move vertical, and the move keeps the room's size, so a kept run replays moved with it.
A memoized view's content started a layout room of its own that cleared the row's shrink step, so a view in a row
took the row's whole remaining room. The in-window menu bar, a memoized view that filled X, then ate the title bar's
gap and the document title was never drawn.
A memoized view in a shrinking Row is now one of its units, as a body unit is: it reports what its content takes in
no room in the counting sweep and what it takes with every leaf at its least in the least probe, and shows at most
the width the row gave it. That width is the room of its place, so a new width runs the view and an unchanged one
replays; whether the view is a row unit is a fact of its place too. Its content's leaves fit that room.
Env::local_mut clears the cached scope key, so a sweep that edits its scope keys again.
MenuBar no longer fills: it measures every title's width, and the "…" title alone as its least, so a short row
narrows it and the last titles fold into "…".
A group sized the spacer under its content from the content height the last real run kept (ContentHeight), so in the first frame every group stood one body too tall, and a host laying out under the ribbon saw a taller ribbon first (WordCraft scrolled its caret into view 64 pt off). The titles' line (BodyHeight) and their centring (TitleCentre) were the same last-pass state.
Each group is a labelled stack that fills the row's line: its title sits at its foot under a filling spacer, its separator fills its height, and its title row centres the title across the group's width in this pass. The row's least height (three control rows and a title line) is the row's least line height. ContentHeight, BodyHeight and TitleCentre are gone.
- An overlay layer's root node is `layer_root(P)` = `P.with(Sub("layer"))`, written before the layer's `Area` shows;
egui hangs the Area, its content `Ui` and the container component under it (root -> A -> P), in the run and in a
replay. The journaled content-parent registration is gone; openers' `controls` name the root.
- Trials check at every pass end that egui's AccessKit parents hold no cycle (`Context::with_accesskit_parents`).
- A running gesture ends as removed when its component was not shown in the previous pass by a run or a replay,
read from the memory registry's owner passes, which replays register; the per-component `drawn` stamp is gone.
- A run that dismisses its layer, or whose animation tween moves, is not replayed: its next run reads another state.
- A run that ends holding focus reads `Input::Focus` with `Input::Sent`; a chord capture reads `Input::Sent`.
- The toast queues are a tracked input (`Input::Toasts`, read by `toast::cards`).
- Trials: a popover in a view hangs below its layer root (fails without the root's own id), a toast opening runs its
view in its frame and then replays with the stack order kept; the overlay trials run with motion off and keep their
scene in place; craft-menu's labels trial drives a key into the open menu.
A memoized view that shows an overlay journals the layer (its Area, layer stack entry, peers, layer content parent)
and replays it pinned where it ran; a view holding focus replays while nothing is sent to it (Input::Sent) and the
focus is where its run left it. Press and safe-rect inputs, queued closes, journaled AccessKit focus, IME caret and
key claims are tracked or journaled. Trials: overlay trials in memo_view.rs and craft-menu's open-menu trial. The
layer root's own id in the next commit keeps egui's AccessKit parents acyclic when these records replay.