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
macOS notification clicks do not route to the target message #3509
Describe the bug
On macOS, clicking an actionable notification (eg. new message in a chat) re-focuses Buzz but does not route the UI properly to the specific message. Buzz remains in the channel that was open before the click.
Steps to reproduce
Prompt an agent in channel X.
Switch to channel Y before generation completes.
Focus another macOS application.
Wait for the completion notification.
Click the notification body.
Expected behavior
Buzz should activate, open channel X, and navigate to the generated message.
Version and platform
Buzz version: 0.4.26
OS: macOS 27.0.0
Logs / additional context
No error is shown. The notification target is sent as Tauri extra metadata, but the macOS notification backend does not return that metadata with the click action.
Plan to take this. The reporter's diagnosis (macOS backend drops the extra metadata, so the click action can't carry the target) matches what I'm seeing in desktop/src/features/notifications/lib/desktop.ts — the plugin's onAction JS callback is Linux-proven, and on macOS we never get the target back into the router.
I'll extend the existing native-notification bridge (already used on Linux for exactly this) to carry the target through the same native-notification-activated event on macOS, keeping the window-focus path frontend-owned, with a regression test covering the click→route round-trip. PR to follow against main shortly.
Taking this one. The reporter's diagnosis is right: on macOS the Tauri notification plugin's JS-side onAction never delivers the extra metadata back, so the router never learns the click target.
The Linux path already solves exactly this with a backend wait_for_action that re-emits the opaque target over native-notification-activated; the frontend just focuses the window when it arrives. I'll extend that same bridge to macOS (target already travels as an opaque JSON value through the show_native_notification command), add a regression test that pins the click→target round-trip, and open a PR against main. ETA shortly.
Correction: I missed PR #3510 (#3510, by @Dhaiwat10) during the initial census; it already covers this scope — macOS native-notification bridge, target routing, Cargo changes, and a regression test. I'm standing down and will not open a duplicate PR. My earlier claim/intent comments on this issue should be disregarded.
Activity
iroiro147 commentedon Jul 31, 2026
Plan to take this. The reporter's diagnosis (macOS backend drops the
extrametadata, so the click action can't carry the target) matches what I'm seeing indesktop/src/features/notifications/lib/desktop.ts— the plugin'sonActionJS callback is Linux-proven, and on macOS we never get the target back into the router.I'll extend the existing native-notification bridge (already used on Linux for exactly this) to carry the target through the same
native-notification-activatedevent on macOS, keeping the window-focus path frontend-owned, with a regression test covering the click→route round-trip. PR to follow against main shortly.iroiro147 commentedon Jul 31, 2026
Taking this one. The reporter's diagnosis is right: on macOS the Tauri notification plugin's JS-side
onActionnever delivers theextrametadata back, so the router never learns the click target.The Linux path already solves exactly this with a backend
wait_for_actionthat re-emits the opaque target overnative-notification-activated; the frontend just focuses the window when it arrives. I'll extend that same bridge to macOS (target already travels as an opaque JSON value through theshow_native_notificationcommand), add a regression test that pins the click→target round-trip, and open a PR against main. ETA shortly.iroiro147 commentedon Jul 31, 2026
Correction: I missed PR #3510 (#3510, by @Dhaiwat10) during the initial census; it already covers this scope — macOS native-notification bridge, target routing, Cargo changes, and a regression test. I'm standing down and will not open a duplicate PR. My earlier claim/intent comments on this issue should be disregarded.
fix(desktop): route macOS notification clicks even when reveal hangs …
fix(desktop): force notification click navigation past same-href check
fix(desktop): route macOS notification clicks even when reveal hangs …
fix(desktop): force notification click navigation past same-href check
fix(desktop): sender names in notifications + macOS click-through rou…
fix(desktop): sender names in notifications + macOS click-through rou…
fix(desktop): sender names in notifications + macOS click-through rou…