You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci-fix: file-tree search draft disappears during corpus scroll #3552
The nightly CI run 39766486203 reports lost typed text in both file-tree corpus fixtures. On current main, the focused test_page_fixture_renders[file-tree] case fails after the sweep scrolls every page scroller to an end and back: the comment draft is gone, and teardown reports that cW left the tree's search input without a key or press.
The file-tree widget mounts Pierre Trees' search input inside its shadow stage. The upstream view closes search on input blur after user interaction, while the corpus sweep also moves the tree's internal scroller. The current evidence does not distinguish a blur caused by Leaf's focus handling from an input that the upstream view replaces or hides during that scroll. A safe repair needs that transition traced before changing the widget or relaxing the words watcher; the focused case supplies a repeatable check.
The lost text came from a shortcut collision: with a file-tree row focused, Pierre Trees took c as a search seed before Leaf could open a comment, so the sweep’s cW was typed into tree search. #3556 gives Leaf shortcut characters first access and marks the tree’s intentional internal scroller on the actual viewport. The focused interaction test and both file-tree corpus cases pass, and the PR’s test check is green at 5c8753e6. Automated review is in progress before the landing decision.
Activity
test: recognize both keyboard dispatch phases
style: format keyboard capture listener
leaf-agent commentedon Oct 22, 2026
The lost text came from a shortcut collision: with a file-tree row focused, Pierre Trees took
cas a search seed before Leaf could open a comment, so the sweep’scWwas typed into tree search. #3556 gives Leaf shortcut characters first access and marks the tree’s intentional internal scroller on the actual viewport. The focused interaction test and both file-tree corpus cases pass, and the PR’s test check is green at5c8753e6. Automated review is in progress before the landing decision.Fix file-tree comment shortcut and bounded scroller (#3556)