Reviewer finding on #3446: the summary ended at a colon ("How much of a floating
layer stays inside the window when the user moves it, when it is placed at a
position, and ..."), and the catalog lists that line only — a variant's own doc
is never extracted. So the line is now a complete summary: the whole layer
(`Inside`, the default) or a strip of its title, with where the rule holds and
the overlay's own `bounds` in the paragraph under it. The variants keep their
detailed docs for rustdoc.
Regenerated with the branch's own generator; a second run leaves the file byte
for byte as it was. The run also picks up two entries the branch's merges added
without regenerating (`Action::restore`, and `floated`'s doc).
Reviewer finding on the forwarded-keys work: the area appended every float's
leftover events and kept only the last window's modifiers, so a host that reads
two floats in one pass could not interpret the first window's events. A
clipboard event carries no modifiers of its own.
`DockAreaOutput::window_events` now holds one `WindowEvents` per floating OS
window that left any, in the order the windows were drawn: the panel the area
names the window by, the modifiers held in that window, and its events.
`forwarded_events` and `forwarded_modifiers` are derived from those batches, so
a host with one floating window reads them as before.
Regression: two native floats, one holding Shift and one bare, forward a paste
each in one pass; the batches keep their own modifiers whichever window holds
what.
overlay.cursor follows overlay.stroke unless a theme pins it, so pointers in other themes keep the color they had. VectorCraft Modern and Modern Medium pin it to #ffffff in both variants, so their tool pointers no longer show in the #ffa492 overlay tint, and their hand, magnifier, rotate and badge marks match the icons. The shared pointer art no longer borrows overlay.handle_fill for tool icons.
overlay.cursor joins overlay.stroke in the halo contrast rule, so a pin that misses the minimum is reported, and a user's accent keeps a theme's pinned cursor color. Trials; dumps gain the token.
In a row, a bar included, the strip's least is its whole line again, so the
row's shrink step does not wrap it. It still wraps in a column narrower than
the strip. A rect with room for one line only keeps the segments on that line.
- ui-contract: `MeasureCx::in_row` says whether a component is a direct child
of a `Row` body.
One zoom_decimals helper serves both, so the read-only zoom texts (Navigator slider, full-window title, zoom bar
entries) agree with the zoom fields. with_zoom_precision is pub(crate). Regenerates docs/contract-api.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ui-test-kit windows.rs: main's per-viewport child events (send, the addressed CHILD_EVENTS and input_pending) with this branch's child modifiers, inserted as each child pass's first event, and the frame's command input. native.rs: both sides' imports.
A blocked window drops the keys, so a modal opened from a focused float by a key or a command (a save prompt in the main window) got none of them until the user clicked. The modal's window now gets one focus request 0.2 s after it becomes the app's modal, if a window it blocks still has the focus; an OS dialog that opens with the modal takes the focus in that time, and then nothing is sent. The modal's own popup windows keep the keyboard. It covers framework modals and FrameInput::app_modal alike (the docking of the former crate::ui did it for its floats, #306).