A click on a field that scrubs by its body focused it with the caret where the press went down; it selects as the field's focus does (the codec's caret, all of a number), as the old fields did. The text widget, which takes egui's presses while the field is in edit, stands for its root in the focus service's press records, so a press on it is the field's and no longer an unclaimed press that drops the focus.
Every build cl composes passes --timings (the newest 200 reports kept), and
every cl command appends one line to <target>/cl.log with its build and
test-run wall time, exit code and report, so a slow loop can be read from
data afterwards.
cl test builds with cargo test --no-run and runs each test binary itself, as
cargo would, through CL_RUNNER. A wrapper that limits how many test binaries
run at once then holds its limit only for the run; held for the build, it
queued every build behind the slowest one while the job pool already shares
the cores between builds.
HexCodec writes the digits without the #, uppercase, with one or two digits per channel and the alpha digits only when asked; it reads with or without a leading #, and a draft applies as soon as it is a colour. HexField is monospace with the # as a fixed prefix (TextField::prefix, a text adornment), so the picker, the Color panel readout, preferences and Save for Web all show it the same way.
A part that senses SETS_ON_PRESS runs its gesture through Cx::follow_press: the press begins it with the value under the pointer, shown in the press pass, a drag follows the pointer and the release commits. PointPicker (and ColorArea through it), ColorStrip, ColorWheel and ColorRamp use it in place of their own DragStart, Drag, Release and click handling; their drags take no modifiers, as before the port. ValueDrag::at gives an absolute drag's value at a point. The suite's slop case expects a one-value gesture within slop on such a part.
Adornment::text(label, role) is measured with the field and placed by place/reserve like a glyph or a button, against the text with no gap. NumberField's unit is its first trailing adornment; its own unit layout goes.
A read-only text stop takes focus from a press only. A grid's text part edits one
cell, and the grid itself holds cells the keyboard moves between, so a read-only
grid, table or tree stays a Tab stop and the keyboard still reaches its cells.
The dock column bar's collapse control shows the icon set's double chevron, as
the tool rail's column toggle does, through one function that names a direction
on screen and never mirrors; the dock bar's own chevron painter goes.
Span::underline sets the span format's underline, which the text layout places
on the line box's bottom and snaps to pixels. TextRun::mnemonic underlines one
character; menu items and menu bar titles show their mnemonics with it, and a
link underlines its whole run, in place of three hand-drawn lines.
The split button's divider, the timeline track header's divider and the table
outline and grid header edges paint through Draw::rule and Draw::rule_with, the
one pixel-snapped line, instead of their own strokes.
ScrollBarLook names its kind: an overlay bar over the content, or a docked bar
beside the view with a chrome track, a divider on the side facing the view and
an inset thumb. ScrollBar::thumb is the one thumb geometry, which PartsCx::scroll
declares and ScrollBar::shapes paints; the canvas scroll bars and the timeline's
bar paint through Draw::scroll_bar instead of their own copies.
Dividers, edges and grid lines are hairlines, as the old Divider was; the drop
mark keeps its medium width. RuleLook carries a RuleWidth that the rule painter
resolves to whole physical pixels.
PartsCx::selectable_text declares a run as a selection part with a press-only
stop in no group; step 8b gives the focused one Select All and Copy; and
PaintUi::selectable_text shows it through the text widget with the run's own
galley, in the state's colours. Notice title and message, MetadataTable values
(ListRow::cell_selectable) and SelectableText use it. SelectableText loses its
Bind and Input::Text path and becomes a label whose value is its text. The
suite presses the focus registration's press-only stops when Tab reaches
nothing, instead of guessing from Input::Text and a read-only node.
A dialog starts on its first field, else its default button, else nothing. These trials' content is a plain focusable
leaf, and they test focus return and the sampler keeping key focus, so they ask for Initial::First.
An app-modal ViewportWindow with Backdrop::None, and a BlockingOverlay without a scrim, let presses through to the
window under them. The window trial presses the button under the window by position: a modal layer hides what is under
it from the accessibility tree.
The tour card is a popup that blocks and dims nothing and stays on an outside press; Backdrop::ScrimWithHole and the
cover layer's hole go with it. ViewportWindow blocks nothing until app_modal(backdrop). A modeless Dialog without a
footer ignores Escape; a modal one or one with a footer closes on it. PreferencesWindow drops modeless and takes the
shared app-modal path (blocked cursor, refused close).