aiongg
7762aab37b
Merge pull request #3319 from aiongg/rc-next-regressions
...
Right-click on guides, rulers and the transform box; percent fields keep the caller's decimals; empty mixed font family
2026-11-24 09:48:54 -05:00
aiongg
64cec6a26a
Merge pull request #3293 from aiongg/rc-dock-drag
...
Docking: one drop mark, the panel's name in the drop region, and Tile All in docked cells
2026-11-24 09:46:18 -05:00
aiongg
ca6f3d1599
Merge pull request #3291 from aiongg/rc-tooltips-shake
...
Tooltip width in inspector cells, click-dismissed tooltips, no modal shake on a sampled press
2026-11-24 09:46:03 -05:00
aiongg
f6290898c4
Merge remote-tracking branch 'upstream/next' into rc-next-regressions
...
# Conflicts:
# crates/ui-contract/src/layout/mod.rs
# crates/ui-shell/tests/it/shell/title_bar.rs
2026-11-24 13:35:21 +00:00
aiongg
290415fd4f
Merge storytold next into rc-dock-drag
2026-11-24 13:26:57 +00:00
aiongg
00a3c21452
Merge storytold next into rc-tooltips-shake
2026-11-24 13:26:57 +00:00
aiongg
692ea17f1e
Merge storytold next into rc-modal-stack
2026-11-24 13:26:57 +00:00
bflatastic
2157b8afc8
Merge remote-tracking branch 'origin/next' into fix/vc-highlights-a
2026-11-24 20:00:44 +07:00
bflatastic
09650e1d3d
ui-contract style: TrackFill, a root style value; under TrackFill::Accent a slider's and a range slider's track fill the value's part in accent.solid (disabled text.disabled) on a line.outline groove; TrackFill::Muted, the default, keeps text.muted on line.control_edge. Slider story under Accent
2026-11-24 19:38:11 +07:00
bflatastic
d8a00e1e92
Merge remote-tracking branch 'origin/next' into fix/vc-tabs-sections
2026-11-24 18:55:47 +07:00
bflatastic
6ea1ea73b1
ui-contract, sections: SectionRhythm, an env value an app sets once at its root. Under Spaced a header ruled above (a Section) stands its rule space.gap.section off what precedes it in its Stack, in place of the stack's gap (no room at its flow's start), and its header space.gap.row below the rule; Tight, the default, keeps the stack's gap and the header right under the rule. The Stack's gap reaches its direct children through the env. Story section_rhythm shows both.
2026-11-24 18:52:16 +07:00
bflatastic
66ab239f53
ui-contract, text: TextRun::data_color fills the run's colour from data, painted as given, as IconSpec::data_color does for an icon: text over document content in the content's own colour
2026-11-24 18:33:33 +07:00
David Mann
5bbeb937e9
Merge pull request #3288 from aiongg/next-ci-reds
...
Make next's own CI green on Linux
2026-11-24 12:33:08 +01:00
bflatastic
9897901b67
Merge remote-tracking branch 'origin/next' into fix/vc-link-ink
2026-11-24 18:17:12 +07:00
bflatastic
9a41bd4b84
ui-contract, field labels: LinkLabelInk, an env value an app sets once at its root, draws a field's label shown as a link in text.normal (Neutral) instead of the link look's accent (Accent, the default); the underline stays. A free Link keeps the accent and takes Tone::Neutral for the same ink. Story field_link_label_ink shows both.
2026-11-24 18:14:41 +07:00
bflatastic
2eb195b889
ui-panels, dock area: DockConfig::column_cards (was rail_cards) shows every docked column as a card, expanded or collapsed to icons: surface.panel with shape.radius.surface corners on the dock's background, inset by space.gap.stack on top, bottom and at the window edge, and space.gap.tight between neighbouring cards; each column wider by its inset so its content keeps its width; group dividers stay inside the card; container surfaces keep to their layer's frame
2026-11-24 17:45:08 +07:00
bflatastic
a4b6d3b6ca
ui-contract: MOVE_BAND is re-exported in every build, not only the suite's, since BodyCx::moving reads it; an app building without the suite feature compiles again
2026-11-24 16:37:57 +07:00
bflatastic
6e727dc6c6
Merge remote-tracking branch 'origin/next' into fix/vc-chrome-bars
...
# Conflicts:
# crates/ui-widgets/src/buttons/mod.rs
2026-11-24 15:31:24 +07:00
aiongg
6692f1b83a
A memoized view whose content fills the axis its body shares is one of the children that fill that body
...
A MemoView in a Stack or Row body that shares its height or width counted as one unit sized by its content's measure,
so a fill child inside took its measured size: a whole title bar shown through a memoized view in the shell's title
slot spanned only brand, menus and captions, the captions sat after Help and no title was painted (the title's gap
takes no width of its own since F-24). A direct child of the view's content that is given the shared axis to fill now
tells the view (Scoped::fill_view, noted in layout::fill_size). The body counts the view in the first sweep of its
measuring run and gives it its share as the room of its place, as it does a child that fills it directly; the axis is
kept with the view's measure (lazy::Measured::fills), so replays keep it and an idle frame still replays every call.
A row unit in a row that does not share its width keeps sizing its content from its content along x.
2026-11-24 08:05:29 +00:00
bflatastic
02dc636a6c
ui-contract, title bar: one way for an end group whose ranked members leave first: TitleBar::show_fitted turns on its end region's fit, as Bar::trailing does, and layout::end_group goes; the fit's env fact carries the body's shortfall, which the region's first row gives up off its ideal width
2026-11-24 14:52:29 +07:00
bflatastic
0e41edc671
Merge remote-tracking branch 'origin/next' into fix/vc-chips-headers
2026-11-24 14:31:44 +07:00
aiongg
eadfc623d3
Merge remote-tracking branch 'upstream/next' into next-ci-reds
...
# Conflicts:
# crates/ui-contract/src/testing/key_trials.rs
2026-11-24 07:17:18 +00:00
bflatastic
3238a3eca8
Merge remote-tracking branch 'origin/next' into fix/vc-buttons-fields
2026-11-24 13:51:33 +07:00
bflatastic
02d26c8cc0
bars: a bar's trailing group joins the body's fit; its ranked members leave, lowest rank first, before a body member narrows or leaves
2026-11-24 13:50:25 +07:00
bflatastic
27493aca39
Merge remote-tracking branch 'origin/next' into fix/vc-keys-press
2026-11-24 13:38:53 +07:00
bflatastic
161c99c637
ui-contract, title bar: layout::end_group places a row's end group at its end edge, its members ranked units of the row's fit; TitleBar::show_fitted shows the trailing content as the body's end group, so its ranked members leave before the menus fold
2026-11-24 13:37:29 +07:00
bflatastic
d3b03c1b44
ui-contract: a command a key, a native menu pick or the palette runs no longer closes a layer whose Dismiss::commands is off; a dock panel's flyout turns it off, so the command no longer closes and reopens it and a focused list in it keeps the focus
2026-11-24 13:30:24 +07:00
bflatastic
0aeb4251cc
Filled push buttons follow PushButtonLook only when they ask for no variant
...
A component's default variant may now come from its scope (Component::default_variant, read from the env before
the style's first). A push or split button takes the filled variant there under PushButtonLook::Filled, outside a
ribbon, so a button that asks for Variant::SECONDARY, as VectorCraft's task bar actions do, keeps the outline.
2026-11-24 13:27:47 +07:00
bflatastic
b808cac9fc
labels: GlyphColon::Form gives a glyph caption (GlyphLabel::caption) a form's colon; draw's X/Y/W/H are captions
2026-11-24 13:10:03 +07:00
bflatastic
361012ff9f
ui-canvas: TaskBar::grip(TaskBarGrip::Bar), one rounded bar lit under the pointer and while the bar moves (BodyCx::moving)
2026-11-24 12:56:14 +07:00
bflatastic
8da5ec92a5
ui-widgets: NumberLook::Inline sets a number field's value and unit as one run at its start (720 pt, 0°, 100%)
2026-11-24 12:33:34 +07:00
bflatastic
aa973d98fa
ui-contract: a press the focused component holds leaves egui's input again unless the app's own widget reads it; the merge b138b533f passed whether anything had focus for whether the focus was the app's widget
2026-11-24 12:23:14 +07:00
bflatastic
51eaf9fd25
ui-contract: a page key the keymap binds to a command that runs now runs it ahead of the document canvas's page scroll, focused or not; an unbound one still pages
2026-11-24 12:19:01 +07:00
bflatastic
48d19d2810
ui-contract: a command fired from a button runs as a command; only a menu's or the palette's fire stands for the key a component claims
2026-11-24 12:08:24 +07:00
skylartaylor
52503acd71
Fix the macOS test failures next picked up from the PdfCraft framework sync ( #3232 )
...
- 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.
2026-11-24 04:48:57 +00:00
bflatastic
f2ee94bfc4
Merge remote-tracking branch 'origin/next' into fix/vc-theme-and-focus
...
# Conflicts:
# crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-comfortable.txt
# crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-compact.txt
2026-11-24 11:33:46 +07:00
aiongg
8b4e49d62f
drag: the window a drag moves paints the drop mark over itself
...
A native floating window moved by its title row lies over the mark the target under it shows. Its own ghost layer paints the mark too, mapped to the same desktop place through the windows' inner rects, the mapping pointer_in uses, so the mark reads over the faded window.
2026-11-24 04:07:24 +00:00
aiongg
cfca45a97b
docking: a tab drag names its panel inside the drop region, and a tab join marks the group as shown
...
A collection picks its row drag preview with one named option, RowPreview (Badge, Named, None), in place of the drag_badge flag. A dock tab strip takes Named, so a tab drag shows the panel's name inside the region a drop takes, as group, column and icon drags do, with no badge by the pointer.
A tab join marks the group under the pointer at its current size, with the tab line, as production did; other drops keep the rect the panels take once dropped.
2026-11-24 04:07:24 +00:00
aiongg
c7dbf52f59
ui-contract: a tooltip keeps its text width in an inspector cell, a press hides it until the pointer leaves, and a sampled press does not nudge its modal
...
- Scoped::start_layer clears inside_label, cell_fills and least: a layer is outside its opener's flow, so the tooltip of a control beside an inspector label no longer fills the layer's cap of the window (photocraft#16593).
- A press on a tooltip's subject keeps the tooltip hidden until neither the pointer nor the keyboard is on it, so a popover the press opens is not covered. Tooltips shown at the pointer keep hiding only while pressed.
- A press the canvas a modal keeps open takes (a colour sampled under the Color Picker) is not a press outside that modal, so it neither nudges nor closes it.
2026-11-24 04:04:36 +00:00
aiongg
87ed3c0be0
ui-contract: one modal stack across viewports, ordered by the frame each top modal opened in
...
A modal viewport blocks only the viewports whose top modal opened in an earlier frame, and those with none.
Modals that open in the same frame form one level and block none of each other, so the screen picker's
capture windows, opened over a modal Color Picker, take the click, right-click and Escape that end the
pick, while the Color Picker's window stays blocked until they close. The input hook, key ownership, the
blocked cursor, the close refusal and the window raises all read that one fact.
2026-11-24 04:00:07 +00:00
aiongg
22205fffd1
ui-contract: an OS file drop lands where it was dropped, and files hovering in the pass that takes it start their own drag
...
A drop the next frame takes reads the drop's own position, not a pointer the next files have moved, and the files the OS
holds over the window in that pass start a session once the drop ends the old one. The files' pointer is the system
pointer where the platform tells one, else the pass's own: the drag's noted source pointer is from the pass before.
2026-11-24 03:28:05 +00:00
aiongg
ae722739ab
ui-contract: presses the focused component holds leave egui's input again, and Tab stays navigation with nothing focused
...
The merge of next (b138b533fe ) passed whether a stop was focused where withdraw_taken takes whether the app's own
widget reads its keys from egui, so no held press left egui's input while anything had focus. With nothing focused the
document canvas's held claims leave out Tab and Shift+Tab: a tool that claims the plain keys no longer keeps keyboard
navigation from moving into the window. The unfocused-canvas trial releases its keys, since a press of a key already
down is a repeat.
2026-11-24 03:28:05 +00:00
bflatastic
9c9e7ae806
ui-contract: a focused stop in a layer that plays its exit loses the focus in the first pass of the exit
2026-11-24 10:12:15 +07:00
bflatastic
12c5d012ed
ui-contract: a focused text field keeps the Escape it does not use, and every other focused control lends it to the window
2026-11-24 09:57:15 +07:00
bflatastic
7a01b71818
Merge remote-tracking branch 'origin/next' into vc/next-ci
2026-11-24 09:46:23 +07:00
bflatastic
9aa180d031
ui-contract: a press egui gives to a selection part's text takes focus through the press plan
...
A press on SelectableText has no winning framework shape, so the press plan was Unclaimed and egui's read-only
text widget took focus by itself: the focus record never saw a press, and Tab with tab_toggles_chrome on moved
focus instead of toggling the panels. A press no shape wins that egui gives to the widget of a press-only stop
now takes focus for that stop, so it records FocusOrigin::Press.
2026-11-24 09:13:59 +07:00
bflatastic
7002b2ec8f
ui-contract: drag::register takes a target's reach as one TargetReach; collections report an item's output through one helper
2026-11-24 08:23:57 +07:00
Dylan M. Taylor
b138b533fe
Merge remote-tracking branch 'upstream/next' into pr-2809-merge
...
# Conflicts:
# crates/automation/Cargo.toml
# crates/automation/src/access.rs
# crates/automation/src/synthetic.rs
# crates/automation/tests/it/access.rs
# crates/automation/tests/it/synthetic.rs
# crates/behavior/src/codec.rs
# crates/behavior/src/edit_history.rs
# crates/behavior/src/lib.rs
# crates/behavior/src/wheel.rs
# crates/color-ui/src/ui/paint_chip.rs
# crates/color-ui/src/ui/pair.rs
# crates/color-ui/src/ui/palette.rs
# crates/color-ui/src/ui/palette/stories.rs
# crates/dialogs/src/service.rs
# crates/draw/src/ui/transform/transform_box.rs
# crates/draw/src/ui/transform/transform_box/stories.rs
# crates/draw/tests/it/transform_box.rs
# crates/font-manager/src/glyphs.rs
# crates/font-manager/src/picker.rs
# crates/font-manager/src/picker/rank.rs
# crates/font-manager/src/picker/rows.rs
# crates/font-manager/src/picker/stories.rs
# crates/font-manager/tests/it/picker.rs
# crates/host/src/lib.rs
# crates/menu/src/context.rs
# crates/menu/src/mac.rs
# crates/menu/src/model.rs
# crates/pages/src/ui/view.rs
# crates/platform/README.md
# crates/platform/src/browser_files.rs
# crates/print/src/ui/dialog.rs
# crates/print/src/ui/mod.rs
# crates/print/src/ui/panel.rs
# crates/print/src/ui/stories.rs
# crates/print/tests/it/dialog.rs
# crates/text/src/ui/character.rs
# crates/text/src/ui/character/rows.rs
# crates/text/src/ui/editor.rs
# crates/text/tests/it/editor.rs
# crates/text/tests/it/main.rs
# crates/ui-canvas/src/canvas/mod.rs
# crates/ui-canvas/src/canvas/split/stories.rs
# crates/ui-canvas/src/canvas/tool_host.rs
# crates/ui-canvas/src/canvas_controls/outline/mod.rs
# crates/ui-canvas/src/canvas_controls/task_bar.rs
# crates/ui-canvas/src/canvas_controls/task_bar/stories.rs
# crates/ui-canvas/tests/it/canvas/navigate.rs
# crates/ui-canvas/tests/it/canvas/tool_keys.rs
# crates/ui-canvas/tests/it/canvas_controls/task_bar.rs
# crates/ui-contract/src/contract/collection/props.rs
# crates/ui-contract/src/contract/cx/pointer.rs
# crates/ui-contract/src/contract/items/access.rs
# crates/ui-contract/src/contract/items/drag.rs
# crates/ui-contract/src/contract/items/lead.rs
# crates/ui-contract/src/contract/label.rs
# crates/ui-contract/src/contract/mod.rs
# crates/ui-contract/src/contract/run.rs
# crates/ui-contract/src/contract/steps/report.rs
# crates/ui-contract/src/contract/steps/update.rs
# crates/ui-contract/src/primitives/mod.rs
# crates/ui-contract/src/primitives/sensing.rs
# crates/ui-contract/src/primitives/text_adapter.rs
# crates/ui-contract/src/primitives/text_input.rs
# crates/ui-contract/src/runtime/access/emit.rs
# crates/ui-contract/src/runtime/access/text.rs
# crates/ui-contract/src/runtime/commands/board.rs
# crates/ui-contract/src/runtime/commands/mod.rs
# crates/ui-contract/src/runtime/drag.rs
# crates/ui-contract/src/runtime/egui/access.rs
# crates/ui-contract/src/runtime/egui/access/tree.rs
# crates/ui-contract/src/runtime/egui/input.rs
# crates/ui-contract/src/runtime/env.rs
# crates/ui-contract/src/runtime/focus/nav.rs
# crates/ui-contract/src/runtime/frame.rs
# crates/ui-contract/src/runtime/keys.rs
# crates/ui-contract/src/runtime/keys/claims.rs
# crates/ui-contract/src/runtime/keys/input.rs
# crates/ui-contract/src/runtime/keys/route.rs
# crates/ui-contract/src/runtime/pointer.rs
# crates/ui-contract/src/runtime/windows.rs
# crates/ui-contract/src/testing/fixture.rs
# crates/ui-contract/src/testing/host_key_trials.rs
# crates/ui-contract/tests/it/collection/rows.rs
# crates/ui-contract/tests/it/drag/mod.rs
# crates/ui-contract/tests/it/runtime/wheel.rs
# crates/ui-macros/src/props.rs
# crates/ui-panels/src/dialog/mod.rs
# crates/ui-panels/src/dialog/prompts.rs
# crates/ui-panels/src/dialog/recovery.rs
# crates/ui-panels/src/dialog/trials.rs
# crates/ui-panels/src/dialog/words.rs
# crates/ui-panels/src/rails/drawer.rs
# crates/ui-panels/src/rails/drawer/stories.rs
# crates/ui-panels/src/rails/tool/trials.rs
# crates/ui-panels/src/sections/footer.rs
# crates/ui-panels/tests/it/rails/drawer.rs
# crates/ui-patterns/src/patterns/dock/area.rs
# crates/ui-patterns/src/patterns/form_dialogs/about.rs
# crates/ui-patterns/src/patterns/form_dialogs/dialog.rs
# crates/ui-patterns/src/patterns/form_dialogs/dialog/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/host_requests.rs
# crates/ui-patterns/src/patterns/form_dialogs/mod.rs
# crates/ui-patterns/src/patterns/form_dialogs/param.rs
# crates/ui-patterns/src/patterns/form_dialogs/properties.rs
# crates/ui-patterns/src/patterns/form_dialogs/properties/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/rows.rs
# crates/ui-patterns/src/patterns/form_dialogs/rows/stories.rs
# crates/ui-patterns/src/patterns/panels/history.rs
# crates/ui-patterns/src/patterns/preferences/document/model.rs
# crates/ui-patterns/src/patterns/preferences/model.rs
# crates/ui-patterns/src/patterns/preferences/page.rs
# crates/ui-patterns/src/patterns/preferences/rows.rs
# crates/ui-patterns/src/patterns/preferences/window.rs
# crates/ui-patterns/src/patterns/preferences/window/stories.rs
# crates/ui-patterns/src/patterns/presets/browser.rs
# crates/ui-patterns/tests/it/docking/group_view.rs
# crates/ui-patterns/tests/it/form_dialogs/dialog.rs
# crates/ui-patterns/tests/it/form_dialogs/params.rs
# crates/ui-patterns/tests/it/preferences/model.rs
# crates/ui-shell/src/shell/start.rs
# crates/ui-shell/src/shell/start/stories.rs
# crates/ui-widgets/src/buttons/icon_button.rs
# crates/ui-widgets/src/buttons/mod.rs
# crates/ui-widgets/src/buttons/stories.rs
# crates/ui-widgets/src/choice/swatch.rs
# crates/ui-widgets/src/choice/swatch_table.rs
# crates/ui-widgets/src/display/text.rs
# crates/ui-widgets/src/form/slider_field.rs
# crates/ui-widgets/src/layout_components/mod.rs
# crates/ui-widgets/src/list/mod.rs
# crates/ui-widgets/src/list/row/paint.rs
# crates/ui-widgets/src/list/row/show.rs
# crates/ui-widgets/src/list/stories.rs
# crates/ui-widgets/src/list/view.rs
# crates/ui-widgets/src/list/view_stories.rs
# crates/ui-widgets/src/menu/mod.rs
# crates/ui-widgets/src/menu/stories.rs
# crates/ui-widgets/src/pickers/select.rs
# crates/ui-widgets/src/tabs/document.rs
# crates/ui-widgets/src/text/number.rs
# crates/ui-widgets/src/text/zoom_field.rs
# crates/ui-widgets/src/tile_grid/grid.rs
# crates/ui-widgets/src/tile_grid/grid/stories.rs
# crates/ui-widgets/src/tile_grid/mod.rs
# crates/ui-widgets/tests/it/label/tooltip.rs
# crates/ui-widgets/tests/it/popover/popup.rs
# crates/ui-widgets/tests/it/tabs.rs
# crates/ui-widgets/tests/it/text/mod.rs
# crates/ui-widgets/tests/it/text/number.rs
# crates/ui-widgets/tests/it/tile_grid/grid.rs
# crates/window/Cargo.toml
# docs/components-index.md
# docs/porting.md
2026-11-23 19:01:32 -05:00
bflatastic
bf62d509fb
Merge branch 'sync/delta11' into sync/next2
2026-11-24 02:04:29 +07:00
bflatastic
3a90546e2a
ui-contract, ui-test-kit: a press egui gives a component's text widget (a focused field's) is no press on its container's own surface, so a second click into a focused field in a dock group no longer hands the focus to the panel's tab, whose Escape and Enter then never reached the window; test kit Windows::root_env sends an app's root values
2026-11-24 02:03:20 +07:00