The grip above each icon group of a collapsed column was a dotted hairline in a lighter ink than the panel
(7bf0a9b6d, e5e007233). The reference application draws its dock grips as ten upright ticks, one point wide,
four tall and one apart, a little darker than the panel in every interface colour, the same under the pointer.
`GripMarks` paints that row, through the new `Rule::ticks` (the dotted rule is now its square case) and
`Draw::grip_ticks` (exactly `count` marks at every scale).
A tool rail the host shows itself (a panel with a `DockGrid`, taken by `group_view`) now gets a grip strip of
`DockSizes::grip` on top, under its column bar: a `GroupGrip` with the ticks, whose drag moves the rail's group.
The host's view gets the room under it, and the group measures the strip on top of the view's height.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A lone Alt tap or F10 puts the keyboard on the in-window menu bar. The
titles took Space as their activation, so Space opened the lit menu
(File), and a held Space went on to run its first row. In a canvas app
Space is the momentary Hand, and the reference application never opens a
menu with it.
- The titles activate on Enter only; Down opens the menu as before.
Space goes on to the app's shortcuts, and a shortcut pressed on the bar
already gives the keyboard back to the stop the bar took it from.
- A bar that takes the keyboard while nothing holds it remembers the
window's document canvas (the key target then) as that stop, so the
shortcut and Escape give the keyboard back to the canvas instead of
leaving the bar lit, where the next tool letter would open a menu.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The centred layout drew the blurb, version, community button, link row and
built-with line in one stack at the row gap, and its rows were only as wide
as their content, so nothing was centred and no block stood apart. The
blocks now sit apart by the section gap, and the body and the About tab
take the dialog's width, so the button and the link row centre in it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With Overscroll on, the bars' range takes in the pasteboard: at either end
of a track 100 screen points of the document stay in view at the opposite
edge, at any zoom and for documents larger or smaller than the window, as
measured in the reference application. Overscroll off is unchanged.
A thumb drag keeps the range the bar had at the press and maps the
pointer's movement from the press onto it, so the thumb stays under the
pointer: past a track's end the view waits, and moving back moves it again
in the same drag.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A list toggle cell drew its off icon under the pointer, so hiding a layer showed a crossed-out eye in its box until
the pointer left. The reference application leaves a hidden layer's box empty in every state. ToggleCell gains
`empty_off()`, which never draws the off icon, and the Layers panel's layer and sub-row eye cells use it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the flow facts out of the key, the counting sweep's call keys as the real call does, and an idle frame or a
frame at the same width runs a memoized row unit in none of the row's sweeps. The trials say so: the row-unit trial
asserts no measuring run, and the counting-call trial describes the call by its flow.
The trial checks the frame's memo log: three replays (the sizing pass and the real run of each of the frame's two
passes), the last pass's real run among them. MemoView::show and the runner say that a measuring call that replays
returns the kept real run's value, laid out in that run's room and flow, so a caller that measures takes the extent
the call reports.
A container's measuring run lays its header and end regions out as a content column, and its real run does not;
a shrinking row's counting sweep shows its units unbounded, and its least probe at their least. With those flow
facts in the scope key, such a sizing call keyed apart from the kept real run, ran as a measure and could decide
"run" for the whole pass, so the real call ran too.
The flow facts (content column, given column, content axes, least measure, unbounded axes, cell fills, and whether
the leaves fit the view's room) move into a Flow that Place (real calls) and Measured (sizing and measuring calls)
hold, and each kind of call compares its own. Only a real call reads or writes the pass decision; a measuring call
checks the key and the rest of the predicate itself each time and decides nothing for the pass. This replaces the
per-call key exception and Place.fits. Env::local_mut clears the cached scope key, so a sweep that edits its scope
keys again.
The collapsed icon group grip is a faint dotted line: hairline dots one
dot apart, as the reference apps' grips. Guides' dotted line and the
grid's dots draw through the same paint, so each dot covers whole
physical pixels and a one-pixel dot no longer vanishes. The guides
stories show a dotted guide.
Brings in craft-libs#2756 (frame-t3), #2810 (a memoized view in a row sits on the row's line) and #2838 (home rail look).
- egui pin and Cargo.lock: rework-d2's egui rev, which contains #2756's; frame-t3's serde line for craft-tracked.
- menu bar: EnglishFn goes with frame-t3's removal of english; rework-d2's docs stay.
- Env::start_view_room: keeps both column flags, then Shrink::Fit when the view fits.
- lazy::Place: both opacity and fits.
- Lazy::run_keyed: a memoized view's room is the row's cap when the row narrows it, else the flow region, and then moves down onto the row's line (on_row_line); the cap is horizontal and the move vertical, and the move keeps the room's size, so a kept run replays moved with it.
#2756 made the browser read its rows from a PresetSource and read the
pointer and the modifiers only for its rows' events, so the browser part
of this branch is next's now. The trial builds its rows from a source
and checks the pointer move only: at rest the browser reads no
modifiers. Its tile view still fails without the tile grid change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The same read as in the Layers and Channels panels: pointer::frame(..).mods
notes the pointer as a tracked input, so a memoized view holding the
component ran on every pointer move in the window. pointer::mods returns
the same modifiers and notes only the modifiers. Fifteen more sites read
the frame for its modifiers only (the preset browser, the tile grid, the
section footer, the dock's drop, the canvas guides, the crop tool, the
bins, Color Range, the raw develop dialog, the table conditions, the form dialogs,
Save for Web) and the text style panel; each reads pointer::mods now.
The preset browser also reads the pointer's buttons, press and release
for its rows' events; it reads the frame only when there are events, so
a pass without one does not depend on the pointer.
In PhotoCraft this left Swatches, Gradients, Patterns, Styles, Shapes,
Tool Presets, Character and Paragraph Styles, Brushes and Glyphs running
on every pointer move over the canvas; with the change every docked
panel replays.
Trial: the preset browser in a host view replays on a pointer move
beside it, in its list view (fails without the browser change) and its
tile view (fails without the tile grid change), and Alt held runs it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collection members build their Access and sub-node only when the
collection has a node, and faces build their record's facts only for a
reported face of a host with a node: the component's node flag (step 8)
is one signal on its core that the report, members and faces read.
Without a node, a component builds Access only when its roles include a
merged one or both a role with a node and none.
Tooltip texts are counted where text_of and spec_text build them; part,
member and pointer tooltips borrow their spec. The tooltip trial checks
that the tip shows its text and builds it once a pass while it fades,
and none after; the Access trial adds an open menu and a tab strip's
members.
The report step builds a component's Access only for a reader: its node,
a merged role's facts, or a type whose role Access picks from
alternatives. With AccessKit off, a run takes only the value text. The
carried-name lookup moves below the node check.
A tooltip's text is built only when the pointer or keyboard wants the
tooltip or its layer still shows, at most once per call, and the tooltip
spec is borrowed instead of cloned on every run.
Count trials: 40 Field rows build no Access with AccessKit off; 40
unhovered icon buttons build no tooltip text, the hovered one builds its
own once a pass.
Both panels read pointer::frame(..).mods on every pass: the Layers
panel for its rows' held modifiers and its drop test, the Channels
panel before it takes its commands. pointer::frame notes the pointer
as a tracked input, so a memoized view holding either panel ran on
every pointer move in the window. pointer::mods reads the same
modifiers and notes only the modifiers.
Trials: a pointer move beside each panel replays its host view and Alt
held runs it; both fail without the change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>