Repository navigation
Description
Summary
When the OpenClaw Windows Node window is closed, the application correctly remains running in the system tray. However, selecting OpenClaw from the Windows Start menu while that tray process is still running produces no visible result.
The Start-menu launch appears to detect the existing single-instance process and exit, but it does not ask the running instance to show or foreground its window. To the user, the Start menu simply had no effect.
Steps to reproduce
- Launch the OpenClaw Windows Node app.
- Close its main window, leaving the app running in the system tray.
- Open the Windows Start menu and select OpenClaw again.
- Observe that the existing window is not shown and no feedback is displayed.
Actual behavior
Nothing visible happens. The application remains hidden in the system tray, leaving the user wondering whether Start-menu activation failed or the application is broken.
Expected behavior
Starting OpenClaw from the Start menu while an instance is already running should activate that existing instance and restore/show its main window in the foreground. It should not launch a duplicate background process.
UX impact
This violates the normal Windows expectation that selecting an application from Start opens its window. The silent no-op is confusing and encourages repeated launch attempts or unnecessary troubleshooting.
Acceptance criteria
- Start-menu activation is forwarded to the existing tray instance.
- The main window is restored, shown, and brought to the foreground.
- No duplicate long-running application instance is created.
- The behavior works when the existing window was closed to the tray or minimized/hidden.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Aug 25, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 28, 2026, 2:28 AM ET / 06:28 UTC.
Summary
Current main still exits a normal second Start-menu launch without notifying the tray instance, while valid deep links alone are forwarded. The source-proven tray bug remains necessary work, and its active-landing status indicates it is already under maintainer ownership.
Reproducibility: yes. from source. A normal no-argument secondary launch resolves no candidate, skips pipe forwarding, and exits while the original tray process remains hidden.
Next step
The issue is source-proven but marked active landing and no-new-fix-pr, so it should remain with the current maintainer-owned implementation path rather than receive automated repair dispatch.
Review details
Best possible solution:
Add a narrow normal-secondary-launch activation in ActivationRouter that routes to the existing OpenHub behavior, then cover it with activation tests and an isolated Windows tray proof.
Do we have a high-confidence way to reproduce the issue?
Yes, from source. A normal no-argument secondary launch resolves no candidate, skips pipe forwarding, and exits while the original tray process remains hidden.
Is this the best way to solve the issue?
Yes. Reusing the existing ActivationRouter and WindowManager owners is narrower and safer than adding a parallel single-instance or window-management path.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 1955282412bd.
Label changes
Label justifications:
P2: The normal desktop launch flow is confusing and broken, but the report does not establish an unavailable core runtime or data loss.impact:ux-friction: Users receive no visible response from a normal Start-menu action while the app remains recoverable through its tray surface.Evidence reviewed
What I checked:
src/OpenClaw.Tray.WinUI/App.xaml.cs:571, 1955282412bd)src/OpenClaw.Tray.WinUI/Services/ActivationRouter.cs:48, 1955282412bd)src/OpenClaw.Tray.WinUI/Services/WindowManager.cs:241, 1955282412bd)docs/ARCHITECTURE.md:77, 1955282412bd)src/OpenClaw.Tray.WinUI/App.xaml.cs:571, 17a8b0363a82)Likely related people:
src/OpenClaw.Tray.WinUI/Services/ActivationRouter.cs,src/OpenClaw.Tray.WinUI/Services/WindowManager.cs)src/OpenClaw.Tray.WinUI/App.xaml.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.