Commit Graph
388 Commits
Author SHA1 Message Date
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 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 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 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 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 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 24104464da Merge branch 'red/t1e' 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 db0a73dd8c Merge branch 'red/t4dd' into fw/mac1 2026-11-17 00:21:03 +00:00
aiongg 1386c169b8 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-16 23:48:40 +00:00
aiongg c9e1851acf Trial: a wheel notch down steps a free select to the next entry 2026-11-16 22:53:43 +00:00
aiongg 7641c82939 Select: a wheel notch down steps to the next entry and up to the previous one, as the combo box and the tab strip do 2026-11-16 22:53:32 +00:00
aiongg 36becdf099 ToolHost::run takes the canvas's ToolPass only
Every host runs in its canvas body, so the form that read a CanvasOutput after
the canvas goes: CanvasOutput no longer carries the pass, and run has no
measuring-run return (no measuring run publishes a pass).
2026-11-16 22:02:07 +00:00
aiongg b1766bb698 Merge remote-tracking branch 'upstream/next' into fw/mac1 2026-11-16 19:42:31 +00:00
aiongg b6088dbdcf Merge branch 'fw/speed1' into fw/mac1
# Conflicts:
#	crates/ui-patterns/src/patterns/dock/area.rs
#	crates/ui-shell/src/shell/app_shell.rs
2026-11-16 19:05:56 +00:00
aiongg 9d61d87e46 cargo fmt 2026-11-16 18:29:58 +00:00
aiongg 9341d4d478 Settling children: a content version, repaints scoped to the child that asks, input elsewhere leaves versioned children settled
Lazy::content gives the version of the app data a settling child shows; it runs when the version changes.
frame::request_repaint asked inside a settling child runs only that child; outside every one it still runs
them all. frame::request_own_repaint moves only what the caller shows: the tool host and the canvas zoom ease
use it. Input other than pointer motion unsettles only the children without a content version.
2026-11-16 17:42:11 +00:00
aiongg 8090388f3b Merge branch 'fw/det' into fw/mac1
# Conflicts:
#	crates/ui-widgets/src/bars/status_readout.rs
2026-11-16 16:48:00 +00:00
aiongg 5215f02eef Merge branch 'fw/dlg-a' into fw/mac1 2026-11-16 16:47:54 +00:00
aiongg 18f6bc55f8 List rows: trailing icon buttons rest in the quiet panel-rail glyph role 2026-11-16 16:47:13 +00:00
aiongg 03cec5ea4f Status readout: info text in the muted shade 2026-11-16 16:45:16 +00:00
aiongg e8ec7b44ae A unit select names its unit once: the number field reads the unit's spellings without a suffix, and the unit lists show the units' names (Units::name) 2026-11-16 16:40:28 +00:00
aiongg 1d8c7d13a2 Merge branch 'fw/mac1-bars' into fw/mac1
# Conflicts:
#	crates/ui-contract/src/contract/body/hooks.rs
#	crates/ui-shell/src/shell/app_shell.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-16 16:25:37 +00:00
aiongg d5929d22a0 PresetPicker gains a compact Chip field: a small thumbnail over its caption on no well, sized for a bar's line; the brush preset picker uses it. PaintBarWords drop Size and Hardness 2026-11-16 16:13:33 +00:00
aiongg 23de14acd3 Hex fields show their # as the side label of their row: the Color readout, the compact and the full picker 2026-11-16 16:06:31 +00:00
aiongg aca39c7347 The status readout shows the document's resolution after its dimensions, and its zoom field has no glyph label 2026-11-16 16:06:08 +00:00
aiongg 4d1063b6dc PaintBar follows the Pro options bar: pen toggles, rules, no size or hardness fields; bar Home and tool buttons at the standard control size 2026-11-16 16:04:10 +00:00
aiongg 8296832417 A field takes its content width among a bar's members
ContainerProps::content_in_bar keeps a container from the width in a bar; Field sets it, and an explicit sizing
clears it. The Content sizing every bar set on its fields is gone.
2026-11-16 16:02:09 +00:00
aiongg 81078945af A row given its height centres its line; a fill-width row on that line fills it; top and bottom shell panes lay their bar on one line
A container given its height whose body is an unwrapped row sets the row's line at the middle of its band and
pads only along the line. A fill-width container with a row body on such a line is given the line's height, so a
bar in a top or bottom slot fills the slot. A container whose first line is its own row's line sits on an outer
row's line by it even with a child of two lines. The shell's top and bottom panes lay their content out as a row;
the egui centring wrapper and the slot's surface under the bar are gone.
2026-11-16 15:59:53 +00:00
aiongg 2103be6de1 Fix clippy and rustdoc errors in automation, draw, imaging, svg, ui-patterns and ui-widgets 2026-11-16 15:40:46 +00:00
aiongg da0fcfd21a design-lint: props: derive the setters of ui-widgets components (#[prop]) and drop the hand setters 2026-11-16 13:27:45 +00:00
aiongg 7c739a93ff Merge branch 'fw/merge-b2' into area/fwb2 2026-11-16 12:55:51 +00:00
aiongg 5adbdb357e merge-fwb: A11: the draft trial's rig has a second field, so Tab leaves the field and commits 2026-11-16 12:53:53 +00:00
aiongg aaa9712551 Merge branch 'fw/merge-c4' into area/fwb2 2026-11-16 12:51:56 +00:00
aiongg 259fc8e0bc merge-fwb: FW13: param rows report range alerts; Global Light angle range and whole degrees; SliderField reports its field's range alert 2026-11-16 12:48:38 +00:00
aiongg 95c557733f merge-c: 1.8: Create Shape raises the range alert for a width or height typed past 1..300,000 px, every kind (UnitSelectOutput.out_of_range; CreateShapeDialog::alert_title, take_range_alert) (#13358) 2026-11-16 12:43:17 +00:00
aiongg 50b726c3fa merge-fwb: FW12: trial that an open menu takes letters and arrows from a focused text field 2026-11-16 12:41:07 +00:00
aiongg a7ff7a4fbe merge-fwb: A10: trial that a NumberField keeping its name in a labelled field is described by the caption 2026-11-16 12:39:49 +00:00
aiongg 08b5c2ac41 merge-fwb: A11: trial that a NumberField draft that is no number owes no range alert 2026-11-16 12:39:06 +00:00
aiongg 3f139e21af merge-fwb: FW2: a trackpad steps only a focused or armed value control; a value control lets go of a wheel gesture when the pointer leaves it 2026-11-16 12:37:30 +00:00
aiongg 016d5074c6 Component samples exist in every build: the contract macro names the sample with or without the testing feature, so craft-menu's build without it compiles 2026-11-16 02:43:01 +00:00
aiongg fd5490dc3b craft-ui-widgets: lints the gate denies (redundant must_use on builder setters, a Paint alias for the picture's painter, the test rows' type, the removed veil named) 2026-11-16 02:05:24 +00:00
aiongg 2d93badb1d Merge remote-tracking branch 'upstream/next' into area/fwb2-f12 2026-11-16 01:42:32 +00:00
aiongg 021859c0b4 tfix5-f12: a root under a modal layer starts no press, targeted or not (sampler::root_takes_press reads egui's modal gate); trial: a press under a modal starts nothing on the canvas 2026-11-16 01:21:32 +00:00
aiongg 754e8c4fe7 Fixed Size's unit menu is the field's only right-click menu 2026-11-16 01:08:07 +00:00
aiongg b171283050 fmt 2026-11-16 01:01:56 +00:00
aiongg f1f0333a5b Merge storytold next into the framework branch 2026-11-16 01:01:38 +00:00