The apply step counts every event that changes the bound value: a proposal,
commit or set, and a cancel that puts the value from before the gesture back.
A given binding unsettles on the same events, compared by the value each
lands. EditEvent::apply reports Restored only when the cancel changed the
value, so a cancel under a commit-only policy, whose place still holds the
value from before, counts as no write.
The apply step counted a write only for Update and Commit, so a Set (cx.set,
or a gesture that begins and commits in one pass) changed the bound place
without noting the edit: no settled region or hidden page that read the value
measured again, and no earlier reader got the edit rerun. A given binding's
Set likewise unsettled nothing. Set now carries its value in both tests.
The Pages edit trial asserts one measuring run of the hidden page in the edit
frame. The popover click trial counts the row's activations: a leaf counts a
press in every pass with a press phase, so a click that lands counts more than
one. It clicks the new page's row right after the switch frame's idle frame.
A hidden page is measured only: a measuring run inside an invisible sizing
child, so it senses, registers and paints nothing. It reuses the size its
last measuring run found while nothing it read changed, under the settled
rules a measure reads (no input other than pointer motion, no edit of a value
it read, nothing moving, no app repaint): the measuring run opens the same
run record replay::open/close keeps for settling regions, and lazy keeps its
facts with the size. A reused page notes its reads again, so an edit of one
later in the pass reruns the pass.
PaintChip shows its paint kinds through Pages: its popover keeps the size of
its largest page, so a tab switch moves and resizes nothing.
OverlayUi::show shows its body closure through the container pipeline: a
private content-sized layer container (popup surface, POPUP_PAD, no node of
its own). Step 5 measures the body before the host places the layer, so a
popup whose content changes is placed by its new size in the pass that shows
it, and a filling child takes the width the popup settles on.
The popup keeps its owner key: ContainerProps::owner (crate-private) makes
the container's memory, presence and layer bookkeeping belong to the
component that shows the popup (or the opener its overlay names), so body
memory lasts across a close and KeepAnchor focus return finds the anchor.
The host places a measured layer by at least its least width. The layer's
least width at its anchor reaches a content-sized collection through the
LayerFloor env value the layer container gives its regions in both runs,
replacing the least width the layer memory carried from the last pass.
One shift-lock opt-in: OutlineDraft::locking_shift_drags (t7d) carries t23e's rule that a Mixed draft which doesn't lock keeps the pointer's path under shift.