From 4044e05dfdd6445a2baabea2c35e34b49c1d37df Mon Sep 17 00:00:00 2001 From: Will Norris Date: Mon, 16 Feb 2026 11:41:53 -0800 Subject: [PATCH] client/systray: set consistent ID for StatusNotifierItem Fixes #18736 Change-Id: Ia101a4a3005adb9118051b3416f5a64a4a45987d Signed-off-by: Will Norris --- client/systray/systray.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/systray/systray.go b/client/systray/systray.go index 8c30dbf05..7018f0f3b 100644 --- a/client/systray/systray.go +++ b/client/systray/systray.go @@ -171,6 +171,11 @@ func (menu *Menu) onReady() { See https://tailscale.com/kb/1597/linux-systray for more information.`) } setAppIcon(disconnected) + + // set initial title, which is used by the systray package as the ID of the StatusNotifierItem. + // This value will get overwritten later as the client status changes. + systray.SetTitle("tailscale") + menu.rebuild() menu.mu.Lock()