DeedleFake / trayscale

An unofficial GUI wrapper around the Tailscale CLI client.
MIT License
510 stars 18 forks source link

River + Waybar systray icon #123

Open crawfordlong opened 5 months ago

crawfordlong commented 5 months ago

I skimmed the other systray icon issues and they didn't seem to describe the same behavior I am experiencing.

Environment:

River window manager Waybar with systray module NixOS on ARM (M2 Macbook Air, specifically)

Expected behavior

Launch trayscale with the auto-hide option, and the icon displays in the systray. Specifically, I am using riverctl spawn 'trayscale --hide-window' (equivalent to sway-exec I believe?).

Actual behavior

No icon. Note that other tray icons are working fine.

Here's the interesting thing though: if I launch it without autohide and go into preferences, "Show tray icon" is checked (active) with no icon appearing, but if I toggle that preference off then on, the icon appears.

Please let me know if I can provide logs or any other troubleshooting information.

Jacalz commented 5 months ago

The support for showing up in the system tray is provided by the systray that we (although I usually spend my time in other areas of our code) maintain as part of Fyne. It may or may not be an issue related to this project (might also be a bug in Waybar, I suppose). You might be able to test our systray project and see if the same issue appears there.