Repository navigation
Show an unplaced margin row again, and list the seat tests' marker arrival as a known shift - #1495
Merged
Merged
Conversation
…rival as a known shift #1493 hid a margin row until the layout placed it, to stop an arriving marker's move into the rail reading as a layout shift on Linux. The nightly run on its branch then failed two feature-gallery tests that main's run before it passed: an Undo row the margin had not placed stayed hidden (test_the_feature_gallery_keeps_its_real_actions_reachable[700]), and test_the_feature_gallery_keeps_a_choice_when_its_proposal_is_undone. On Linux's headless shell an unplaced row stands at the window's origin, visible and pressable, and some rows stay there. The margin projection also parks a row before placing it on purpose, so its controls are in the tab order from their first render. The rule goes. The marker an agent's new thread or reopening brings into the two seat tests is listed in known_shifts.py as the defect it is: a row inserted unplaced and placed a frame later. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 1, 2026
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.
#1493 hid a margin row until the layout placed it, so an arriving marker's move into the rail would not read as a layout shift on Linux. The nightly run on its branch then failed two feature-gallery tests that main's run before it passed:
test_render_margin.py::test_the_feature_gallery_keeps_its_real_actions_reachable[700]: the margin's Undo forbg-insertstayed "not visible" for 30s.test_render_navigation.py::test_the_feature_gallery_keeps_a_choice_when_its_proposal_is_undone.On Linux's headless shell an unplaced row stands at the window's origin, visible and pressable, and some rows stay there, so hiding unplaced rows hid them. The margin projection also parks a row before placing it on purpose, so its controls are in the tab order from their first render.
This removes the
theme.cssrule. The marker that an agent's new thread or reopening brings into the two seat tests oftest_render_read_state.pyis listed intests/known_shifts.pyas the defect it is, matched tolf-margin-nodes only, so any other shift in those tests still fails them.Follow-up: place a margin row in the frame it is inserted. Today
registerMarginRowschedules the layout pass for the next frame (margin-layout.js), so a row the projection inserts paints unplaced first; placing it in the same frame removes the known-shift entry and the stranded rows at the origin.🤖 Generated with Claude Code