Commit Graph
4871 Commits
Author SHA1 Message Date
aiongg baaba88cec Merge branch 'red/ff' into fw/mac1 2026-11-17 04:25:52 +00:00
aiongg 7b0a7bf023 Merge branch 'fw/popover' into fw/mac1 2026-11-17 04:23:11 +00:00
aiongg ad16e443c5 DIAG: a secondary press's winner in arenas with members, and the canvas host's momentary tool and background phase 2026-11-17 04:22:54 +00:00
aiongg 5c50580db9 Sensing: a press past the root's clip (automation's) is taken by a part that shows inside the clip, never by one the clip hides wholly; suite drives skip wholly hidden parts of a canvas control (the clip of its arena), and the corner widgets' drive grips a widget the fixture shows 2026-11-17 04:15:51 +00:00
aiongg 73cf8de8f6 Pages: pages that take turns in one place at the size of the largest
A hidden page is measured only: a measuring run inside an invisible sizing
child, so it senses, registers and paints nothing. It reuses the size its
last measuring run found while nothing it read changed, under the settled
rules a measure reads (no input other than pointer motion, no edit of a value
it read, nothing moving, no app repaint): the measuring run opens the same
run record replay::open/close keeps for settling regions, and lazy keeps its
facts with the size. A reused page notes its reads again, so an edit of one
later in the pass reruns the pass.

PaintChip shows its paint kinds through Pages: its popover keeps the size of
its largest page, so a tab switch moves and resizes nothing.
2026-11-17 03:58:47 +00:00
aiongg db1020b203 Trial: the guides list borrow lives for the whole run (deleted-guide focus trial) 2026-11-17 03:52:49 +00:00
aiongg f66d2fcc54 Popup bodies keep no scroll of their own: their lists scroll themselves 2026-11-17 03:49:58 +00:00
aiongg fac70bfc88 Popup bodies are content-sized layer containers placed by this pass's measure
OverlayUi::show shows its body closure through the container pipeline: a
private content-sized layer container (popup surface, POPUP_PAD, no node of
its own). Step 5 measures the body before the host places the layer, so a
popup whose content changes is placed by its new size in the pass that shows
it, and a filling child takes the width the popup settles on.

The popup keeps its owner key: ContainerProps::owner (crate-private) makes
the container's memory, presence and layer bookkeeping belong to the
component that shows the popup (or the opener its overlay names), so body
memory lasts across a close and KeepAnchor focus return finds the anchor.

The host places a measured layer by at least its least width. The layer's
least width at its anchor reaches a content-sized collection through the
LayerFloor env value the layer container gives its regions in both runs,
replacing the least width the layer memory carried from the last pass.
2026-11-17 03:49:21 +00:00
aiongg 0c7c49d1aa AccessKit Scroll Into View and the scroll actions move no focus 2026-11-17 03:33:21 +00:00
aiongg d2d274e936 The wheel steps a select one entry per line, with its list open too, and its run commits when the wheel stops 2026-11-17 03:21:42 +00:00
aiongg 6eb0fa8cde Focus: a removed stop hands focus to its neighbour as a removal, not an arrival by key, so a deleted guide (or stop, pin, anchor) selects no neighbour 2026-11-17 03:09:37 +00:00
aiongg 2970ef8cc0 Access nodes: a collection's redirect of a row's node is journaled, so a settled dock panel's replay keeps the row's node with the collection and an access Focus on a Layers row focuses the rows 2026-11-17 03:07:07 +00:00
aiongg c1cb2df8eb Canvas Space under a dialog: Space over the canvas a dialog keeps open fires the canvas's momentary command and types nothing while a field in the dialog has focus (no hold, no typing rule for the canvas's press) 2026-11-17 03:05:28 +00:00
aiongg 2451f38b04 Suite pointer drives press the visible piece of a part (part ∩ the root's clip), so a part past the window's edge is pressed where it can be seen (Fixture::visible) 2026-11-17 02:57:35 +00:00
aiongg d8ac0f4a3b Trial: a Layers row's access focus action puts key focus in the rows with the access focus on the row 2026-11-17 02:39:48 +00:00
aiongg ccfaccda45 Sensing: a press egui names no target for starts only inside the root's clip, so a handle past the window's edge is not pressed 2026-11-17 02:39:48 +00:00
aiongg 9db1bef17f Value gestures: a host that keeps a number in f32 echoes the proposal rounded to it; Slider, SliderField, AngleDial and TransformBox read that echo as their own value (craft_behavior::same_in_f32), so a live drag runs on as one gesture 2026-11-17 02:39:48 +00:00
aiongg 86f966d470 Wheel: over the canvas a modal dialog keeps open the wheel goes by position, as over a popup above the focused field (WheelFocus::by_position) 2026-11-17 02:39:48 +00:00
aiongg 877eebf462 Momentary Zoom: the held keys choose its direction, Alt included, so Alt flips only the selected Zoom tool (Alt+Space zooms out) 2026-11-17 02:39:48 +00:00
aiongg 925810d521 Open menu keys: a menu keeps only Escape, Enter and the arrows; its rows' mnemonic letters are its level's claims while focus is in it, so any other key (a tool key) reaches the app's shortcuts (Fixture::type_key sends a key with its text) 2026-11-17 02:39:48 +00:00
aiongg ca71fda229 Design-lint: non-exhaustive types, focus through runtime::egui, prop setters, relation in guides trial 2026-11-17 01:46:42 +00:00
aiongg 9df7f30d95 Merge branch 'tool/cl-pc' into fw/mac1 2026-11-17 01:39:05 +00:00
aiongg 86ff913c14 cargo fmt 2026-11-17 01:37:58 +00:00
aiongg 5602d6f271 Trial: a pressed field's focus is judged on its text part, where focus lands 2026-11-17 01:24:19 +00:00
aiongg a3e646edb7 cl: PhotoCraft workspace (fixed 11-package selection, test/check/snapshot, sharded runner, doctor), CL_DRY_RUN 2026-11-17 01:16:31 +00:00
aiongg 6839d23016 Trial: a field pressed in part view is judged by its full height, not its response rect clipped to the view 2026-11-17 01:06:13 +00:00
aiongg 0ea70922fb Merge branch 'red/t6e' into fw/mac1 2026-11-17 01:05:29 +00:00
aiongg 8f46d3c69a Merge branch 'red/t45e' into fw/mac1
# Conflicts:
#	crates/ui-contract/src/runtime/focus/nav.rs
#	crates/ui-widgets/tests/it/body/scroll.rs
2026-11-17 01:05:29 +00:00
aiongg a29bbbd6a4 Merge branch 'red/t23e' into fw/mac1
One shift-lock opt-in: OutlineDraft::locking_shift_drags (t7d) carries t23e's rule that a Mixed draft which doesn't lock keeps the pointer's path under shift.
2026-11-17 01:05:14 +00:00
aiongg 24104464da Merge branch 'red/t1e' into fw/mac1 2026-11-17 01:04:26 +00:00
aiongg 6f82230954 Merge branch 'red/lage' into fw/mac1 2026-11-17 01:04:26 +00:00
aiongg d6e9997261 rustfmt the crates round D changed 2026-11-17 01:02:42 +00:00
aiongg e59501c290 Wheel: a popup the pointer is over, opened above the focused field's layer, takes the wheel by position; the field's share applies elsewhere (WheelFocus::over_popup from focus::popup_above_focus, shared with press focus) 2026-11-17 00:42:31 +00:00
aiongg fc22fcc030 Paint chip: the Solid tab's swatch list takes its content height up to five small control heights, then scrolls
In the content-sized popover the swatch browser filled the popover's whole room, as the gradient
palette did in the Gradient tab.
2026-11-17 00:40:21 +00:00
aiongg ffebe34d7a Font picker: a preview is a per-pass Preview change, not a value proposal, so a typed query keeps its draft and list while a row previews; a click on the closed field opens the list and selects the name (Cx::select_all_text, TextOutcome::clicked); the text controls forward the change 2026-11-17 00:36:24 +00:00
aiongg 98477eec5c Gradient palette: the presets take their content height up to five small control heights, then scroll
In a content-sized popover (the paint chip's Gradient tab) the palette's preset browser filled the
popover's whole room, so the gradient options under it (Reverse, Dither, Align) fell below the
window. The old palette scrolled past five small control heights, as PhotoCraft's 120 px preset
list does; the browser's room_height gives that bound.
2026-11-17 00:34:27 +00:00
aiongg 91e954f1cc Pasteboard: the surround between artboards paints over the pictures
Between artboards the pasteboard hides the document, cut around the uncovered
rects (loose layers), as production draws it over the picture; the surround of
plain pages stays in the canvas's picture slot, under pictures that reach past
the page. Pages marked active or inactive are artboards.

Trial: the picture shows on each board and on a loose layer, and the pasteboard
covers it between the boards.
2026-11-17 00:30:06 +00:00
aiongg 2c7ce20114 Empty-part cursor: copy the part result before the cursor call 2026-11-17 00:29:18 +00:00
aiongg 78ac1558e1 Focus record keeps what moved focus (press or key/request); a dialog host opened in a pass takes that pass's Escape 2026-11-17 00:28:28 +00:00
aiongg 15bb4ca227 Pasteboard: the surround and the pages' shadows and fills paint in the canvas's picture slot, under the pictures
A picture shown under the canvas controls paints in the canvas's picture slot,
which lies under every control of the body; the pasteboard, shown first in the
body, painted in place over it, so each page's drop shadow (surface.shadow's
alpha) dimmed the picture and a page fill hid it. The pasteboard's surround and
what lies under the pages move into the slot ahead of the pictures; the page
edges and names stay in place, over them.

Trial: a picture in the canvas slot shows its own colour over the pasteboard.
2026-11-17 00:27:52 +00:00
aiongg cebb673c91 Outline draft: a shift freehand drag locks one line only where the tool asks (the Freeform Pen); the selection Lasso keeps the pointer's path 2026-11-17 00:25:38 +00:00
aiongg f4656014b0 A press that moves focus asks for no reveal: the stop under the pointer is focused where it lies, and only focus requests and Tab or arrow moves scroll a stop into view (a crop frame overhanging its canvas panned the view under the press); trial a_pressed_field_in_part_view_stays_put_and_tab_to_it_reveals_it 2026-11-17 00:24:10 +00:00
aiongg 4d600ed6da Transform box: arrows move the whole box unless the keyboard picked a part 2026-11-17 00:22:35 +00:00
aiongg 8a30a026fe The anchor tools' empty-canvas part shows the tool's off-path cursor 2026-11-17 00:21:36 +00:00
aiongg db0a73dd8c Merge branch 'red/t4dd' into fw/mac1 2026-11-17 00:21:03 +00:00
aiongg 87e7f6085f Merge branch 'red/t12d' into fw/mac1 2026-11-17 00:21:03 +00:00
aiongg 67929599e9 Merge branch 'red/t11d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg deeb063378 Merge branch 'red/t10d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg 11ac3e6c4b Merge branch 'red/t9d' into fw/mac1 2026-11-17 00:21:02 +00:00
aiongg 9dd2f2ab83 Merge branch 'red/t8d' into fw/mac1 2026-11-17 00:21:02 +00:00