A raise asked in the pass a floating window first shows is asked again
in the next pass (Persist::raise_again). When another window was raised
in that next pass, both went to the top of egui's area order together,
and egui keeps the old order among the layers it raises in one pass. The
window raised first had already gone above the second one, so it stayed
in front: activating one document window and then another one frame
later left the first in front.
end_pass now compares egui's area order of the lifted layers with the
raise order. When a carried raise stands above a raise asked in this
pass, only this pass's raises go up, and every raise is asked again in
the next pass, where the newer ones already stand above the carried
ones. A root asked more than once in a pass is carried once, in its last
place.
Test: a_window_raised_after_a_carried_raise_comes_in_front_of_it.
Another component's widget over a drag band covers it only where that
component's parts take a press: a dialog's title row covers its band
with its close button, not with its whole row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A menu opened in a bottom slot stayed above every bottom slot, so a
status bar menu opened about 24 pt above its control when a help bar
sat between the status bar and the canvas. Popups opened in a bottom
slot now stay above only the bottom slots outside it; popups the body
opens still end above every bottom slot.
TitleBar puts space.gap.item between its leading controls (it used
space.gap.row, 5 pt in the compact sizes), and show_fitted lays out the
trailing controls at space.gap.item as well.
Overlay::dropdown() sets the new Overlay::off_edge: an anchored dropdown
stays space.pad.regular inside the window's edges, except where its field
reaches nearer the edge. The fit's cap is still a share of the window.
A content-sized collection whose rows run past its room ends on the last
row that fits whole and scrolls the rest, so a Select list no longer ends
part way through a row.
The workspace switcher's doc comment says its commands are in the More
options menu of the list's header.
The standard-mode trial now also shows what Tab again restores (slot for
slot, and the body's flag back to false), refuses Shift+Tab while the
bars hide, as Shift+Tab is refused while the window is body-only, and
lets ShowPanels end the chrome hiding too.
In standard screen mode Tab hid every slot and panel, so the window lost its
menu bar, its status bar and its document tabs. That hiding belongs to the
body-only state machine; the editor's chrome bars deserve their own. Reveal
grows a chrome state, toggled by Panels in standard mode: the options bar and
the rails built by options_bar/top/bottom/start/end hide and reveal like
body-only slots (edge reveal and the pin keep working), while the title and
status slots stay shown and the window does not become body-only. The pass
carries the state to the body through ShellCx::chrome_hidden, so the dock
machinery hides the panel docks, their toolbar and the floating windows with
them and the document tabs stay. Full Screen Mode With Menu Bar and Full
Screen keep the old state. A screen-mode change and ShowPanels clear it.
Part of storytold/photocraft#16841.
Conflicts:
- ui-contract items/hooks.rs: rest_lead takes no placement here; main's
lead focus ring block is kept as main wrote it.
- ui-panels docking/mod.rs: main's FocusLook import kept; the memory::sub
import goes, since the dock no longer keeps pass frames in memory.
Follow-ups of the merge:
- MeasureCx::in_row (main) reads row_alone_room from the component's
scope env, as column_room does here.
- The split-handle focus ring trial (main) passes SplitArea's revision.
A container's kept transcript keyed on its props, room and env only, so a view
that ran with new props (a shell slot's new version) took its bodies' old
measures, found the change only in the real run and moved a content slot in the
next frame. The view's key, when it follows every input, now reaches the
measure key (Scoped::view_version, EnvFacts::view); a key fed through
changes_every_pass gives none (MemoKey::follows). A toolbar resize runs its
view once, in one pass.
Every slot and the full-window page take a version function of the app
state, read at the slot's turn in the pass. While it holds and no input
reaches the slot, the slot's chrome pane and its content replay their
last run; None runs the slot in every pass. The body runs every pass.
The MemoProps derive leaves a type parameter that only covered_by fields
name unbound, so a view can hold the shell's &mut S. PaneEdge derives
MemoProps.
main replaced craft-window's title_bar module with the shell's TitleBar,
so the GNOME setting moves with it: craft_window::desktop::double_click()
reads action-double-click-titlebar on GNOME, AppSpec::new passes it to
ShellInfo::double_click, and double_click_action applies the setting to an
integrated frame as it does to a macOS inset frame.
The theme holds link text (accent.text) to the 4.5:1 text minimum on the
panel, raised and sunken surfaces. The start page drew its links on
surface.page (Column) or the canvas surround (Gallery, Greeting), where
several light themes read below it.
- The Column page's plain links, the rail's links, the links after the
sections and the Greeting page's more-templates link stand on a panel
surface.
- The theme changes are reverted: the accent.text rule, the pinned link
colors, the app overrides and Classic's high-contrast page are as on
next, and the token dumps are unchanged.
A linked set's command the app marks as its own keeps its resolved chord and
its key fires nothing; a bound button for an app command whose keys the app
runs still paints the chord, the press fires nothing and egui's input keeps
it, where the same catalog without the dispatch fires the command.
Conflicts, all resolved by keeping both sides:
- docking/config.rs: next's ColumnCards import and flush_docks setter beside our PopupLayer, PanelTabShrink and tab_shrink setter.
- docking/flyout.rs: next's docked field and Flyout::docked beside our popup_layer prop.
- docking/iconic.rs: next's ActiveLook import with our FlyoutHeight and PopupLayer; the flyout takes both popup_layer(layer) and docked(self.framed).
- dock/area.rs: the iconic column takes our flyout_layer and next's tab_look and framed.
- tests/it/docking/columns.rs: next's craft_theme import with our Button and PopupLayer imports.
- tabs/mod.rs, tabs/tab.rs: next's TabCloseLook beside our PanelTabShrink.
- docs/contract-api.md: next's host_canvas wording, keeping the generated runtime::focus::is_focused entry.
Next does not cover any of this branch's changes.
- ui-panels iconic trial: the two literal 0.5 tolerances are relations (`first` above the
gripped first icon; the rule `near` the middle of the room).
- ui-shell Column start page: the bottom page margin is `add_space` of the token, not
`allocate_space`.
- ui-widgets Tile: `PAPER` (a blank page, data) and `Tile::page`'s width and height (a
proportion in any one unit) are marked and listed as exceptions.
- docs/components-index.md regenerated (Link's `LinkLook::Plain`).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
message-circle and git-branch are not catalog names, so the icon_ids test failed on next.
The community link takes "note" (a chat bubble) and the source link "open".
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.