Repository navigation
Closed
Labels
P1Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.
Description
When the animated Agent thinking indicator is visible, it becomes difficult or impossible to switch to another chat from the selectbox because the animation keeps triggering UI updates/repaints and the selectbox closes before the user can complete the selection.
In practice this makes switching chats unreliable or impossible while the animation is active.
Why this matters
Switching chats while one agent is still thinking is a normal workflow. The animated status should not steal focus or destabilize the session/chat picker.
Repro
- Open Windows Companion.
- Start or wait for a chat where the UI shows the animated
Agent thinkinglabel. - Open the chat/session selectbox.
- Try to choose another chat while the animation is still running. In practice this makes switching chats unreliable or impossible while the animation is active.
Expected
- The selectbox should stay open long enough for the user to pick another chat.
- The
Agent thinkinganimation can continue visually, but it must not reset/close the open dropdown. - Ongoing animated status updates should not interfere with normal pointer/keyboard selection in the chat picker.
Actual
- The screen keeps repainting while
Agent thinkinganimates. - The selectbox closes before the selection can be completed.
Suggested fix
- Ensure the
Agent thinkinganimation does not remount or reset the chat/session picker. - Keep the picker open state stable across unrelated animation/status updates.
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P1Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.
Type
Fields
Priority
High
Projects
- StatusShow more project fieldsChannels
Activity
clawsweeper commentedon Jul 11, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 11, 2026, 4:17 PM ET / 20:17 UTC.
Summary
Current main still replaces the native chat-session ComboBox during snapshot-driven renders, matching the reported flyout closure while thinking updates arrive. The report is focused, source-reproducible, and not covered by the adjacent session-persistence or large-list items.
Reproducibility: yes. at source level: provider snapshots request rerenders, and each render replaces the session ComboBox identified in the screenshot. A current-head native WinUI recording remains the appropriate runtime confirmation.
Next step
The defect is narrow, current-main source exposes the replacement path, and the likely implementation, test, and proof surfaces are clear.
Review details
Best possible solution:
Keep the grouped session picker as a stable reconciled control, update its items and selected value without replacing it, and prove its flyout remains open through repeated thinking-status renders.
Do we have a high-confidence way to reproduce the issue?
Yes at source level: provider snapshots request rerenders, and each render replaces the session ComboBox identified in the screenshot. A current-head native WinUI recording remains the appropriate runtime confirmation.
Is this the best way to solve the issue?
Yes directionally; stabilizing the picker instance is narrower and safer than suppressing legitimate thinking or timeline renders, but the fix should include a regression seam and live UI proof.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 622c0e27c6b0.
Label changes
Label changes:
P1: A normal active-chat workflow becomes unreliable or unusable while an agent is thinking, and current source exposes the render-driven replacement path.impact:ux-friction: The live status animation interferes with switching among existing chats, creating avoidable user-facing friction.issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.clawsweeper:source-repro: Current issue advisory state selects this label.clawsweeper:queueable-fix: Current issue advisory state selects this label.clawsweeper:fix-shape-clear: Current issue advisory state selects this label.Label justifications:
P1: A normal active-chat workflow becomes unreliable or unusable while an agent is thinking, and current source exposes the render-driven replacement path.impact:ux-friction: The live status animation interferes with switching among existing chats, creating avoidable user-facing friction.Evidence reviewed
Acceptance criteria:
What I checked:
src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs:172, 622c0e27c6b0)src/OpenClaw.Tray.WinUI/Chat/OpenClawComposer.cs:252, 622c0e27c6b0)src/OpenClawTray.FunctionalUI/FunctionalUI.cs:1021, 622c0e27c6b0)src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs:148, c1bd9ae58b9e)Likely related people:
src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs,src/OpenClaw.Tray.WinUI/Chat/OpenClawComposer.cs)src/OpenClawTray.FunctionalUI/FunctionalUI.cs,src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs,tests/OpenClaw.Tray.Tests/ChatTimelineRenderIdentityContractTests.cs)src/OpenClaw.Tray.WinUI/Chat/OpenClawComposer.cs,src/OpenClawTray.FunctionalUI/FunctionalUI.cs)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.clawsweeper commentedon Jul 11, 2026
🦞⚠️
Automatic implementation stopped before completion.
Reason: The automatic implementation worker stopped before all deterministic gates completed. Open the workflow run for the exact blocker.
Worker: https://github.com/openclaw/clawsweeper/actions/runs/29173264273
fix(chat): replace NativeElement escape hatch with FunctionalUI Combo…
shanselman commentedon Jul 20, 2026
Confirmed fixed on current main by the already-merged #991 and #984. Current FunctionalUI preserves the native ContentFlyout by render path while OpenClawChatRoot continues legitimate snapshot/status rerenders. Added real WinUI regression coverage in #1035: repeated Agent thinking-style renders preserve button/flyout/content identity and IsOpen; rows and selection update; mark-and-sweep closes a removed picker. Mutation proof replacing path caching with a new Flyout per render makes the test fail at native identity, and restoring production returns it green. Current-head visible proof showed Agent thinking 3 and the open native Session popup simultaneously. Required build, Shared (2,925 passed/31 skipped), Tray (1,823 passed), FunctionalUI (19 passed), and focused WinUI (1 passed) validation all passed.