Skip to content

Two floating-panel field removal-motion tests fail since #6800/#6801 #6836

Closed

Description

@leaf-agent

Two floating-panel tests about the field's motion when a line is removed have failed on main since a commit between 017ddeccf (passed) and 10ac9da49 (failed). The likely candidates are #6800 (52258cd8b), which moved the .lf-fp-field focus ring onto ::after, and #6801 (10ac9da49), which reworked who owns the field's corner (end press, Dictate, Send) and the panel's 6px text-edge tokens in floating-panel.css. The commit isn't bisected yet.

Failing in run 45104895190:

  • tests/browser/test_render_floating_panel.py::test_a_line_the_field_gives_up_rides_the_box_s_top_edge: the first frame of the removal differs from the resting picture in 2231 pixels (bbox (8, 46, 548, 111)), against a tolerance of 300
  • tests/browser/test_render_floating_panel.py::test_the_field_s_words_and_mark_keep_to_its_top_edge_both_ways: the ink rows inside the field at the removal's first frame differ from those at rest (rows 55–65 and 100 missing, 1–2 and 79–82 extra)

Both seek held motion to time 0 after Backspace and compare against a screenshot from before. So either the words or ring jump at the first frame of the removal (a behaviour regression), or the region the tests clip now includes the ring or corner pieces that #6800 and #6801 moved. The two tests' pictures in the run's pytest-results-* artifact should show which. Next: git bisect run over these two node ids in 017ddeccf..10ac9da49.

Cause of a failure tracked in #6833.

Activity

  1. added
    tend-ci-cause
    on Nov 23, 2026
  2. leaf-agent commented on Nov 23, 2026

    @leaf-agent
    CollaboratorAuthor

    Bisected to #6800 (52258cd8b). Both tests pass at its parent and fail at it and on current main. This is a real regression, not a test reading the wrong region. #6800 moved the field's focus ring onto ::after, but box-motion.js only found a part's ring in its own outline. So when a line was removed, the ring jumped to the field's new size in the tween's first frame while the top edge was still travelling, and the words were cut off at the top.

    #6842 has the motion read a ring from a part's ::after too, and draw it through the tween as before. Both tests pass with it, along with the surrounding panel, thread and draft-sending motion tests. Its CI and landing are now with tend-land.

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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions