batistalucasv
c13ec14cf3
ui-test-kit: preserve FrameInput installed before Windows::frame_with_files
2026-11-25 15:13:25 -03:00
bflatastic
963ba7c7aa
Move bands: MoveBandCursor::Arrow keeps the arrow (opt-in)
...
A DragBand::Move band declares the open hand, and since egui hands a drag that starts on a
click-only widget to the drag widget below it, the band is hovered under the menu titles and
buttons of a title bar too, so its hand shows over them. Under MoveBandCursor::Arrow the band
declares no cursor: the band and the controls on it show the arrow, as an OS title bar does. The
default, Hand, keeps today's cursors. Trial: a_move_band_shows_the_arrow_when_the_app_asks.
2026-11-25 18:22:12 +07:00
bflatastic
6fcf61c816
overlay: a raise asked in the pass the floating windows show again holds: egui raises every layer that shows again and keeps the old order among them, so the asked raise is asked again in the next pass (Persist::raise_again). A document window raised as Presentation Mode ends comes to the front. Trial a_window_raised_as_the_windows_show_again_comes_to_the_front
2026-11-25 15:42:17 +07:00
bflatastic
9ff5832607
theme, ui-contract, ui-widgets, ui-shell: a page's rhythm as size.page tokens, opt-in. size.page.gap.{title, lead, actions, section, heading, link} (Gap::PageTitle and its siblings) space a Column start page's title and subtitle, New and Open under them and beside each other, its sections, a section heading over its body and its links; size.page.link is a plain link's least row height; ControlPlace::PageAction stands New and Open at least size.page.button high with at least size.page.button_side beside their labels. The size sets give every gap the value of the gap it stands in for, size.page.button a push button's height and the rest 0, and an app's override of a followed value carries to the page's (FOLLOWS now follows a chain), so no app or story changes until an app sets them (the token dumps gain only the new lines). Story button_as_page_action; trials a_column_page_takes_its_rhythm_from_the_page_sizes, a_page_follows_the_values_it_stands_in_for_unless_the_app_sets_its_own; dumps updated
2026-11-25 15:20:32 +07:00
bflatastic
205803ee6d
theme, ui-widgets, ui-patterns, ui-shell: every Home look opt-in. New Document's preset cards keep the ink page outline by default; PresetCardLook::Page (env style) gives Tile::page on a flat page card. CardText::Page: a strong name on up to two centred lines, the detail right under it, a flat card with the hover fill and an accent edge when selected. surface.page (follows surface.canvas unless pinned; VectorCraft's themes pin production's page colour), size.page.margin and size.page.action; ControlPlace::CallToAction stands a button size.page.action high with a strong label; Stack and the other containers take pad_edges. StartScreen new_label and open_label; the Column page fills surface.page, keeps the page margin beside the column and size.page.margin above and below it, and stands its call to action in ControlPlace::CallToAction; page templates are page cards. Stories button_as_call_to_action, tile_page as a page card; trials; dumps gain the three tokens
2026-11-25 10:52:00 +07:00
bflatastic
8a133a094b
theme, ui-widgets, ui-patterns, ui-shell: StartLayout::Column, one centred column at most size.page.column (820) wide a page margin from every edge: title (Display) and subtitle, New and Open centred, the recent files as rows only when there are any, the app's section, the templates as cards that keep their size and wrap, the links under links_title centred without icons and StartLink::primary as a primary pill with its icon; templates_title prop. Tile::page, blank paper on the popup surface's shadow fitted to the picture, now New Document's preset card and a Template's with Template::page. Stories start_screen_column, start_screen_column_without_files, tile_page; trials; New Document's page trial checks the filled page; dumps updated
2026-11-25 10:51:59 +07: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
bflatastic
d8a00e1e92
Merge remote-tracking branch 'origin/next' into fix/vc-tabs-sections
2026-11-24 18:55:47 +07:00
bflatastic
6798a83eb9
theme, tabs, canvas panel: size.bar.tab_large, the height of large document tabs (today's size.bar.title in every size set), so large tabs no longer take the title bar's height; CanvasPanel gives its tab pane an extent, size.bar.tab or size.bar.tab_large with the new large_tabs prop, so a strip taller than its first measured height shows its tabs whole. Story canvas_panel_with_large_tabs.
2026-11-24 18:52:09 +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
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
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
4ae91846fa
title bar: take show_fitted out again; with caption buttons its trailing content stops short of the end and a ranked member narrows instead of leaving
2026-11-24 12:57:16 +07:00
bflatastic
9450c7fa7a
title bar: show_fitted puts the trailing content after the body on its line, so ranked members leave before the leading content narrows
2026-11-24 12:25:28 +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
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
Dylan M. Taylor
fb99ed9076
fw sync: F-P2 / L-315: macOS title bar follows the traffic lights at the right (craft-window reads windowTitlebarLayoutDirection; MacInset::lights_right; the lights' room moves to their side; AppShell::title_follows_lights mirrors the title slot's flow, tabs and overflow included; Overrides::flow); trials a_title_that_follows_the_lights_mirrors_when_they_are_at_the_right, the_lights_room_follows_the_lights_without_mirroring_the_bar (production 4448ee940)
2026-11-23 08:27:17 -05:00
bflatastic
24e30ffacb
ui-shell: a document window's raise brings its fallback layer to the front in that pass (overlay::raise), as a press on it does: it only asked an OS window for focus
2026-11-23 19:27:33 +07:00
bflatastic
fd80adccc0
ui-contract: a press of a key that is down already is a repeat, as egui reads it: egui-winit sends every press as no repeat and leaves egui to tell, so the key stage's repeat rules (shortcuts, Escape, Tab) never saw a held key's repeats; the trials that pressed one key twice release it between
2026-11-23 17:28:02 +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
Dylan M. Taylor
85659945c3
fw sync: L-323: StandardPrompt::alternate_role (production's order), DialogButtonLook::Quiet (ghost Cancel and Don't Save), StartScreen::heading_sections and pinned_first, ToolbarDrawer::grouped_tools_drag opt-in; tab marks resolve outside the memoized tab row and join its key; a grip floating window keeps no title-rule band
2026-11-23 02:57:02 -05:00
bflatastic
295c967c65
ui-shell: a document window's fallback layer moves by its title row and reports where a move or resize took it, so a host that places the window keeps it there
...
The fallback overlay was not movable, so its title row had no move band, and DocumentWindow dropped the layer's placement changes while first_placed held the window at the host's rect. DocumentWindowOutput::placed gives the rect a move or resize reached in the pass.
2026-11-23 13:27:47 +07:00
Dylan M. Taylor
8a620b3d6e
fw sync: ui-canvas and ui-patterns libs compile: WheelScheme::Document arm, one scroll-bar same_value (both tolerances), region drop mark for a split, memo props on env values, story binds, unused imports
2026-11-22 23:26:27 -05:00
Dylan M. Taylor
58f35e8ec0
fw-panels-shell: resolve the sync of origin/next into the port's ui-panels and ui-shell files
...
Dialog: upstream's ButtonPlace replaces the port's side flag; the port's title note, title icon and close-unchanged stay.
Footer roles: upstream's Alternate and the port's Alternative are both kept, with one rank table.
Unsaved question: upstream's alert role, Alternate role and failure reason, with the port's wording options.
Docking: the port's group footer, titled header, tab marks and counts and caption go into upstream's memoized tab row;
the port's footer, rail footer and content hooks stay on DockPanels beside upstream's PanelSpecs; iconic rail mode on
upstream's bar; floating grip on upstream's chrome sizes. Tool rail edit icon in the memoized grid.
Start screen: upstream's Home and Greeting layouts, picture shape and recent_list split, with the port's pinned
folder listing, host sections, offers_new/offers_open, pinned title and section headings.
Tests: both sides' trials kept; port trials moved to Titles, Registry and the props-keyed CommandGate.
2026-11-22 23:04:30 -05:00
Dylan M. Taylor
cb3101725c
sync skeleton: origin/next 118f1d2ff9 into pdf-port/gaps ea77c1676f, markers left
...
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
2026-11-22 22:42:09 -05:00
Dylan M. Taylor
a69b2ca3ea
DocumentTabs: the trailing control ends at the visible edge of its row when the bar leaves less than the row's width (fixes Open under Discord; trial)
2026-11-22 20:37:39 -05:00
Dylan M. Taylor
402dc57690
StartScreen::pinned_title: an app names the pinned folders section (trial)
2026-11-22 19:38:22 -05:00
Dylan M. Taylor
bde3742fdb
StartScreen: offers_open(false) leaves Open out, section headings are page headings with no rule, Pin Folder is ghost, a pinned folder's Unpin is text (trial)
2026-11-22 18:34:36 -05:00
bflatastic
534db793a0
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/font-manager/tests/it/picker.rs
# crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-23 04:35:03 +07:00
David Mann
1cb53fbbf4
Merge pull request #3055 from davidmann4/fix/16403-16406-navigator-crop-bar-grip
...
Navigator drag, Crop move and shield seam, options bar clip, grip ink (photocraft#16403, #16404 , #16405 , #16406 , #16410 )
2026-11-22 21:02:29 +01:00
bflatastic
d467ed3dcd
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/font-catalog/src/tests.rs
# crates/font-manager/src/picker.rs
# crates/font-manager/src/picker/rows.rs
# crates/font-manager/src/picker/stories.rs
# crates/ui-patterns/src/patterns/panels/palette.rs
# crates/ui-patterns/src/patterns/presets/browser.rs
# crates/ui-widgets/src/list/mod.rs
# crates/ui-widgets/src/list/view.rs
2026-11-23 02:15:44 +07:00
David Mann and Claude Opus 5.5
4ba7c7e215
DocumentWindow: a level of its own; first_placed says the window is kept there (photocraft#16415)
...
DocumentWindow::level stands the window at a WindowLevel; with Palette a
floating document stays above the app's main window while the app is
active, drops below a blocking dialog and hides with the minimized main
window. first_placed's doc says what it does: the window is kept at the
rect while shown, so a caller whose user moves the window follows it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-22 17:51:51 +01:00
bflatastic
c7059b3a34
ui-shell: clippy 1.100 clean: the start screen's app section type named; no must_use on a builder of a must_use type; test types named, slice from_ref
2026-11-22 22:36:52 +07:00
David Mann and Claude Opus 5.5
1aabfe2baf
Memoized views keep the row line they stand on, so a memoized bar fills its slot
...
A memoized view starts a layout room of its own (`start_view_room`), which dropped the row line of
the row around it. A fill-width row shown through a memoized view (an app's options bar in the
shell's options slot) then measured its content with its padding on top and bottom instead of
taking the slot's line: its members sat below the slot's middle and the bottom of a text button's
outline was cut off. The view now keeps the line as a levelled unit does (`places: false`): its
content fills the line without taking slots on it.
Fixes storytold/photocraft#16405 .
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-22 16:07:21 +01:00
bflatastic
1f2850aada
ui-shell tests: the reveal pin trial holds the button where the pin was taken and lets go elsewhere, so the release ends the pin
2026-11-22 19:05:29 +07:00
Dylan M. Taylor
03c211ab6b
Start screen: pinned folders above recent files; a Clear button on the Recent heading
2026-11-22 07:02:29 -05:00
aiongg
8d39ecb4db
ui-shell: embed::before_ui takes the root window's handle, outside the app feature
...
An app with its own eframe App and without ui-shell's app feature (which turns
on egui's default fonts) could not call before_ui, so its root window on
Windows got no hit sink: corner resizes and title-bar moves started late,
through the grips' StartResize. before_ui now takes any
raw_window_handle::HasWindowHandle (eframe's Frame), and it and the first fit
build without app. Native only: the browser has no native window.
The trial checks that with the sink installed, the window region's corner and
title bar answer the platform's hit test and a corner drag sends no
BeginResize.
2026-11-22 03:17:29 +00:00
bflatastic
988d0c35d5
ui-shell: format the merged slot pane and trial imports
2026-11-22 10:01:17 +07:00
bflatastic
fec30bbd83
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/ui-contract/tests/it/runtime/mod.rs
# crates/ui-shell/src/shell/app_shell.rs
# crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-22 09:57:26 +07:00
aiongg
f36b912872
Shell trial: reset the rail run counters as two statements
2026-11-21 20:59:54 +00:00
aiongg
0aa781ecf0
Trials for content rails, scrolling lists and the settled frame after a grow
...
Content start and end rails sit at their sides in left-to-right and
right-to-left windows, hold their content and settle in one pass with
each rail's content run once. A content slot holding a vertically
scrolling list, content-sized or filling its height, is as tall as the
list's rows and the body keeps the rest of the window. The count trial's
grow half also checks that the next frame is settled.
SlotSize::Content documents that the slot never takes more than the room
the window leaves it, and that raw egui content allocates its own extent
along the slot's edge.
2026-11-21 20:37:02 +00:00
aiongg
5366157e63
A content slot records its extent only from its own real run
...
The shell recorded a content slot's extent from any run of its content,
including the scope's measuring run, which alone runs for an embedded
shell out of sight. The slot's own body now says whether it ran for real,
and only that run records. A content slot's pane no longer carries an
extent: a pane at a rect ignores it.
The out-of-sight trial also holds a content slot, which does not run.
2026-11-21 20:37:02 +00:00
aiongg
2d8b842954
A content-sized shell slot runs its content in the room it can grow into
...
A SlotSize::Content slot ran its content in the rect it was laid out at,
the extent its content took in the last pass. A child that fills its
height there is capped at that room, so content of fill-height
containers (the ribbon's groups) could never grow the slot past its
first height, and their controls ran past their containers' feet.
The slot's pane is now as large as its content from its outer edge
(ShellPane::at_content_extent, which covers bottom and side panes as
well as the top), in the room from that edge to the far edge of what
the slots before it leave. The window is still laid out at the kept
extent, and remeasure lays it out again when the pane's extent differs.
2026-11-21 19:48:46 +00:00
bflatastic
5ecba486c3
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/behavior/src/overlay.rs
# crates/ui-canvas/src/canvas_controls/guides/mod.rs
# crates/ui-contract/src/contract/label/step.rs
# crates/ui-contract/src/contract/overlay/placement.rs
# crates/ui-contract/src/contract/tooltip.rs
# crates/ui-patterns/tests/it/docking/native.rs
# crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-22 02:11:13 +07:00
bflatastic
5f4c1f282d
cargo fmt on the merged crates
2026-11-22 01:57:31 +07:00
Dylan M. Taylor
4afe53cae8
Preserve title space in document tab wrapper
2026-11-21 13:37:13 -05:00
Dylan M. Taylor
eed48a1fa6
Give document tab strips with controls their available width
2026-11-21 13:26:04 -05:00
bflatastic
03ef0d0817
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/automation/Cargo.toml
# crates/automation/src/client.rs
# crates/automation/src/control.rs
# crates/automation/src/screenshot.rs
# crates/automation/src/synthetic.rs
# crates/automation/tests/it/main.rs
# crates/automation/tests/it/synthetic.rs
# crates/color-ui/src/palette.rs
# crates/color-ui/src/ui/area.rs
# crates/color-ui/src/ui/disc/stories.rs
# crates/color-ui/src/ui/mod.rs
# crates/color-ui/src/ui/paint_chip.rs
# crates/color-ui/src/ui/pair/stories.rs
# crates/color-ui/src/ui/palette/stories.rs
# crates/color-ui/src/ui/panel.rs
# crates/color-ui/src/ui/picker/stories.rs
# crates/color-ui/src/ui/picker_dialog.rs
# crates/color-ui/src/ui/swatches/library.rs
# crates/color-ui/src/ui/swatches/panel.rs
# crates/color-ui/src/ui/swatches/stories.rs
# crates/color-ui/src/ui/wheel/stories.rs
# crates/color-ui/tests/it/main.rs
# crates/color-ui/tests/it/panels.rs
# crates/color-ui/tests/it/picker.rs
# crates/dialogs/src/lib.rs
# crates/dialogs/src/native.rs
# crates/dialogs/src/portal.rs
# crates/dialogs/src/service.rs
# crates/draw/src/ui/brush_presets/panel.rs
# crates/draw/src/ui/brush_presets/picker.rs
# crates/draw/src/ui/brush_presets/stories.rs
# crates/draw/src/ui/gradient/palette/mod.rs
# crates/draw/src/ui/pattern/editor.rs
# crates/draw/src/ui/pen/stories.rs
# crates/draw/src/ui/transform/mod.rs
# crates/draw/src/ui/transform/transform_box.rs
# crates/draw/src/ui/transform/transform_box/stories.rs
# crates/draw/src/ui/transform/transform_fields.rs
# crates/draw/tests/it/brush_presets.rs
# crates/draw/tests/it/main.rs
# crates/draw/tests/it/transform_box.rs
# crates/font-manager/src/axes.rs
# crates/font-manager/src/picker.rs
# crates/font-manager/src/picker/rows.rs
# crates/font-manager/src/picker/stories.rs
# crates/font-manager/tests/it/main.rs
# crates/font-manager/tests/it/picker.rs
# crates/host/src/files.rs
# crates/i18n/src/lib.rs
# crates/imaging/src/ui/layer_style/styles.rs
# crates/keymap/src/keymap.rs
# crates/keymap/src/matcher.rs
# crates/layers/src/ui/filter/mod.rs
# crates/layers/src/ui/filter/stories.rs
# crates/layers/src/ui/mock.rs
# crates/layers/src/ui/panel/mod.rs
# crates/layers/src/ui/panel/stories.rs
# crates/layers/src/ui/tree.rs
# crates/layers/tests/it/panel_drag_menu.rs
# crates/layers/tests/it/panel_filter.rs
# crates/menu/src/bar.rs
# crates/menu/src/driver.rs
# crates/menu/src/model.rs
# crates/menu/src/shortcuts/pages.rs
# crates/menu/src/shortcuts/state.rs
# crates/menu/src/shortcuts/stories.rs
# crates/menu/src/shortcuts/view.rs
# crates/menu/tests/it/main.rs
# crates/menu/tests/it/native.rs
# crates/menu/tests/it/shortcuts/mod.rs
# crates/pages/src/ui/mod.rs
# crates/pages/src/ui/view.rs
# crates/platform/README.md
# crates/platform/src/clipboard_tests.rs
# crates/platform/src/open.rs
# crates/print/src/ui/stories.rs
# crates/text/src/ui/character.rs
# crates/text/src/ui/character/stories.rs
# crates/text/src/ui/find.rs
# crates/text/src/ui/find/dialog.rs
# crates/text/src/ui/find/stories.rs
# crates/text/src/ui/ruler.rs
# crates/text/src/ui/ruler/paint.rs
# crates/text/src/ui/ruler/run.rs
# crates/text/tests/it/main.rs
# crates/text/tests/it/ruler.rs
# crates/ui-canvas/src/canvas/mod.rs
# crates/ui-canvas/src/canvas/tool.rs
# crates/ui-canvas/src/canvas/tool_host.rs
# crates/ui-canvas/src/canvas_controls/grid/mod.rs
# crates/ui-canvas/src/canvas_controls/grid/stories.rs
# crates/ui-canvas/src/canvas_controls/guides/stories.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/rulers.rs
# crates/ui-canvas/tests/it/canvas/tool.rs
# crates/ui-canvas/tests/it/canvas_controls/grid.rs
# crates/ui-contract/src/contract/body/presses.rs
# crates/ui-contract/src/contract/items/drag.rs
# crates/ui-contract/src/contract/items/hooks.rs
# crates/ui-contract/src/contract/items/lead.rs
# crates/ui-contract/src/contract/overlay/placement.rs
# crates/ui-contract/src/contract/overlay/props.rs
# crates/ui-contract/src/contract/overlay/ui.rs
# crates/ui-contract/src/contract/steps/label.rs
# crates/ui-contract/src/contract/text.rs
# crates/ui-contract/src/contract/tooltip.rs
# crates/ui-contract/src/layout/body.rs
# crates/ui-contract/src/primitives/draw.rs
# crates/ui-contract/src/primitives/icon.rs
# crates/ui-contract/src/primitives/mod.rs
# crates/ui-contract/src/primitives/textures/thumbnails.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/input.rs
# crates/ui-contract/src/runtime/egui/plugin.rs
# crates/ui-contract/src/runtime/frame.rs
# crates/ui-contract/src/runtime/keys.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/wheel.rs
# crates/ui-contract/src/runtime/windows.rs
# crates/ui-contract/src/runtime/windows/viewport.rs
# crates/ui-contract/src/style/cx.rs
# crates/ui-contract/src/style/span.rs
# crates/ui-contract/src/testing/access.rs
# crates/ui-contract/src/testing/icon_trials.rs
# crates/ui-contract/tests/it/body/mod.rs
# crates/ui-contract/tests/it/runtime/mod.rs
# crates/ui-contract/tests/it/runtime/wheel.rs
# crates/ui-contract/tests/it/runtime/windows.rs
# crates/ui-contract/tests/it/text/editor.rs
# crates/ui-gallery/src/mock/panels.rs
# crates/ui-panels/src/dialog/mod.rs
# crates/ui-panels/src/docking/group.rs
# crates/ui-panels/src/rails/drawer/stories.rs
# crates/ui-panels/src/rails/tool.rs
# crates/ui-panels/src/rails/tool/stories.rs
# crates/ui-panels/src/rails/tool/trials.rs
# crates/ui-panels/src/sections/footer.rs
# crates/ui-panels/tests/it/dialogs.rs
# crates/ui-patterns/src/patterns/dock/hide.rs
# crates/ui-patterns/src/patterns/dock/panes.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/list_manager.rs
# crates/ui-patterns/src/patterns/form_dialogs/list_manager/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/mod.rs
# crates/ui-patterns/src/patterns/form_dialogs/new_document.rs
# crates/ui-patterns/src/patterns/form_dialogs/new_document/cards.rs
# crates/ui-patterns/src/patterns/form_dialogs/new_document/details.rs
# crates/ui-patterns/src/patterns/form_dialogs/param.rs
# crates/ui-patterns/src/patterns/form_dialogs/pdf_export.rs
# crates/ui-patterns/src/patterns/form_dialogs/pdf_export/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/report.rs
# crates/ui-patterns/src/patterns/form_dialogs/report/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/rows.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/hosted.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/model.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/options.rs
# crates/ui-patterns/src/patterns/form_dialogs/save_for_web/stories.rs
# crates/ui-patterns/src/patterns/panels/palette.rs
# crates/ui-patterns/src/patterns/panels/palette/stories.rs
# crates/ui-patterns/src/patterns/preferences/document/model.rs
# crates/ui-patterns/src/patterns/preferences/page.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/src/patterns/presets/browser/stories.rs
# crates/ui-patterns/src/patterns/presets/manager.rs
# crates/ui-patterns/src/patterns/presets/mod.rs
# crates/ui-patterns/src/patterns/presets/named.rs
# crates/ui-patterns/src/patterns/presets/picker.rs
# crates/ui-patterns/tests/it/docking/drop_session.rs
# crates/ui-patterns/tests/it/docking/native.rs
# crates/ui-patterns/tests/it/form_dialogs/hosted.rs
# crates/ui-patterns/tests/it/form_dialogs/list_manager.rs
# crates/ui-patterns/tests/it/form_dialogs/mod.rs
# crates/ui-patterns/tests/it/form_dialogs/params.rs
# crates/ui-patterns/tests/it/form_dialogs/save_for_web.rs
# crates/ui-patterns/tests/it/panels/palette.rs
# crates/ui-patterns/tests/it/presets/browser.rs
# crates/ui-shell/src/shell/app_shell.rs
# crates/ui-shell/src/shell/app_shell/stories.rs
# crates/ui-shell/src/shell/mod.rs
# crates/ui-shell/src/shell/start.rs
# crates/ui-shell/src/shell/start/stories.rs
# crates/ui-shell/tests/it/commands/mod.rs
# crates/ui-shell/tests/it/shell/app_shell.rs
# crates/ui-shell/tests/it/shell/mod.rs
# crates/ui-widgets/src/bars/bar.rs
# crates/ui-widgets/src/buttons/button.rs
# crates/ui-widgets/src/buttons/face.rs
# crates/ui-widgets/src/buttons/mod.rs
# crates/ui-widgets/src/buttons/stories.rs
# crates/ui-widgets/src/choice/mod.rs
# crates/ui-widgets/src/choice/swatch.rs
# crates/ui-widgets/src/choice/swatch/stories.rs
# crates/ui-widgets/src/choice/swatch_table.rs
# crates/ui-widgets/src/choice/swatch_table/stories.rs
# crates/ui-widgets/src/display/text.rs
# crates/ui-widgets/src/list/row.rs
# crates/ui-widgets/src/list/row/paint.rs
# crates/ui-widgets/src/list/stories.rs
# crates/ui-widgets/src/list/view_stories.rs
# crates/ui-widgets/src/menu/bar.rs
# crates/ui-widgets/src/menu/item.rs
# crates/ui-widgets/src/menu/search.rs
# crates/ui-widgets/src/menu/stories.rs
# crates/ui-widgets/src/pickers/mod.rs
# crates/ui-widgets/src/pickers/reference_point.rs
# crates/ui-widgets/src/pickers/reference_point/stories.rs
# crates/ui-widgets/src/tabs/strip.rs
# crates/ui-widgets/src/text/number.rs
# crates/ui-widgets/src/text/number/stories.rs
# crates/ui-widgets/src/tile_grid/grid.rs
# crates/ui-widgets/tests/it/buttons.rs
# crates/ui-widgets/tests/it/label/mod.rs
# crates/ui-widgets/tests/it/label/tooltip.rs
# crates/ui-widgets/tests/it/main.rs
# crates/ui-widgets/tests/it/menu/bar.rs
# crates/ui-widgets/tests/it/menu/mod.rs
# crates/ui-widgets/tests/it/menu/rows.rs
# crates/ui-widgets/tests/it/menu/search.rs
# crates/ui-widgets/tests/it/pickers/select_list.rs
# crates/ui-widgets/tests/it/text/mod.rs
2026-11-22 01:16:36 +07:00
bflatastic
b05db6f624
object-panels-w2: net change of 1 commits
...
- object-panels-w2: written from its sheet
2026-11-21 21:27:31 +07:00
bflatastic
55ba1aac64
widgets-w7: net change of 1 commits
...
- widgets-w7: written from its sheet
2026-11-21 21:26:55 +07:00