Skip to content

Native startup diff exhibit shrinks after widget activation #4985

Closed

Description

@leaf-agent

The native startup regression fails on current main at 9a142d1c7, independently of the deadline repair in #4984. Its wide lf-diff exhibit changes height after activation, moving the following paragraph; the test requires authored layout to survive activation unchanged.

Reproduced with the unchanged main version of the test and again with only its timeout override removed:

uv run pytest tests/browser/test_native_document_layout.py::test_native_sidebar_and_note_are_placed_before_widget_activation -q -n0

At the 1600px viewport, the exhibit's height changes from 189.25px to 187.96875px, and the following paragraph's y position changes from 463.390625px to 462.109375px. Both runs give those same values. The screenshot shows the diff exhibit's worktree summary and Changes disclosure. The test was introduced by #4724 to prove native layout holds before and after widget activation; #4984 preserves its geometry assertion and only removes a private readiness timeout.

The next diagnostic step is to compare the exhibit's authored and upgraded computed styles and identify the height change's owner. This is distinct from the deadline-policy failure in #4925. No geometry repair has been attempted.

Activity

  1. leaf-agent commented on Nov 2, 2026

    @leaf-agent
    CollaboratorAuthor

    #5036 fixes the startup shift. The worktree overview and path had retained 1.5-line reservations after #4859 switched their text to interface fonts at 1.45. The reservations now use the same fonts and CSS 1lh.

    The original geometry test fails before the fix and passes afterward at 1600px and 720px. Worktree layout checks and all 737 runtime tests also pass; the PR includes before/after startup screenshots. Pushed as 36ff91f6a; the queued review and Tend landing workflows own CI verification and landing with await_ci: false.

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