Repository navigation
fix(chat): use paperclip glyph for chat attach button - #1581
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. Reviewed October 6, 2026, 12:05 AM ET / 04:05 UTC (Revision 3). ClawSweeper reviewWhat this changesThe native Windows chat attachment button uses a paperclip instead of a plus, with a rendered-control test keeping the two glyphs distinct. Merge readiness⛔ Needs changes before merge - 1 item remains The PR remains useful: current main still uses the plus glyph, and the introduced patch has no actionable correctness findings. Earlier validation requests are addressed, but the specifically requested current-head visual capture is not present in the reviewed evidence. Priority: P3 Review scores
Verification
How this fits togetherThe Windows chat composer displays attachment, voice, and send controls. Its shared icon catalog supplies the attachment glyph while the existing button continues to open the attachment picker. flowchart LR
A[Chat composer] --> B[Shared icon catalog]
B --> C[Paperclip attachment button]
C --> D[Existing attachment picker]
E[Rendered UI tests] --> C
Before merge
Agent review detailsSecurityNone. Review metricsNone. Technical reviewBest possible solution: Keep the shared catalog as the single glyph source and retain the rendered regression assertion with auditable current-head visual evidence. Do we have a high-confidence way to reproduce the issue? Not applicable to a runtime malfunction; current-main source directly confirms that attachment uses the Add glyph. Is this the best way to solve the issue? Yes. Changing the existing catalog entry is the narrowest solution, and the rendered assertion protects the distinction without adding a parallel implementation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d53b5ab80664. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Scoped maintainer triage verdictTAKE_AFTER_CHECKS. Take confidence: 85%. Recommendation confidence: 97%. Reviewed head: Basis and remaining gatesThe source change is a single glyph constant to U+E723. Hosted UI failure is a five-minute inactivity/testhost abort in apparently unrelated Markdown/theme tests. This suggests an infrastructure relationship but is not a proven baseline flake: compare exact base and reproduce focused failure before rerunning. Also resolve reported local NativeSpeech/VC++ prerequisites for clean required closeout. Verify a current-head accessible paperclip capture, replace the local-only screenshot path and add a proper proof declaration. To reach 90%+ take confidencelarroy: diagnose UI testhost watchdog against exact base; clean Floor, current-head accessible paperclip capture, replace local screenshot path and add proof declaration. UI. Do not call flake proven. Here, Floor means final-head Quoted execution results are author/maintainer receipts reviewed during the scoped triage, not tests rerun by this posting session. Missing or stale-head proof is not a pass. A dedicated child session is preparing a read-only revalidation/closeout plan; no implementation, destructive execution, CI rerun or merge is authorized by this verdict. |
|
In the screenshot attached above you can see the change, there's a paperclip instead of the plus symbol. |
4258105 to
ab53450
Compare
ab53450 to
18b97d6
Compare
|
Addressing each gate from the triage (new head
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|


What Problem This Solves
Fixes: the chat composer attach button showed the same "+" glyph that creates new sessions, so attach and new-session looked identical.
User Impact
User impact: the attach button now shows a paperclip; behavior, tooltip, and accessible name ("Attach") are unchanged.
Why This Change Was Made
FluentIconCatalog.ChatAttachnow uses Segoe FluentU+E723(Attach) instead of aliasingAdd; a rendered-UI assertion inReactorChatLayoutProofTests.ProductionRoot_AlignsColumnAndKeepsEveryComposerActionReachablekeeps attach visually distinct fromAdd(asserts the rendered glyph is a PUA glyph and is notFluentIconCatalog.Add, without re-pinning the literal constant).Evidence
ChatAttach = Addlocally, the focused composer proof fails 6/6 atAssert.NotEqual(FluentIconCatalog.Add, attachGlyph)(ReactorChatLayoutProofTests.cs:116); withChatAttach = "\uE723"it passes 6/6 (widths 320/480/560/561/800/1200).name=Attach automationId=ChatComposerAttach controlType=ControlType.Button offscreen=False.Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: chat composer attach button glyph changed (visual + accessibility).Validation
PR head
18b97d6e45d70da3656cfcb9dac867d11ca9afe2, landing base9dedabe66187a1438a1e6a1f9c49b98f99581218(rebased onto currentorigin/main; single-commit diff is one line inFluentIconCatalog.csplus the test assertion).VC++ prerequisite: installed
Microsoft.VisualStudio.Component.VC.Redist.14.Latestinto the local VS 2022 BuildTools via the VS Installer;vswherenow reports the BuildTools instance,build.ps1emits noOPENCLAW0001, andmsvcp140.dll14.44.35211 copies into test output (previously the warning fell back to 14.29 andNativeSpeechStackRuntimeTestscould not run cleanly).Floor (fresh detached worktree at the head, real restore/build first):
.\build.ps1: all projects built, 0 warnings, 0 errors, noOPENCLAW0001.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: Passed 4231, Skipped 35, Failed 0. Note: in two full-suite parallel runsMcpHttpServerTests.Dispose_DuringInFlightHandler_DoesNotSurfaceObjectDisposedExceptionfailed because the suite-wide unobserved-exception detector caught unrelatedObjectDisposedException: Cannot access a closed fileevents from aStreamReader; the focused test passes, the full suite passes on the landing base with identical commands, and this PR touches no Shared code.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: Passed 3899, Failed 0, Skipped 0.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --filter FullyQualifiedName~NativeSpeechStackRuntimeTests: Passed 4, Failed 0.Touched-owner UI suites (isolated
OPENCLAW_TRAY_*data dirs, win-x64):NativeChat-480-viewportandNativeChat-800-viewport(local artifacts, not uploaded).ChatAttach = Add, 6/6 failed atAssert.NotEqual(ReactorChatLayoutProofTests.cs:116); after restoring the file, 6/6 passed..\scripts\run-proof-tests.ps1 -Project 'tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj' -Filter 'Category=Accessibility' -ResultName 'winui-accessibility' -RuntimeIdentifier win-x64: Passed 23, Failed 0, includingPage_PassesAccessibilityScan(pageName: "ChatPage")for bothchatandworkspacetags andChatComposerControls_ExposeOnscreenLayoutThroughUia(assertsChatComposerAttachon-screen with nonzero UIA bounds). TRX:TestResults\ProofPools\winui-accessibility\winui-accessibility.trx.Testhost watchdog diagnosis (head vs exact landing base, isolated envs, identical commands):
UIThreadProc: bootstrap completeprinted every time and noinactivity timeabort. The hosted hang signature is not reproduced locally in 5/5 head and 5/5 base runs.Category!=Accessibility&Category!=NativeOnboardingProof): head 455 total, 438 passed, 3 failed, 14 skipped; base (landing commit9dedabe6) identical counts with name-identical failures:A2UISvgTests.PathologicalGeometry_BoundedByRenderTimeout(decode ~14.6 s > 8 s budget on this loaded machine) andWorkspaceWindowProofTests.AgentSelector_UsesConfiguredIdentityPictureNameAndId(Dark and Light, "Expected the rendered fixture avatar or Home artwork"). Base-red, not a PR regression; no chat/composer failures.36913306577printedproof-dpi-trace phase=UIThreadProc: before bootstrapat 19:23:10 and never printedbootstrap completebefore the 5-minute inactivity abort at 19:29:40; that stall sits between the two trace points inUIThreadFixture.cs:205-215(WinRT.ComWrappersSupport.InitializeComWrappers()+Bootstrap.Initialize), beforeApplication.Start, so before any product code includingFluentIconCatalogcan run; the same signature (0 Tray UI tests passed, nobootstrap complete,ThemeResolveColorFallbackTestsin flight) appears in 19 hosted ci.yml runs on 16 unrelated branches between 2026-09-28 and 2026-10-05, none on main push runs. This is consistent with a hosted-runner WinAppSDK bootstrap stall (hypothesis); it is not a proven flake and this PR cannot cause it.18b97d6e: see "Real Behavior Proof" links and the checks tab; the landing base9dedabe6push run37395675439is fully green including the "UI, functional, and accessibility tests" job.Real Behavior Proof
%TEMP%data dir, synthetic accessibility chat/sessions fixtures (OPENCLAW_ACCESSIBILITY_TEST_CHAT=1,OPENCLAW_ACCESSIBILITY_TEST_SESSIONS=1).18b97d6e45d70da3656cfcb9dac867d11ca9afe2..\build.ps1, launched.\run-app-local.ps1 -Isolated -AllowNonMain -NoBuildwith seed settings matchingAccessibilityAppFixture(EnableMcpServer=true, node mode off, System theme), sent the deep linkopenclaw://hub/chat, then ran a UIA capture script (DPI-aware) against the isolated PID.name=Attach automationId=ChatComposerAttach controlType=ControlType.Button offscreen=False bounds=2322,1333,32,32.NativeChat-480/800-viewportcaptures from the focused proof test (local artifacts) show the same.Yes/No/N/A): PENDING-UPLOADSecurity Impact
Yes/No): NoYes/No): NoYes/No): NoYes/No): NoYes/No): NoYes, explain the risk and mitigation: N/ACompatibility and Migration
Yes/No): YesYes/No): NoYes/No): NoReview Conversations