Skip to content

Single-space composer check expects a 28px disc but reads 20px #4754

Closed

Description

@leaf-agent

The single-space content check reaches Send face geometry and reads a 20px disc where it expects 28px. #4714 deliberately changed the Send layout; its diff says the disc is one line tall. Read that intent and preserve whitespace-as-content and usable Send coverage before deciding whether this assertion or the layout should change.

Evidence: run 41014020492.

Affected cases and deciding diagnostics:

___________ test_a_single_space_is_message_content_in_every_composer ___________
>               assert face["discWidth"] == "28px", face
E               AssertionError: {'press': 'rgba(0, 0, 0, 0)', 'glyph': 'rgb(47, 84, 128)', 'disc': 'rgba(0, 0, 0, 0)', 'discWidth': '20px', ...}
E               assert '20px' == '28px'

This report session read CI evidence and did not reproduce locally. Reproduce on current main and read the introducing change and previous results before choosing a repair; preserve its intent and the user behavior. A passing rerun alone does not settle an intermittent failure.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4766 removes the stale 28px disc assertions while preserving #4714's intended layout. The reported test reproduces on current main and passes with the repair; it still checks Send's resting and hovered paint, sends by pointer in the passage composer, and verifies exact single-space content from all three composers.

    Pushed as f56ffe7. Lint and formatting checks pass. The queued review and CI remain responsible for verification and landing; the push is recorded for Tend's landing path with await_ci: false.

  3. added a commit that references this issue on Oct 30, 2026
    5a13406
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