Skip to content

Bug: Restarting explorer.exe removes the tray icon #1176

Closed

Description

@dotMorten

If you run OpenClaw, and restart explorer.exe, the trayicon will disappear and you can no longer open openclaw, even though it is still running.

This issue is a bug in WinUIEx, and has been resolved in v2.9.3. See dotMorten/WinUIEx#276 for details.

I'd suggest just updating the WinUIEx dependency to resolve this issue.

Activity

  1. added
    clawsweeper:fix-shape-clear
    clawsweeper:queueable-fix
    clawsweeper:source-repro
    impact:ux-release-blocker
    issue-rating: 🦞 diamond lobster
    no-stale
    P0
    on Aug 18, 2026
  2. clawsweeper commented on Aug 18, 2026

    @clawsweeper

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 19, 2026, 3:38 PM ET / 19:38 UTC.

    Summary
    Keep this issue open: current main still pins the affected WinUIEx version, and an active collaborator PR directly owns the narrowly scoped repair with native Windows proof.

    Reproducibility: yes. source-reproducible: current main uses WinUIEx 2.9.0 to create the tray icon, and the linked PR documents a native Windows Explorer-restart run that verifies the repaired 2.9.3 path.

    Next step
    An active linked collaborator PR already owns the narrow fix and its real Windows proof, so a parallel repair PR would duplicate work.

    Review details

    Best possible solution:

    Land the focused upstream WinUIEx update in the linked repair after its normal PR review, preserving TrayController as the sole owner of the icon.

    Do we have a high-confidence way to reproduce the issue?

    Yes, source-reproducible: current main uses WinUIEx 2.9.0 to create the tray icon, and the linked PR documents a native Windows Explorer-restart run that verifies the repaired 2.9.3 path.

    Is this the best way to solve the issue?

    Yes. Updating the upstream tray implementation through the linked focused PR is narrower and safer than adding a parallel shell-recovery mechanism in OpenClaw.

    AGENTS.md: found and applied where relevant.

    Codex review notes: model internal, reasoning high; reviewed against b37307cbd51f.

    Label changes

    Label justifications:

    • P0: A running app becomes inaccessible through its primary notification-area entry point after a shell restart, with no in-product recovery path.
    • impact:ux-release-blocker: The report states that users can no longer open OpenClaw even though its process continues running.
    Evidence reviewed

    What I checked:

    Likely related people:

    • Barbara Kudiess: Introduced the current TrayController seam that constructs the WinUIEx icon. (role: tray ownership introducer; confidence: high; commits: 3a097bc85f7b; files: src/OpenClaw.Tray.WinUI/Services/TrayController.cs)
    • shanselman: Owns the linked active repair, and current dependency-line provenance is attributed to Scott Hanselman. (role: active repair author and recent dependency contributor; confidence: high; commits: 4206611f2b2e, f960a908da8b; files: src/OpenClaw.Tray.WinUI/OpenClaw.Tray.WinUI.csproj)
    How this review workflow works
    • 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.
  3. added
    status: 🚢 actively landing
    and removed
    status: 🚢 actively landing
    on Aug 18, 2026
  4. added
    clawsweeper:linked-pr-open
    clawsweeper:no-new-fix-pr
    and removed
    clawsweeper:queueable-fix
    clawsweeper:fix-shape-clear
    no-stale
    on Aug 19, 2026
  5. removed
    status: 🚢 actively landing
    clawsweeper:linked-pr-open
    on Aug 19, 2026
  6. locked as resolved and limited conversation to collaborators on Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0clawsweeper:no-new-fix-prclawsweeper:source-reproimpact:ux-release-blockerissue-rating: 🦞 diamond lobster

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions