Mark TransformBox::handle_side and PreferencesWindow::size as point
quantities the host supplies, and make CheckContext #[non_exhaustive].
#3855 and #3738 are reverted above: they read egui memory, raw keys and
pointer clicks outside runtime::egui.
PresetRow::search_name is documented as the name Find also matches, but
shown_rows compared the query with the label only. A host that shows a
translated label and sets the stored name as search_name could not find
the item by its stored name. Find now keeps a preset whose label or
search_name matches.
A PDF preset names a flattener preset and never holds custom flattener
options, so while the flattener select shows [Custom] the settings no
longer match the chosen preset. The preset row now reads
"<name> (modified)" while `custom_flattener` is on, as it does for any
changed setting, and shows the preset's name again once it is off.
The quiet field's resting fill is surface.background (WordCraft's t.ribbon), the quiet look implies the muted placeholder, and the quiet_field doc link resolves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PreferencesLayout::Classic draws the paged body as a desktop preferences dialog does:
the page list in a frame as tall as the page (SectionList::framed) with room before the
page, no heading over the page, and each titled group a GroupBox. The window puts OK,
Cancel, Prev and Next in a column at the end edge (ButtonPlace::Side) and opens at
1030 x 660; Prev and Next step through the listed pages and wrap. Paged and Cards are
unchanged. PreferencesPageOutput::pages lists the page ids the search keeps.
For storytold/photocraft#17014.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A panel at its narrowest width offers its body less room than
size.plot.width (240 pt, 300 pt at comfortable density). The preview
pane still drew that wide and ran past the panel's edge: picture_width
clamped the offered room up to its least width, and the pane's style
also set its least width as min_size.
picture_width now takes an offered room below its least width, down to
size.plot.height (or the least width when that is smaller). Without a
room, or at its least, it is still the least width, so a dialog sized
from its content keeps the preview as wide as before. The preview pane,
the Navigator preview, the histogram plot and the reading view drop
the plot width from their min_size and keep its height.
With no row picked, Enter in a list manager's name box did nothing, while a click on the
first action ran it. The name box drives the list, so the key router sent Enter to the list
as an activation, and a list with no lead row took it without acting on it. The list manager
also turned the dialog's Enter rule off, so the default button could not take the key.
- ui-contract: a collection records whether it has a lead row, and a text field that drives a
collection without one keeps Enter as its submit. A driven target that records nothing (a
menu) still takes Enter.
- ui-patterns: `ListManager` turns `close_on_enter` on, so Enter runs the first action while it
is enabled, as its doc says. Enter on a lead row the name box no longer names (a name typed
after picking a row) runs the first action on the typed name instead of the row's.
The OS gives an OS window no press that went down in another window, so DockArea::continue_move had no effect
on a window the dock opens as one. The window shows in the app window while the press moves it: it follows the
pointer, marks where it would land and docks on release, as a tab drag does.
The in-place palette face drew TextField::search at the field look: field fill and
the control edge, so in a title bar it read as a heavy outlined white box.
Add TextField::quiet (style key) and StyleCx::quiet_field: surface.chrome fill at
rest, surface.sunken under the pointer and while focused, line.border edge at rest
(line.divider disabled). Focus and invalid edges stay the field's own. CommandPalette::quiet(bool)
passes it to both the closed and open in-place field; default false, so the dialog
face and other users are unchanged.
For storytold/wordcraft#7682.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The picker filled the room it was given. In a room shorter than its column
of buttons the stack cut the column to that room: the buttons after Browse
got clip rects with negative heights, and the rows after the picker started
over its buttons. In the param_rows story at 400 x 300 with comfortable
density, Remove, Add Open Files and Sort By Name were clipped away and the
Size row started at 306 pt while Sort By Name ended at 426 pt.
The picker now fills the width only and takes the height its content needs,
the taller of its list and its column of buttons. In a room that holds it,
the list and the buttons stand where they stood.
The preview column, the pane grid, each pane row and each pane were
sized to their content, so a pane stayed at the plot's least height
(about 144 pt) beside a settings column three to six times taller, and
the dialog showed empty space below the panes. The preview column now
fills the row it shares with the settings, its rows of panes share that
height below the zoom row, and each pane takes its row's height above
its two caption lines. The dialog keeps its size.
Test: it::form_dialogs::save_for_web::the_preview_panes_take_the_height_beside_the_settings