The tool rail showed its whole slot grid as one memoized view. While a
press is held on a button, for example to keep a tool flyout open, the
view runs in every pass, so every button of the rail ran in every pass.
Each slot's button is now a memoized view of its own inside the grid's
view. A held press or an open flyout runs that slot's view, and the
other slots replay.
MemoView::shown_out_of_view shows a view in a scroll area as outside
one. Out of view it still runs or replays, so its focus stops and
accessibility nodes stay registered. The rail shows each slot's view
this way, and a button in a rail scrolled away from it stays reachable
from the keys and by screen readers.
The wheel split admitted every taker registered last pass, filtered only
by the top modal's family. Over a floating panel with no scroll region of
its own, nothing in the panel took the wheel, so the share went by
position to the canvas under the panel, which panned or zoomed.
The begin hook now reads the layer of the overlay stack under the
pointer and admits only the takers drawn in that layer. Over the
window's base it admits the base's takers, as before. A body mounted in
an OS window of its own counts as that window's base, and a transformed
body counts as the layer it is a sublayer of. The overlay stack records
each transformed body's parent layer, since egui drops its own record of
sublayers at the end of each pass. The focused field and the owner of a
running wheel gesture keep the wheel wherever the pointer is, as the
split's rule has it. The layer is read only in a pass that carries
wheel, pinch or touch input.
A label lines up with its control's first baseline, which the control
records only after it has run. On a row's first appearance the label
had no recorded baseline, so it was placed at the control's top and the
frame ran a discard pass to move it down. Every frame that showed a new
labeled row, such as a form gaining a field, ran twice.
The label step now notes the last baseline recorded for each control
size. A row with no baseline of its own places its label by that one,
and its control's baseline is compared with it when it records: a
control whose text sits elsewhere still asks for the discard pass. A
memoized view that replays its rows keeps the noted baseline.
A stack that takes its width from its content, such as the column in a
popover, held a fill-width child of its header or footer band at its
measured width only in the measuring run. In the real run the child took
its content width, so a RowAlign::SpaceBetween or RowAlign::End row there
placed its children at the start of the band, as RowAlign::Start does.
The header band, and a footer in its own band, now keep the content
column in the real run too, as the body and a footer in the end region
or the body already did. The row shows across the band and places its
children by its alignment.
The new test shows a SpaceBetween and an End row in the header and in
the footer of a popover's stack and checks the children's x positions.
* fix(nightly): allow single-instance sockets and preserve launcher separator
* chore(nightly): sync Cargo.lock for uds_windows dev-dependency
* test(nightly): use short /tmp socket fixture path for macOS sun_path limit
* fix(nightly): verify Windows AF_UNIX reparse tag via afunix.sys
Under BezierTool::Anchors the overlay only draws: nothing takes a press or
the keyboard. It still declared a part and an AccessKit graphics object for
every anchor and shown handle, and each pass laid out its anchors, handles
and segments four times (parts, update, paint, access). With 10,000
selected paths of 4 anchors each, a test frame took about 926 ms in a
release build.
- Under Anchors, the overlay declares no anchor or handle parts and reports
no AccessKit objects for them. The anchors and handles still draw.
- The steps of a pass share one scene. A step that sees other paths, view,
rect, reach or tool than the scene was laid out from lays out its own, so
an edit or a reset in the pass is drawn from the new paths.
The same test frame takes about 48 ms.
request_read checks the recorded work fault again after its device check, so
an out-of-memory error that a callback records during that check stops the
read before it allocates a staging buffer. with_device documents that the
queue must be the one opened with the device.
- An allocation error, a failed read wait, an oversized upload and a bad read
handle check the device and return GpuFault::DeviceLost when it was
destroyed while wgpu still defers its device-lost callback.
- poll_reads checks the device before failing pending reads with a recorded
error, and when a mapped read's error turns out to be a loss, every
outstanding read fails with that loss in the same call.