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
Part of #1306. The roadmap's Application and windows section lists this item (line 148 of docs/roadmap.md at f7fc2f5c) with no issue.
Reference: Shell_NotifyIcon; NSH's #988
Acceptance
An icon shows its image and menu, reports clicks and anchors a panel with Shell_NotifyIconGetRect; rasterizing a drawn icon whenever it changes remains
Current main now satisfies the requested Windows tray behavior. internal/platform/windows/tray.go uses Shell_NotifyIconW and Shell_NotifyIconGetRect, decodes primary/secondary clicks, reports the tray bounds for panel anchoring, recreates icons after TaskbarCreated, and rasterizes both PNG and drawn-view icons. Native tests cover drawn icon refresh, image-load refresh, alpha preservation, shell registration, click decoding, menu ownership, and tray cleanup. Closing this issue as completed.
Activity
houko commentedon Nov 23, 2026
Windows tray icon support and click/panel anchoring remain incomplete in the current backend. Leaving open for implementation and native tests.
houko commentedon Nov 23, 2026
Current main now satisfies the requested Windows tray behavior.
internal/platform/windows/tray.gousesShell_NotifyIconWandShell_NotifyIconGetRect, decodes primary/secondary clicks, reports the tray bounds for panel anchoring, recreates icons afterTaskbarCreated, and rasterizes both PNG and drawn-view icons. Native tests cover drawn icon refresh, image-load refresh, alpha preservation, shell registration, click decoding, menu ownership, and tray cleanup. Closing this issue as completed.