Repository navigation
fix(setup): show icon in window preview - #1558
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 maintainer review before merge. Reviewed September 30, 2026, 5:52 PM ET / 21:52 UTC (Revision 3). ClawSweeper reviewWhat this changesThe setup window assigns the shipped OpenClaw icon to its Windows title bar and taskbar preview, with a guarded lookup and a regression contract test. Merge readiness✅ Ready for maintainer review The setup preview icon is still absent from current main, so this PR remains useful. The current head has direct visual proof, and the review found no introduced correctness defect. Priority: P3 Review scores
Verification
How this fits togetherThe Windows tray app opens the setup window during onboarding. The setup window uses an icon shipped with the app, and Windows displays that icon in the title bar and taskbar preview. flowchart LR
A[Tray app] --> B[Setup window]
C[Shipped icon asset] --> D{Icon available?}
B --> D
D -->|Yes| E[Assign window icon]
D -->|No| F[Continue setup]
E --> G[Title bar and taskbar preview]
Before mergeNone. Agent review detailsSecurityNone. Review metricsNone. Technical reviewBest possible solution: Land the focused icon assignment with the existing guarded fallback and retain the current-head Windows visual proof. Do we have a high-confidence way to reproduce the issue? Yes. Current main initializes the setup window without assigning its native icon, while other app windows assign the shipped icon; the PR screenshots show the corrected preview. Is this the best way to solve the issue? Yes. The change uses the existing shipped icon and continues setup when it is unavailable or Windows rejects it. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3eed1f1bac56. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Assign the shipped OpenClaw icon to the setup AppWindow while keeping setup available when the optional icon cannot be loaded. Add a regression contract for the asset and guarded assignment. Co-authored-by: Copilot <[email protected]> Copilot-Session: 7574e95a-81b9-4af5-91a3-a86b55f3bdf7
80bde34 to
9fadba3
Compare
Summary
AppWindow, so Windows taskbar previews and Alt+Tab show the lobster iconRequired proof pools
windows-winui-interactive: the setup window title bar and Windows preview icon changedValidation
./build.ps1- passeddotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore- 4,215 passed, 34 skippeddotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore- 3,610 passedReal behavior proof
Post-rebase current-head isolated launch (including #1531):
C:\source\repos\openclaw-windows-node\run-app-local.ps1 -NoBuild -Isolated -AllowNonMainThe OpenClaw Setup lobster icon is visible in both the title bar and taskbar preview with the redesigned onboarding flow: