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
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
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
bflatastic
33774554c7
ui-panels: a titled Panel draws the rule under its header only for a weight that stands with one, as Section does for its rule above; an Inspector's Quiet kind line has none
2026-11-24 22:21:42 +07:00
Dylan M. Taylor
5a2896d3e3
dock: the host's focus request brings the floating window that holds the panel to the front
...
FloatingGroup::raise is a request of the pass: an OS-window float is raised and focused, a layer's family comes in front of the other layers (overlay::raise), as DocumentWindow::raise does. DockArea::focus sets it on the floating window that holds the focused panel, so a panel the host reveals is not left under another floating window. View state only: the workspace keeps no stacking order. native::raise is the one raise path, for the flag and for the start of a move or resize.
2026-11-24 10:05:33 -05:00
Dylan M. Taylor
60a5de5ca9
dock: a host moves key focus to the group that shows a panel, as a click on its tab does
...
DockArea::focus(panel) is a request of the pass: the group holding the panel picks its tab
(Action::activate in the pass's actions) and its tab row's stop takes key focus while the row
runs, so the next pass's keys route through that group. A titled header focuses its drag band.
2026-11-24 10:05:33 -05:00
Dylan M. Taylor
ba2c36b306
SplitArea keeps the handle paths it declared for its dividers; trial for DockAreaOutput::sources
2026-11-24 09:55:36 -05:00
Dylan M. Taylor
393282d783
DockArea reports the gesture sources it drew: tabs, group bars, window grips and resize grips, dividers, each with its rect, OS window and node id
2026-11-24 09:55:36 -05:00
aiongg
290415fd4f
Merge storytold next into rc-dock-drag
2026-11-24 13:26:57 +00:00
bflatastic
dc8b91f5f1
list, menu: CommandHighlight (an env style value, Accent by default) chooses how a menu's active row, a popup list's command row, the palette's active row and an open menu bar title show it; under Hover they paint state.hover with their own ink, as a row with an open submenu
2026-11-24 18:29:26 +07:00
bflatastic
06e94d7321
tabs, dock: PanelTabLook::Pill shows a panel strip's shown tab on a filled rounded pill (surface.control, shape.radius.control, size.control.sm high in the middle of the strip; a hovered tab shows it too); TabStrip::panel_look and DockConfig::tab_look choose it, Plain by default
2026-11-24 17:59:45 +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
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
bflatastic
faf5a954e4
ui-panels, dock area: DockConfig::rail_cards shows a docked tool rail's column as a card: inset by space.gap.stack on its outer, top and bottom sides over the dock's background, surface.panel with shape.radius.surface corners and no frame, the column wider by the inset so its steps stay
2026-11-24 15:24:08 +07:00
bflatastic
0e41edc671
Merge remote-tracking branch 'origin/next' into fix/vc-chips-headers
2026-11-24 14:31:44 +07:00
bflatastic
49d439d63d
ui-widgets: a tile grid without card_columns asks for one card in a measuring run again ( ebf925452, lost in the merge b138b533f), so a dialog pane sized from it holds its rows and the row under them: presses on the tiles, the button and the field beside it land on them
2026-11-24 13:33:04 +07:00
bflatastic
d0e1ca86fa
docking: DockConfig::panel_menu_icon picks the panel menu button's icon, more by default
2026-11-24 13:14:08 +07:00
bflatastic
6080b3950c
sections: HeaderStrength::Quiet, the caption role in the muted ink with no rule, for an inspector's kind line
2026-11-24 13:14:05 +07:00
bflatastic
b21bc0e359
select: SelectLook::Quiet, a quiet box as wide as the entry it shows; WorkspaceSwitcher::look passes it on
2026-11-24 12:35:21 +07:00
bflatastic
fe138f934f
docking: DockConfig::panel_menu_always gives every group its panel menu button
2026-11-24 12:35:00 +07:00
bflatastic
47691f10c2
Inspector: title_strength gives the title another weight than a section heading's
2026-11-24 12:18:43 +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
bflatastic
daed17160c
ui-patterns: a hosted dialog's automation set takes the host's row labels and shown states, every tab's rows and the read-only refusal again, and reports the rows it changed, which the merge of next dropped from the batched set
2026-11-24 08:11:59 +07:00
bflatastic
969bfa99fa
ui-patterns: a document dialog's fixed section puts its rows on a card again and heads them with its name, which the merge of next dropped from the section rewrite
2026-11-24 08:11:54 +07:00
bflatastic
8a4d26ccbb
Merge branch 'fix/hosted-answers-real-run' into vc/fixes-on-stubs
2026-11-24 07:42:11 +07:00
bflatastic
8311df0401
ui-patterns: hosted New Document takes the host's answers and closes on an accepted held answer only in a real run
2026-11-24 07:16:28 +07:00
bflatastic
3eddf17eea
ui-patterns: hosted New Guide Layout and New Guide take the host's answers only in a real run
2026-11-24 07:16:23 +07:00
bflatastic
b178752244
ui-patterns: hosted Save for Web takes the host's answers, the Optimize answers and the automation inputs only in a real run, so a palette colour answered in a measured frame still becomes a shift
2026-11-24 07:16:21 +07:00
bflatastic
8f60b79b39
ui-patterns: hosted Export As takes the host's answers only in a real run, so a path answered in a frame whose first run measures the dialog still finishes it
2026-11-24 07:16:18 +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
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
bflatastic
85ba69b147
ui-patterns: PaletteOutput::refused names the disabled command Enter was pressed on, from the new CollectionEvent::Refused of a disabled lead's Enter, so an app can close the palette and say why: the palette stayed open and told the app nothing
2026-11-24 00:57:53 +07:00
bflatastic
662ff9264a
ui-contract: with RootEnv::escape_leaves_fields, Escape in a field of a dialog that Escape closes stays the dialog's with nothing typed too: the field took it to give up the focus and the dialog stayed open
2026-11-24 00:57:52 +07:00
Dylan M. Taylor and Claude
7c0ae3e639
fw sync: merge craft-libs next e3ca63165 (149 commits) into pdf-port/sync
...
Conflicts resolved (upstream's design and defaults win; the port's opt-ins stay):
- ui-contract fonts: upstream's served-faces provider, catalog job queue and byte budget;
the port's FaceBytes::chain (Word subset siblings, F-8) re-done on the provider: a served
face lists its served chain faces before the interface faces, a sibling landing after its
owner remakes egui's fonts once, drawing a face marks its chain drawn. The port's chain
trial moves onto upstream's rig, plus a late-sibling trial.
- text editor HostCx follows FacesCx's job-based document_face and document_face_bytes.
- ui-widgets Swatch: upstream's SwatchFill (split, spectrum, image, empty) with the port's
Swatch::optional / SwatchFace::optional (new SwatchFill::None, the "no colour" diagonal)
and Swatch::icon (glyph on the empty well) on top; both word sets kept.
- draw PaintBar: upstream's MixerLoad fill.
- font-manager: upstream's sample band; host rows (port) use it too.
- ui-panels / ui-patterns dock grips: upstream's drag_origin and named slack.
- platform clipboard tests: both trials kept.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-11-23 12:54:08 -05:00
Dylan M. Taylor and Claude
346f5ac9fe
fw sync: PageRangeChoices::Line, ParamDialog::caption_column, Param::short_slider (Slider/SliderField::short)
...
Trials line_page_range_options_stand_on_one_line_with_no_page_count, a_caption_column_puts_a_group_caption_beside_its_group_and_lines_the_controls_up, a_short_slider_row_is_as_wide_as_its_content.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-11-23 12:24:54 -05:00
Dylan M. Taylor and Claude
e93d468b76
fw sync: floating window bodies keep to the window's rounded corners (frame_surfaces, FloatingGroup::rounded_body, DockConfig::floating_rounded_body); CaptionColumn env value for inline forms
...
Trial a_rounded_window_body_keeps_its_surfaces_inside_the_rounded_corners (ui-patterns docking/floating_rail.rs).
Co-Authored-By: Claude <noreply@anthropic.com >
2026-11-23 12:24:54 -05:00
Dylan M. Taylor
40442e2f69
Merge branch 'pdf-port/sync' into pdf-port/sync-look
2026-11-23 11:09:46 -05:00
Dylan M. Taylor
cd4704b357
Merge branch 'pdf-port/sync' into pdf-port/sync-look
2026-11-23 09:35:58 -05:00
Dylan M. Taylor
6df2644a0e
Merge branch 'pdf-port/sync' into pdf-port/sync-post
2026-11-23 09:22:42 -05:00
Dylan M. Taylor
9b12c19603
fw sync: Param::stacked_options and Param::under_option (production's Split and Background option rows); a document-dialog group under a heading of its name shows the name once
2026-11-23 08:56:16 -05:00
Dylan M. Taylor
be5e97ea49
fw sync: F-R1: Param::select_on_focus for text rows (Rename opens on the name selected); trial a_text_row_that_selects_on_focus_is_replaced_by_typing
2026-11-23 08:27:17 -05:00
bflatastic
157714c25a
ui-patterns: in the pass a tab click picks a panel of the focused group, DockAreaOutput::focused names that panel: it named the panel the group drew in that pass, the one before the click
2026-11-23 19:48:27 +07:00
Dylan M. Taylor
15e8ac8058
fw sync: a dialog can keep a field's typing on Escape (FocusPolicy::escape_keeps_typing, Dialog::escape_keeps_typing, PreferencesWindow::escape_keeps_typing)
...
Upstream's one Escape in a modal dialog cancels the focused field's typing with the dialog. A Live
Preferences window applies each row as it changes, so that Escape wrote the start value back and
Live mode applied it: PdfCraft's Preferences lost what was typed. The new opt-in (off by default,
upstream's rule kept) commits the draft as leaving the field does and lets the dialog close.
Trials: preferences::live::escape_cancels_a_live_windows_typing_by_default,
escape_keeps_a_live_windows_typing_when_asked.
2026-11-23 07:43:54 -05:00
bflatastic
51ad138dd2
ui-contract: a drag of OS files runs in the window under them: the main window's pass, which the OS sends none of a child window's files, ended the session, so files dropped on a native panel window never reached DockAreaOutput::window_files; the test kit's Windows now sends files to one window (FilesOver), as the OS does
2026-11-23 19:42:19 +07:00
bflatastic
503ccd4cd9
Merge branch 'sync/next' into sync/delta11
2026-11-23 17:32:13 +07:00
bflatastic
3ce58d7cae
ui-patterns: a form dialog's body takes the host's answers, the opening pass and OK only in a real run: the dialog's own measuring run of the body (a re-layout under a child dialog) used them up, so Save for Web's real run reported no palette shift
2026-11-23 17:28:13 +07:00
bflatastic
d824d42d25
ui-patterns: a new palette query's active row is its first match, enabled or not, so Enter on a disabled first match runs nothing and the footer says why, rather than Enter running the next match
2026-11-23 17:28:05 +07:00
bflatastic
34d7846cd3
ui-panels: a docking flyout closes on a press outside it only with Auto-Collapse Iconic Panels on
2026-11-23 17:11:24 +07:00
Dylan M. Taylor
5abaa7360e
fw sync: clippy clean over the merged sync (all targets, all features)
...
Real fixes, no allows: split long functions (portal first reads, canvas wheel read, text editor input pass, list row toggle parts, notice action rows, thumbnails grid aspect and edit rules, comments row entries), boxed the large Entry item row, type aliases for complex types, a StatusMeasure for the status cell's measures, double #[must_use] removed where the type is #[must_use], Copy clones and useless conversions dropped, struct-update syntax in place of field reassignment, a split press-pass test.
2026-11-23 03:42:16 -05:00