Skip to content

Main Chat page keeps first-chat startup overlay after chat is already usable #730

@sorry123luck

Description

@sorry123luck

Summary

The main Windows Companion Chat page can keep showing the first-chat startup/loading overlay even after chat is already usable and messages are being sent/received.

The Tray mini chat window does not show the same stuck overlay, which suggests the Gateway/chat backend is ready and this is a main Chat page UI state issue.

Environment

  • OpenClaw Windows Companion: v2026.6.1
  • Gateway: OpenClaw v2026.6.1, running locally in WSL
  • Gateway URL: ws://127.0.0.1:18789
  • Windows user: Administrator

What happened

On the main Chat page, the UI kept showing a centered startup overlay/spinner with text like:

等待聊天启动...
聊天已准备就绪;正在启动您的首次对话...

At the same time, chat was already usable:

  • the composer was visible,
  • messages could be sent,
  • assistant replies were visible,
  • tool activity could run,
  • the Tray mini chat window showed the same conversation without the stuck startup overlay.

Expected behavior

Once the chat compose target is ready and the conversation is usable, the first-chat startup overlay should disappear.

The loading/startup state should be cleared when the main Chat page has enough state to render an active conversation.

Actual behavior

The main Chat page continues to render the startup overlay on top of an already active conversation.

This makes the UI look stuck even though chat is functioning.

Related prior work

This may be related to #498, which changed chat startup/reconnect loading UI and welcome-state gating.

It may also be adjacent to #457, which touched zero-state chat behavior and main / agent:main:main session handling.

Suggested fix

  • Clear the first-chat startup overlay when compose is ready and a real active timeline/message exists.
  • Make the main Chat page and Tray mini chat use the same readiness condition if possible.
  • Add a regression test for the case where chat is usable but the startup overlay would otherwise remain visible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions