Skip to content

fix(setup): show icon in window preview - #1558

Merged
bkudiess merged 1 commit into
openclaw:mainfrom
natalie-aguinaldo:fix/window-preview-icon
Sep 30, 2026
Merged

bkudiess merged 1 commit into
openclaw:mainfrom
natalie-aguinaldo:fix/window-preview-icon

Conversation

@natalie-aguinaldo

@natalie-aguinaldo natalie-aguinaldo commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • assign the shipped OpenClaw icon to the setup window's native AppWindow, so Windows taskbar previews and Alt+Tab show the lobster icon
  • keep setup startup fail-safe when the optional icon file is missing or Windows rejects the icon update
  • add regression coverage for the icon asset, output content rule, guarded lookup, and native assignment

Required proof pools

  • windows-winui-interactive: the setup window title bar and Windows preview icon changed

Validation

  • ./build.ps1 - passed
  • dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore - 4,215 passed, 34 skipped
  • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore - 3,610 passed
  • Hanselman adversarial review (Claude Opus + GPT Codex) - no critical or high-severity defects; both consensus robustness findings fixed

Real behavior proof

Post-rebase current-head isolated launch (including #1531):

C:\source\repos\openclaw-windows-node\run-app-local.ps1 -NoBuild -Isolated -AllowNonMain

The OpenClaw Setup lobster icon is visible in both the title bar and taskbar preview with the redesigned onboarding flow:

OpenClaw Setup window and taskbar preview showing the lobster icon

image

@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: sufficient Contributor real behavior proof is sufficient. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 30, 2026
@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex review: needs maintainer review before merge. Reviewed September 30, 2026, 5:52 PM ET / 21:52 UTC (Revision 3).

ClawSweeper review

What this changes

The 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
Reviewed head: 9fadba36f111012a16e9f48398335fd91be3b73d

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused patch and direct Windows screenshots provide good review confidence.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The changed setup window assigns the icon during initialization. The contributor reports an isolated current-head Windows launch, and both inspected screenshots visibly show the icon in the active setup title bar and taskbar preview; no stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The changed setup window assigns the icon during initialization. The contributor reports an isolated current-head Windows launch, and both inspected screenshots visibly show the icon in the active setup title bar and taskbar preview; no stored-data contract changes.
Evidence reviewed 7 items Introduced implementation: The pinned PR delta adds a guarded icon lookup and native window assignment after setup window initialization; current main lacks this assignment.
Asset packaging: The tray project copies its Assets directory to output, including the icon used by the setup window.
Regression contract: The added test checks the icon asset, output content rule, guarded lookup, and native assignment.
Findings None None.
Security None None.

How this fits together

The 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]
Loading

Before merge

None.

Agent review details

Security

None.

Review metrics

None.

Technical review

Best 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.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This repairs a visible but low-impact Windows setup icon inconsistency.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The changed setup window assigns the icon during initialization. The contributor reports an isolated current-head Windows launch, and both inspected screenshots visibly show the icon in the active setup title bar and taskbar preview; no stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed setup window assigns the icon during initialization. The contributor reports an isolated current-head Windows launch, and both inspected screenshots visibly show the icon in the active setup title bar and taskbar preview; no stored-data contract changes.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The changed setup window assigns the icon during initialization. The contributor reports an isolated current-head Windows launch, and both inspected screenshots visibly show the icon in the active setup title bar and taskbar preview; no stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • Barbara Kudiess: Raw commit 3eed1f1 adds src/OpenClaw.SetupEngine.UI/SetupWindow.xaml.cs:39 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3eed1f1bac56; files: src/OpenClaw.SetupEngine.UI/SetupWindow.xaml.cs)
  • Karen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-09-30T21:26:45.066Z sha 80bde34 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-30T21:47:21.995Z sha 9fadba3 :: needs maintainer review before merge. :: none

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
@bkudiess
bkudiess merged commit e00ce90 into openclaw:main Sep 30, 2026
40 of 42 checks passed
@natalie-aguinaldo
natalie-aguinaldo deleted the fix/window-preview-icon branch September 30, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants