You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add real background/tray mode (don't kill agent sessions on window close) #2412
Closing the Buzz Desktop main window (the X button) terminates buzz-desktop.exe
and all of its child buzz-acp.exe agent-session processes immediately.
Minimizing works fine and keeps everything alive, but there's no tray icon /
"minimize to tray" registration, so closing the window is the only way to
"get it out of the way" -- and it kills every running agent session.
Steps to reproduce
Have one or more agent sessions active in Buzz Desktop.
Close the main window with the X button (not minimize).
Observe: buzz-desktop.exe and all buzz-acp.exe child processes exit;
agent sessions stop.
Expected
A background/tray mode (similar to Tailscale, OneDrive, etc.) so closing the
window doesn't kill in-progress agent work -- e.g. a system tray icon with the
window continuing to run minimized/hidden until the user explicitly quits.
Environment
Windows 11
Confirmed via Task Manager: no tray icon registered for buzz-desktop;
buzz-acp.exe processes are direct children of buzz-desktop.exe and exit
when the parent window is closed.
Confirming this on macOS 15 (Darwin 25.5.0), Buzz Desktop, Apple Silicon — so it isn't Windows-specific. Same behavior, same cause, and I have unified-log evidence for the exact sequence.
A user clicked the red close button while several agent sessions were running. The app terminated ~3.3 s later, taking every session with it. From log show --predicate 'processIdentifier == 70488' (buzz-desktop):
windowShouldClose: prevented close — the Tauri window (TaoWindow) does intercept the AppKit close, so the hook is already there. It just proceeds to tear down the whole process instead of hiding the window. The interception point needed to fix this exists today.
The exit is clean — atexit handlers ran, window state was persisted. This is a deliberate exit(), not a crash. No .ips crash report is generated, which is also why it looks to the user like the app "closed itself for no reason."
Filtering the full hour before the exit for the same event, there was exactly one trackMouse / windowShouldClose pair, and nominiaturize event — so the close path is unambiguously what fired.
The ergonomics angle, which I think raises the severity: on macOS the red close button sits ~20 px from the yellow minimize button. As @abduosmanaj notes, minimize keeps everything alive and close destroys everything — with no dialog, no undo, and no crash report to explain it afterwards. In our case the user was aiming for minimize. A 20-pixel miss silently killed in-flight agent work.
So there are really two fixes, and the cheap one is worth doing even before the tray work:
Short term: when one or more agent sessions are active, intercept the close (the prevented close hook above already fires) and show a confirmation — "N agent sessions are running. Quit anyway?" Most apps with work in progress do this, and it turns a destructive misclick into a recoverable one.
Long term: the real background/tray mode this issue asks for.
Activity
mgonzalezdidesa commentedon Jul 24, 2026
Confirming this on macOS 15 (Darwin 25.5.0), Buzz Desktop, Apple Silicon — so it isn't Windows-specific. Same behavior, same cause, and I have unified-log evidence for the exact sequence.
A user clicked the red close button while several agent sessions were running. The app terminated ~3.3 s later, taking every session with it. From
log show --predicate 'processIdentifier == 70488'(buzz-desktop):Two things worth noting in that trace:
windowShouldClose: prevented close— the Tauri window (TaoWindow) does intercept the AppKit close, so the hook is already there. It just proceeds to tear down the whole process instead of hiding the window. The interception point needed to fix this exists today.atexithandlers ran, window state was persisted. This is a deliberateexit(), not a crash. No.ipscrash report is generated, which is also why it looks to the user like the app "closed itself for no reason."Filtering the full hour before the exit for the same event, there was exactly one
trackMouse/windowShouldClosepair, and nominiaturizeevent — so the close path is unambiguously what fired.The ergonomics angle, which I think raises the severity: on macOS the red close button sits ~20 px from the yellow minimize button. As @abduosmanaj notes, minimize keeps everything alive and close destroys everything — with no dialog, no undo, and no crash report to explain it afterwards. In our case the user was aiming for minimize. A 20-pixel miss silently killed in-flight agent work.
So there are really two fixes, and the cheap one is worth doing even before the tray work:
prevented closehook above already fires) and show a confirmation — "N agent sessions are running. Quit anyway?" Most apps with work in progress do this, and it turns a destructive misclick into a recoverable one.Happy to test a patch on macOS if that's useful.
feat(desktop): keep Buzz running in the Windows tray on window close
nikeruga commentedon Sep 7, 2026
기능 요청: Windows 시스템 트레이 상주와 백그라운드 알림
Windows에서 Buzz를 업무용 메신저처럼 사용할 수 있도록 다음 동작을 요청합니다.
검증 시나리오: X로 숨기기 → 새 멘션 알림 수신 → 알림 클릭으로 대화 열기 → 재실행 후 설정 유지 → Quit으로 실제 종료.
트레이 제안 #6893과 알림 관련 #2445, #4660, #7275, #6876을 함께 검토해 주시면 좋겠습니다. 트레이 상주와 알림 권한 처리는 별개이므로 두 기능 모두 정상이어야 위 흐름이 완성됩니다.
중복 이슈 대신 기존 요청에 필요한 동작을 추가합니다. 감사합니다.