- PaintUi::measure: a composite measures a child as PaintUi::child shows it.
- SliderField::field_sizing; the Inline field takes its measured width.
- Slider: the triangle starts under the colour band; TrackLook::ramp is size.ramp.bar.
- NumberField: a field that rounds what it commits is sized at those places; a mixed field is sized as with a value.
- ColorReadout: a wrapping row, the hex field then R, G, B fields after their letters, each content-sized.
- SwatchPair::frame_active; ColorWarningChip::beside.
202 upstream commits since 6cb00467a. Resolutions:
- craft-window, craft-platform: ours. Upstream's frame policy v2, restore
store and GNOME light/wait_first are the versions carried on 28 Oct;
ours moved place() to craft-behavior and kept LayoutWatch and the
appearance/portal.rs split.
- craft-timeline: ours. craft-time (crates/time) lands as upstream wrote
it and is not yet used by craft-timeline.
- Old crates/ui modules stay removed. Upstream's frosted backdrops, shape
gallery, dialog tabs and the iconic flyout top-edge rendering are not
carried. The #1094 model half is in craft-behavior's dock:
Group::flyout_offset and Action::MoveFlyoutTop.
- craft-update: #586 Save and Update, the install probe on the check
thread and quiet per-user MSI self-updates, carried into updater.rs,
stack_dialogs.rs, install/windows.rs and self_update/helper.rs.
- craft-jpeg: progressive Huffman decoding, carried into huffman.rs,
parse.rs and scan.rs.
- craft-print: the driver settings dialog's new tests and the bounded
XML parse's tests, as trials.
- Test-only conflicts: upstream tests from before the base that our side
cut stay cut; tests new upstream are kept.
- Story suite: a text run counts as shown by an open layer only when its clip lies
in that layer; PaintedText records the clip.
- Place::flipping_across: only submenus open upward from a low row; rail and dock
flyouts slide as PhotoCraft's tool flyouts do.
- Only modal and window layers in an embedded shell's region take the whole
region; a popup kept in a PopupRegion keeps its cap.
- Strips scroll at rows per second of a control's height and show in the pass
whose measured content first overflows.
- Trials: a bar menu reopened after scrolling to its end shows one level from
its first row; a dropdown in a bar menu keeps its cap; a low tool's flyout slides.
Scroll gets a strip indicator: arrows above and below the view that scroll while
the pointer rests on them, taking height from the view and never width. Menu and
inline menus use it, so every menu layer, the menu bar's included, scrolls in the
room it has. overlay::place opens a side overlay that runs past the bounds the
other way when it fits there, so a tall submenu of a low row opens upward.
key_reorder takes the rows acted_on names, so a stacking key on a selected sub-row moves that sub-row and not its
row. While a press holds a release for a later pass, sensing asks for a repaint, so the release goes out in the next
frame without new input.
A sub-row belongs to the row above it, so a gesture on one acts on the selected rows of its own kind. The Layers
panel keeps a Smart Filter row selected beside its layer; a drag of that row carried the layer too, and the drop
rule refused the mixed set.
A release in a pass that still owes the press's Down or DragStart is held for the next pass, with its click
state taken when the button went up. Two clicks in one frame, which the one-press rule splits into
[P1], [R1, P2], [R2], report Down and Activate for both clicks.
Every craft text control (TextField, NumberField, ChipField, AltTextField, DateField, ComboBox) shows the
EditMenu in a context menu on a right click in its text, the Menu key or Shift+F10. The open menu holds the
focus without ending the text part's typing run or losing its selection, so Escape closes the menu and the
field keeps editing, and a picked row acts on the field's selection once the focus is back. Rows run their
EditCommands through the command board, the same route an app's Edit menu uses.
- record_context counts a secondary release on a component's text widget
- a secondary press inside the selection keeps the selection
- EditCommand::Delete: the Delete command run from a menu deletes a text part's selection; the Delete and
Backspace keys stay the text part's own deletion, and editors leave the command to the app
- TextField/NumberField::own_context_menu for a caller that hangs its own context menu on the field
(the transform fields' unit menu)
A source marks a sub-row with its indent steps (ItemSource::sub_row). The row is
compact, its eye column empty, and its toggle cells sit in its content at that
indent (sub_row_cells): one step past the layer for the header, two for an item.
Presses flip them there and a sweep down the eye column passes them by. No divider
falls between a row and the sub-rows that continue it (RowState::continued).
The mock's Effects header carries the sparkles icon.
The role came from KeyUse.chrome_key, which the canvas overlays that are no document (Guides, BezierOverlay and others) set to false, so their Cmd/Ctrl+Page switched pages. The innermost scroll owner now records whether it has a view of its own; a scroll region inside a canvas body takes the role back off. chrome_key keeps only its window meaning (Tab toggles the panels). Guides takes only the moves along the guide and leaves the page and end moves to the canvas.
Every marker is a focusable member; Tab lands on the chosen one, a press focuses the marker it grabs, and the arrows
move the focused marker. Focus from assistive technology on another marker reports it as pressed. Roving takes
Arrows::None for a group whose members use every arrow.
craft_behavior::nav::step_until_changed steps again while the value is the same one to the control. ColorStrip
uses it in place of its own loop; PointPicker takes a `same` test and runs every relative move through it.
ColorArea steps a quantised field by the channel's step until the colour changes, as the old area did.
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.
A grid's measuring run measures each content column in the room the other
columns leave at their least. When the columns do not fit beside each other,
it asks every column for its least in a probe sweep (every leaf at its least,
no column bounded) and measures once more: a content column in the room the
others leave at their least, a fill column never below its least. Columns
whose leasts do not fit beside each other are laid out one under another
across the room, so no column is cut. The leasts and the stacked layout are
recorded for the real run.
A wrapped text's least is its widest word: a line breaks between words.
FontsPanelView's list column and ColorPicker Full's channel column no longer
collapse at card width.
`Metrics::least_width` is the floor a least measure takes in place of
`min_size`'s width. A field keeps its 96-point floor where it takes its own
width and, in a row that shrinks it, narrows to its padding and one glyph plus
what its content measure adds there (a select face's ellipsis and chevron, a
text field's adornments).
A short row takes its shortfall from every unit in proportion to what each can
give, so all reach their least together.
The stacking keys replace Alt+Up and Alt+Down as the reorder keys of every reorderable
collection and section stack, from one table in the key table. ] moves toward the front:
the start of a vertical order, later in a horizontal strip. The keys move the selection
as a block (the lead alone when it is not selected), with the tree rule for into_groups;
the single-row nudge helpers go. Alt+Down is Open everywhere.
A panel or group floated out of the dock opens at its docked width and at
the height its group measures at in a floating window's room, at most
size.float.height. Content that fills its body opens at that height.
- Proposal::Size measures a component as it is shown at a rect of that
size, with no share of the parent body's room.
- drag::amend lets a host change a drag's payload in the frame the drag
started. The dock area measures the dragged panel there and puts the
size on PanelDrag::source / GroupDrag::source. The Float command and a
tab torn out of the window measure where they run.
- DockGroupOutput::drag_started also reports tab drags.
- FloatSpace::size_of caps a panel's, group's or column's height at the
default float height. FloatSpace::record and its contents are gone.
A value control takes the wheel only while focused or armed, on the axes
it senses. WheelScope replaces the wheel_gated scope: Free lets the
sliders of an adjustment dialog take the wheel without focus, and Gated
(the Overview card) gates every taker and wins over a Free inside it.
Slider senses the vertical wheel only; RangeSlider and ThumbRow sense no
wheel bits; PointPicker and AngleDial sense both scroll axes.