Repository navigation
fix(lists): let a delivered row take space from the panel below it - #1100
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A queued message can take its place in the list without making Working jump. An app can now name the panel giving up space to the new row. This doesn't turn on motion for the window, scroll a reader back to the end or change reduced motion.
Before: When a panel shrank below a pinned list, the list gained all the space in one frame. Growing just the incoming row didn't help: it pushed the surrounding messages back the other way.
After: If the panel gives up exactly the space gained by the viewport, the shared edge follows the incoming row's presented height. The composer stays put. An unrelated resize still lands normally.
Largest actual screen step of Working, same headless Desktop replay at 60 Hz:
Both paths are monotonic and end at the same positions as before. A reader scrolled up had 0 pt drift. Two deliveries three frames apart also settle exactly; at 1× scale the new bubble's last 0.02 pt rounding reversal changed no pixels in its 265 × 42 px crop.
Read:
runtime/virtual/handoff.rschecks that the panel and viewport actually share an edge. Updating the frame track isn't enough: the viewport needs the new presented rectangle during the same frame, even when no scroll callback requests another presentation.Checks run
cargo test -j 2 --locked -p rune --lib live_tail_motion_gate: the 40 pt panel drew at zero on the delivery frame before the presentation fix. The unchanged no-snap assertion and the added first-frame proportion check now pass: 3 tests passed, 390 motion-gate frames, zero findings or allowances.busy-deliverfixture, plus scrolled-away, reduced-motion, history, restored-place and interrupted-delivery controls.cargo check -p session-view --examplespassed with the patched dependency. No Desktop dependency change in this PR.queue-handoff.mp4