Skip to content

[Bug]: QQ Bot exec approval command preview does not wrap on desktop QQ #101979

Description

@xuzhi5858

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

On desktop QQ, the command preview in QQ Bot exec approval messages is rendered as a horizontally scrollable code block. On mobile QQ it wraps correctly. This makes it hard to review the full command before approving.

中文说明:
QQBot agent 发起 exec 审批时,手机端命令预览可以自动换行完整显示;但 PC 端不会自动换行,需要左右拖动滚动条。审批长命令时很不方便,希望 PC 端也能自动换行,或者提供 plain/wrapped preview 格式。

Steps to reproduce

  1. Configure QQ Bot with exec approvals enabled.
  2. Let the agent request approval for a long shell command.
  3. Open the approval message on QQ desktop client.
  4. The command preview appears in a horizontally scrollable code block instead of wrapping.

Expected behavior

The command preview should wrap on desktop QQ so the full command can be reviewed at a glance before approving.

Actual behavior

Desktop QQ shows the command preview as a code block with horizontal scrolling. Mobile QQ wraps it correctly.

OpenClaw version

2026.6.11

Operating system

Ubuntu 24.04

Install method

No response

Model

ollama/deepseek-v4-flash:cloud

Provider / routing chain

QQ Bot -> exec approvals -> QQ desktop client

Additional provider/model setup details

No response

Logs

Screenshots, recordings, and evidence

No response

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions