A host body keeps its presses and its egui focus, so the group takes
no focus and DockAreaOutput::focused never names the panel clicked
into. BodyCx::pressed_within reports a primary press in the body's
rect on its layer whatever took it, sharing the press geometry with
surface_pressed, and the dock area reports the group's shown panel as
pressed.
The engine fenced only framework editors. An app's own editor (an egui
reader that writes the pass's IME output) saw the late deletion and
commit of a composition a click ended arrive in the next frame (the
one-press rule holds them), with no composition active, so they edited
the text at the new caret. The engine now records the editor from the
IME output it wrote, follows its composition through the IME events
left to it, and on a pointer press during it interrupts in the
editor's own context and drops the IME events until the reset
completes; events after the completion reach the editor.
With only the app's own widgets registered as stops (a hosted canvas),
a bare Tab from nothing or from a host stop that does not keep Tab was
a framework move whose order held the host stops alone: the canvas
took focus and Tab cycled on it, so the app's other egui widgets were
unreachable. The key stage now leaves that Tab to egui (TabToEgui),
whose order holds the host stops and the app's widgets. A Tab that
toggles the chrome stays the framework's.
drag::start took the source container's layer from the layers shown last
frame. A window floated in the pass before it continues a press (a rail
popup dragged out) runs its body, and so starts its drag, before its first
layer is recorded, so the session moved no layer: drop targets did not look
through the dragged window, and on release the window's own drop target,
the top layer under the pointer, took the drop and refused it, leaving the
panel floating. moving_layer now reads the source's layer from the layers
shown last frame at each hit test. The plain-egui hand-over trial floats
its window in the pass the press is handed over, as the app does.
- scripts/ci-workspace-tests.sh holds every Workspace test step. When the selection reaches a
replay-audit crate, the Linux leg builds once in gate.yml's build job, writes three nextest
archives (every selected test, the audit's UI crates, the default-feature crates), runs the
doctests, and three shard legs run the archives in parallel. Any other selection, and every
macOS and Windows leg, builds and runs in one leg as before.
- .config/cargo-dev.toml is the dev-profile tuning tools/cl passes locally (dependencies at
opt-level 2, craft-theme/behavior/proof at 1, lto off); every CI test build passes it too, with
.config/cargo-ci.toml adding the numeric crates at opt-level 1. The Workspace legs' cache entries
are named after a hash of both files. Cargo.toml's profiles are unchanged.
- nightly.yml builds through the same script and also starts the full tests on next.
Pull requests into next restored main's workspace-crates entry, which is built from other code and
another lockfile, and rebuilt nearly the whole workspace from it (15.5 minutes on next today).
nightly.yml's daily manual run on next now builds from source and saves next's own entry, which
pull requests into next restore before main's; cache prune keeps only its newest one.
crw.yml saved the same 78 MB of sample files once per pull request (17 copies today); pull
requests now restore the branch entry and never save.
The macOS and Windows Workspace legs take 1.5-2 hours against the Linux leg's 15-40 minutes, and
every pull request waited for them. They now run on every push to main and next, on main's
scheduled runs, and on a daily run on next that nightly.yml starts. A pull request that needs them
before it merges gets the full-ci label. Pushes to next cancel the run they supersede, as pushes to
main do.
An app's own popup (TextureCraft's rail popup) senses its title row with
egui, so no arena holds the press it hands to a floated panel's window
through DockArea::continue_move. hand_over_press found no arena press and
the window never followed the pointer, so the panel stayed floating where
the popup was. When no other arena holds a press, the window's move band
takes the primary press from egui's pointer state; a press held by another
arena is handed over as before.
Layout memory requests its discard pass from egui in its end hook, after the
app's UI, so Context::will_discard() read by host code during a pass that a
changed size runs again is still false. frame::will_rerun is true when egui
will discard the pass or when this pass asked layout memory for the frame's
discard pass and will get it. Hosts gate frame counts and settle counts on it.
The discard request stays in the end hook, so lazy runs and memoized replays
keep their records of the asking pass.
A settled memoized view replayed unless a routed intent's target was one of its
egui widgets or focus stops. An AccessKit Click on a part with no stop (a tab's
close button) goes to the node's owner, a collection row's component, which is
neither, so the dock's tab row replayed and nobody read the click. A record
notes the owners of the nodes its run registered (Facts::node_owners), and a
request routed to one of them runs the view. The documents story's tabs close
again.
A group with a closable panel made its strip TabKind::Document, so its tabs
overflowed whole instead of shrinking to their first letters. TabKind::Panel
shows a close button on the tabs the host makes closable and closes them on a
middle click (TabKind::closes_by_default: only document tabs close unless the
host says so), and a dock group's strip is always a panel strip.
- A middle press picks no row in a collection that senses MIDDLE_CLICK: there
the middle click is the row's own action, so closing a panel tab does not
show it first.
- Tab's least width holds the tail, icon and close button beside the first
letters, as `place` lays them out, so a shrunk tab keeps its letters.
The surface-press rule left a press alone when its click target was a raw egui
widget (pointer::foreign_target); a widget that senses only drags (a canvas)
is the press's drag target and has no click target, so the container took the
press as one on its empty surface. Both targets are checked.
A window that continues a panel's drag (DockArea::continue_move, a rail popup
floated by its tab) began its move as a title-row move, which docks only with
DockConfig::title_bar_docks. The handed-over press now says so through the
move: PressStart::handed (set by PressMachine::take_over) and
PlacementChange::continued on the layer move's reports. FloatingGroup starts
its window drag with GroupDrag::title_row only for a press on its title row,
and DockDropTarget refuses only those when title_bar_docks is off.
A file drop on a floating OS window reports the shown panel of the group under
the drop, from the drop session's pointer; the first group's on the title row or
when no pointer is known. ui-docking.md covers documents, swatches, raise and
WindowFiles.
PanelSpec::documents lists what a panel shows (a Timeline's compositions) as tabs
after the group's panel tabs, in the same strip: one fit, one overflow menu, one
keyboard order. A pick reports DockEvent::DocumentPicked and activates the panel;
a close reports DockEvent::DocumentClosed. PanelSpec::swatch and
PanelDocument::swatch show a data colour in the tab's icon slot.
An OS window gets WindowAction::Focus; a window on a layer goes to the top of
egui's area order through overlay::raise, which now raises floating windows too.
The window's document canvas holds its declared claims with nothing focused,
so a `KeyUse::CANVAS` stop claimed Up in the frame focus arrived in. The trial
is about a focused component's claims; its stop is a canvas control that marks
no document (`with_chrome_key(false)`).
Floating windows stay out of the overlay's egui order so they stack with the
app's own egui windows, but a listed layer goes above every unlisted one: a
panel floated from a full-window container went beneath the container. A
float whose parent is listed is listed too, above its parent.
A keymap takes Delete and Backspace as one key by default (`DeleteKeys::OneKey`,
Photoshop's rule): a press runs its own key's binding, else the other key's.
`Keymap::with_delete_keys(DeleteKeys::Apart)` keeps them two keys, for an app
that gives them different jobs, and `Matcher` then runs only the pressed key's
binding.