Commit Graph
8650 Commits
Author SHA1 Message Date
aiongg a0b1c35a8f IME: an app editor's own reset survives the host fence
A press during the app's own editor's composition interrupts it, and the
engine wrote its own reset request over the one the editor wrote in the same
output: the platform answered only the engine's id, so the app never got the
completion its own fence waits for, and the fence (which took every IME event)
dropped it anyway.

The interrupt keeps a reset request the app's output already carries, and the
engine waits for that one. The app's reset requests are recorded from its IME
output; their completions and retirements stay in egui's input for the app,
and a completion of the request the fence waits for ends the fence. Late
events of the interrupted composition stay fenced, and an editor that asks
for no reset is fenced by the engine's own request as before.
2026-11-24 21:46:34 +00:00
aiongg 603b9708bd Docking documents trial: clippy type alias and iter 2026-11-24 21:00:28 +00:00
aiongg a1daa3357d IME trial: no expect in library code 2026-11-24 20:47:28 +00:00
aiongg 4e806d57a5 Dock trial: each stack section reports its panel's tab source 2026-11-24 20:41:30 +00:00
aiongg 271e9bf727 Dock: DockAreaOutput::pressed names the panel whose body a press went down in
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.
2026-11-24 20:41:30 +00:00
aiongg 547056ecc4 Dock: a panel's document tabs are gesture sources (SourceKind::Document) 2026-11-24 20:41:30 +00:00
aiongg d2281d2eeb IME: a press during an app editor's composition interrupts and fences it
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.
2026-11-24 20:41:30 +00:00
aiongg f0b97bdc73 Keys: a bare Tab is egui's while every stop is a host stop
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.
2026-11-24 20:41:30 +00:00
aiongg 47c7a5d041 Dock trial: the handed-over drag's drop mark is the tab strip's, not the floated window's own 2026-11-24 20:41:30 +00:00
aiongg 1c6b664bb2 Merge storytold next into dock-gaps 2026-11-24 20:23:54 +00:00
aiongg b2aab0b8bb Merge next-host-input into dock-gaps 2026-11-24 20:23:54 +00:00
aiongg 146a95ed43 Merge storytold next into next-host-input 2026-11-24 20:18:12 +00:00
aiongg 283490a083 Drag: look the moving container's layer up at each hit test
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.
2026-11-24 20:11:24 +00:00
aiongg 28db32fda1 Merge pull request #3393 from aiongg/ci-audit-shard-next
CI: replay audit in a parallel shard from one build; test builds use cl's profile overrides
2026-11-24 15:09:47 -05:00
aiongg c6a4484bca Merge pull request #3357 from aiongg/egui-pin-accesskit
egui: storytold/egui next a87d00caa (AccessKit for every viewport window, ComboBox menus grow back)
2026-11-24 15:02:48 -05:00
aiongg 2fd844eb39 Merge remote-tracking branch 'upstream/next' into test-speed-ci 2026-11-24 20:01:02 +00:00
aiongg 06675d0d55 CI: replay audit in a parallel shard from one build; test builds use cl's profile overrides
- 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.
2026-11-24 19:58:04 +00:00
aiongg 6c7bb625a2 Merge storytold next into egui-pin-accesskit 2026-11-24 19:48:29 +00:00
aiongg 30770cf864 Merge pull request #3300 from aiongg/next-sync-1124
Merge storytold main into next (24 Nov sync)
2026-11-24 14:48:09 -05:00
aiongg ff005fe178 Merge pull request #3386 from aiongg/ci-fast-next
CI: pull requests gate on the Linux Workspace legs; macOS and Windows run after the merge
2026-11-24 14:37:40 -05:00
aiongg 9054b83c27 CI: next keeps its own Linux workspace-crates cache entry; CRW samples are saved once
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.
2026-11-24 19:34:38 +00:00
aiongg ceded0663a CI: pull requests gate on the Linux Workspace legs; macOS and Windows run after the merge
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.
2026-11-24 19:30:11 +00:00
aiongg 44260259bf ui-contract: access state through runtime::egui::memory; mark the host-key trial's TextEdit read 2026-11-24 19:27:43 +00:00
aiongg 1559c08c95 Dock: a window takes over a held press a plain egui widget holds
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.
2026-11-24 19:20:27 +00:00
aiongg 9fd8b0cdaa Add frame::will_rerun for host work once per shown frame
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.
2026-11-24 18:57:43 +00:00
Dylan M. Taylor a4db799563 Merge pull request #3315 from dylanmtaylor/filmcraft/float-raise
dock: the host's focus request brings the floating window that holds the panel to the front
2026-11-24 13:54:31 -05:00
aiongg 02cdd25179 An AccessKit request on a settled view's node reruns the view
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.
2026-11-24 18:50:22 +00:00
aiongg 603c4f20c5 Dock: closable panel tabs stay panel tabs
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.
2026-11-24 18:50:22 +00:00
aiongg 3f75e25076 A press on an app's own drag-only egui widget in a container body is no surface press
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.
2026-11-24 18:50:22 +00:00
aiongg 191ad699b6 Dock: a panel drag a floating window took over docks whatever title_bar_docks says
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.
2026-11-24 18:50:12 +00:00
aiongg a2967e3cc1 DockAreaOutput::window_files names the panel each drop landed on
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.
2026-11-24 18:36:28 +00:00
aiongg 4db99f65a2 Dock: a panel's documents as tabs of its group, and a data-colour swatch on tabs
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.
2026-11-24 18:36:04 +00:00
aiongg fc5f4b2706 DockArea::raise: the floating window holding a panel comes to the front in this pass
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.
2026-11-24 18:35:31 +00:00
aiongg 24d491397d Dock trial: a tab dropped at the window edge beside a start dock makes a new outer column 2026-11-24 18:35:21 +00:00
aiongg ea3b99e892 ui-patterns: drop a dock-gaps trial file the merge picked up from the worktree 2026-11-24 18:32:25 +00:00
aiongg 73b31f60ca Merge storytold next into next-host-input 2026-11-24 18:28:22 +00:00
aiongg 42598245fc egui: storytold/egui next a87d00caa (an open ComboBox menu grows back after its list shrinks, egui#5225) 2026-11-24 18:25:08 +00:00
David Mann db14409326 Merge pull request #3344 from davidmann4/fix/16658-16659-full-window-title-liquify-labels
Full-window dialogs keep their title clear of the window buttons; Liquify labels its View Options choices (photocraft#16658, photocraft#16659)
2026-11-24 19:20:58 +01:00
aiongg 2b20e152e3 Merge remote-tracking branch 'upstream/next' into next-lint-picker
# Conflicts:
#	crates/automation/src/client_tests.rs
#	crates/ui-panels/src/docking/dock_column.rs
2026-11-24 18:17:38 +00:00
Dylan M. Taylor d368994b12 Merge pull request #3317 from dylanmtaylor/filmcraft/tab-wheel-remainder
tabs: a strip with wheel_selects keeps the wheel scroll short of a notch for the next pass
2026-11-24 12:52:52 -05:00
Dylan M. Taylor 9daf905a29 Merge pull request #3316 from dylanmtaylor/filmcraft/float-grip-names
ui-panels: a floating window's resize grips carry the accessible name Resize panel window
2026-11-24 12:52:47 -05:00
Dylan M. Taylor 7904a3f24b Merge pull request #3314 from dylanmtaylor/filmcraft/keys-host-widget
keys: the app's own widget, focused or the window's canvas, keeps its keys in egui again
2026-11-24 12:52:43 -05:00
Dylan M. Taylor 8fe39699a8 Merge pull request #3313 from dylanmtaylor/filmcraft/dock-focus-panel
dock: a host moves key focus to the group that shows a panel, as a click on its tab does
2026-11-24 12:52:40 -05:00
Dylan M. Taylor 8216bc95fa Merge pull request #3312 from dylanmtaylor/filmcraft/foreign-press
A press on an app's own egui widget in a container body is not a press on the container's surface
2026-11-24 12:52:36 -05:00
Dylan M. Taylor a34623b884 Merge pull request #3311 from dylanmtaylor/filmcraft/viewport-input-hook
ui-contract: a host's window-input policy reaches every OS window the runtime hosts
2026-11-24 12:52:33 -05:00
Dylan M. Taylor a668cda8f0 Merge pull request #3310 from dylanmtaylor/filmcraft/dock-gesture-sources
dock: DockArea reports the gesture sources it drew
2026-11-24 12:52:29 -05:00
aiongg 86ac6ac5f0 ui-panels trial: the claims-after-focus stop is a canvas control
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)`).
2026-11-24 17:34:55 +00:00
aiongg 859d801189 A float opened from a listed layer stacks above it
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.
2026-11-24 17:34:55 +00:00
David Mann 518f3c7775 Merge pull request #3359 from davidmann4/fix/lasso-cursor-arrow
Lasso cursors: an arrow on the hotspot with the tool icon beside it (photocraft#16671)
2026-11-24 18:27:56 +01:00
David Mann ea00a61906 Merge pull request #3367 from davidmann4/fix/automation-unasked-line-one-write
automation: write the unasked-line test's line in one write so it stops failing with BrokenPipe
2026-11-24 18:27:38 +01:00