Skip to content

CJK text tops clipped in chat after v2026.7.1 #1152

Description

@w909421774

Title

CJK text tops are clipped in chat after v2026.7.1 (regression of #636)

Environment

  • OpenClaw Companion v2026.7.1 (build 4206611)
  • Windows 11, display scaling 100% / 125% (both affected)
  • Chinese UI font: Microsoft YaHei (font fallback)

Steps to reproduce

  1. Update to v2026.7.1.
  2. Open any chat thread that contains Chinese text.
  3. Look at the tops of Chinese glyphs (e.g. 设置、分析、资源).

Expected

All CJK glyph tops are fully visible, as in earlier versions.

Actual

The top ~1-2px of Chinese characters is clipped in chat messages.
Latin/digits are NOT affected. Other UI areas are NOT affected —
only the chat message area.

Notes

This looks like a regression of #636 (closed as fixed by #997):
#997 merged each message into a single RichTextBlock, and the line
height appears to be calculated from the primary (Latin) font metrics.
CJK glyphs have a taller top bearing than Segoe UI, so they exceed the
clip region and get cut. The Reactor theme migration (#1084) may also
play a role. Zoom/scaling changes do not help.

Attachments

(Screenshot showing a chat message where Chinese tops are clipped,
with a side-by-side before/after if possible.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions