ViewportWindow opened every modeless window as a tool window: a palette
with no taskbar entry and the dialog's own title row. An app's second
document window or presenter's view is an ordinary window of the app.
ViewportWindowKind::App (q352 = A) opens WindowSpec::document() with the
OS frame and opens_over_full_screen as before, and the dialog fills the
window (Dialog::fills_os_window): no padding, and a header the OS title
bar stands for (HeaderRegion::os_title). The body leaves such a header
out, in its read step, where the container is a viewport mount in an OS
window of its own whose frame the OS draws; a layer and an app-framed
window keep it. The default kind and every other header are unchanged.
Trial: the_os_title_bar_stands_for_a_header_only_in_an_os_framed_window
(fails with the read-step filter off); story viewport_window_app.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A picker shown in a popover body that scrolls had only the natural height
to satisfy the collection rule (16.3), which scrolls its search field away
with the cells. max_rows(n) passes the grid's row cap through: the grid is
as tall as its first n rows and scrolls the rest itself, under the search
field. The default is unchanged. Trial:
a_capped_picker_scrolls_its_own_rows_in_a_scrolling_body (fails on the
16.3 assertion with the cap ignored); story icon_picker_capped_rows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WindowSpec::over_full_screen (and ViewportWindow::opens_over_full_screen,
Dialog::viewport_with) keep a viewport mount in an OS window of its own when
the window it opens from is full screen or, on Wayland, maximized, where a
mount otherwise shows as a layer in its opener: a window that stands beside a
full-screen one, as a presenter's window beside its show. Default off; the
mount_window rule is unchanged for every other mount. Gallery story added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When the focus moves or the application withdraws a viewport's input (its
document or layout changed), only the requests aimed at a screen point leave
the lane: pointer moves, buttons, wheel turns and file drops, whose point now
means another place. Keys, text and input-method steps stay and go to the
focus current when they run, as a user's next key does. A node action
(ui.click/ui.focus by id or label) addresses its node and is dropped only when
the viewport's kept tree no longer has it; its waiter then fails naming the
node (WindowHost::take_injected_gone, synthetic::gone). The request whose step
already ran still keeps its rest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ui.move {label | id} moves to the centre of the one reported node the label
(ignoring case) or id names, as ui.click {label} names a node. ui.drag {x, y,
toX, toY, steps?, button?} queues a held press, evenly spaced moves and the
release at the end, one step per pass.
CellGrid forwards natural_height, so a sheet inside a scrolling dialog body
shows every row and leaves the scroll to the body.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AboutLayout::Column: the mark large, the name as a heading, the version muted, the blurb's
lines, the links one to a line and the built-with line, every one centred, and Close. A
named variant with its own story; the listed layout is unchanged. Trial:
the_column_about_centres_every_line_in_order_and_closes_with_close.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The panel radius is the docked panels'; an app that rounds its ribbon card through it rounded its docked panes too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
IconPicker owned its grid's scroll with no way to hand it to the body around it, so an app
that showed one in a dialog or menu body that scrolls hit the collection rule (16.3) and
crashed in debug builds. natural_height(true) passes the grid's natural height through;
the default is unchanged. Trial: a_natural_height_picker_shows_whole_in_a_scrolling_body
(fails without the option on the 16.3 assertion).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A collection that takes its width from its content measured 0 wide with no
rows. A zero-width non-body shows nothing, so the measuring run dropped its
row floor and the form row under it kept no room: what stood under the list
overlapped it and fell outside the dialog. With no rows it now asks for the
width of its empty text on one line, so the measuring run keeps its floor.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An edge pane's grip is an over part now, and its placement waits for the
container that shows the pane: the grip stands above what that body shows
after the pane, so a press on the pane's inner edge resizes it instead of
reaching the canvas that fills the centre up to the same edge. A pane whose
host runs on another layer or viewport, or in other replay records, places
its grip at once as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The control server and the agent link wake a window from their own threads through
WindowHost::repaint_in, which read the frame clock to note the wake for replay. The clock
lives in the pass state the UI thread holds while it runs a pass, so a request that arrived
mid-pass panicked on the server thread ("another thread holds this context's pass state")
and took the app down: 11 of 84 launches in the port's first look run. Outside a pass of
the context on the calling thread, repaint_in now only asks egui, whose repaint requests
are thread-safe; inside one it notes the wake as before.
No trial: the test rig's frames do not hold the pass state the way an app pass does, so a
cross-thread wake there passes with or without the fix. The look run's launches check it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The measuring run floored a layer's width at its anchor (anchor_floor), but the real pass sized it from what the
regions took (wanted_width) with no floor, and offered its body that width. An empty dropdown shrank to its padding,
and the rows that came back were offered no width and never showed. The floor is now part of the container's least
width, which both runs apply, and the layer's LayerFloor is read from the same place.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tab order wraps, so with the editor as the window's only stop Shift+Tab would bring
the focus back to it whatever the editor does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The refusal pushed CollectionEvent::Refused but left the keyed activation in place,
and the run step counted it as an activation and closed the layer (the in-place
command palette closed on Enter over a disabled command).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The slot took the aspect and the picture was the slot less the frame on every side,
so a non-square picture came out with another ratio. A square slot is unchanged.
The frame width is read from the row's sizes only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Outside the modal layers, a ModalRule::Declared app command now goes to the innermost
instance around the focus that published its state, as it already did inside a modal
layer: a list pane that declares Select All takes it while it holds the focus.
Trial: commands::board::a_declared_edit_reaches_the_instance_around_the_focus.
ViewportWindow::takes_unfocused_keys (opt-in, off by default) records the window's
layer with the board; while that layer is open, a key pressed in its viewport with
nothing focused goes to the instances in the window's body instead of the shell
and page roots, as a modal layer's root already gets them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Tab hook moves to TabKeys, which a host hands out from
TextEditorHost::tab_keys. Only then does the canvas editor claim Shift+Tab for
the host; on any other host Shift+Tab moves the focus out of the editor again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An item declares the part that shows its cell of a toggle column with
PartsCx::toggle_cell, at contract::toggle_cell_part(column). The part's node
carries the item's role and name and declares AccessKit Click without taking the
pointer; the collection takes the requests on it and flips the cell as a press
does. The collection no longer reports a second node per cell, so a list's eye
column is one Button, as it was before the port. ListRow toggles and the
timeline's track switches use it; put_toggle_names goes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TextEditorHost gains defaulted hooks: tab (Tab and Shift+Tab, for a list level or the next cell),
caret_stop (Cmd+arrows by word, Ctrl+Up/Down by paragraph off the Mac), delete_word, and
copy_html, offered beside the plain text on Copy and Cut. Hosts without them keep the editor's
own rules. The canvas editor keeps Shift+Tab for its host instead of letting it move focus out of
the session.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Initial::FirstField picked the first text stop, read-only ones included, so the presenter
view (a dialog) opened with the keyboard in its read-only speaker notes and the show's
arrows, Enter and Escape went to the notes. Read-only text is press-only already: Tab
passes over it, and now so does a dialog's first-field focus.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
settle() filed a save's bytes under the chosen path but did not list the path, so a
test that checks what a browser save wrote saw nothing. (port q325)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A row shown with .node(false) reports Role::None (show.rs access), which ALT_ROLES did not list, so the
access check rejected every such row (DeckCraft's animation pane).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>