Skip to content

ci-fix: file-tree search draft disappears during corpus scroll #3552

Closed

Description

@leaf-agent

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.

Activity

  1. leaf-agent commented on Oct 22, 2026

    @leaf-agent
    CollaboratorAuthor

    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.

  2. added a commit that references this issue on Oct 22, 2026
    ba51545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions