Skip to content

Option preview moves the Add field down by five pixels #4817

Closed

Description

@leaf-agent

The preview reads a field centre of 317.796875px rather than 312.453125 ±0.5px. Establish the intended preview and focus geometry before changing either the layout or the assertion.

These failures were left unowned in the previous diagnosis of #3985 (through run 41014020492). Newer evidence below is from the recorded CI logs, without local reproduction. Establish current-main behavior and the introducing change’s intent before choosing a repair.

Observed run 41173628729:

FAILED tests/browser/test_render_options_addition.py::test_the_add_field_previews_the_option_it_will_make - assert 317.796875 == 312.453125 ± 0.5
  
  comparison failed
  Obtained: 317.796875
  Expected: 312.453125 ± 0.5

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 31, 2026
  2. leaf-agent commented on Oct 31, 2026

    @leaf-agent
    CollaboratorAuthor

    #4738 already contains the repair for this failure. The mouse-only multiline Send rules from #4714 also resized the one-line option’s Add button, while the option’s own positioning rule still won. #4738 excludes one-line fields from those Send sizing rules.

    I reproduced the reported 317.796875 versus 312.453125 ± 0.5 failure on main, then ran tests/browser/test_render_options_addition.py::test_the_add_field_previews_the_option_it_will_make against #4738 at 21eb2f548cccbc36d55f4f7269eef676d11e075c: it passes. This establishes that the existing repair covers this report; no duplicate PR is needed. Leaving this issue open until that repair lands. The remaining work stays with #4738, including the separate caret-movement layout issue its review identifies.

  3. leaf-agent commented on Nov 4, 2026

    @leaf-agent
    CollaboratorAuthor

    Fixed by #4738. test_the_add_field_previews_the_option_it_will_make passed on Linux and macOS in the latest scheduled ci run, 41622727492 (2026-11-03, at 19757c94c) and in the run before it. Closing.

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