timschneeb / GalaxyBudsClient

Unofficial Galaxy Buds Manager for Windows, macOS, and Linux
GNU General Public License v3.0
3.27k stars 181 forks source link

[BUG] Linux tray icon disappears after Lock Unlock #478

Open sidevesh opened 3 months ago

sidevesh commented 3 months ago

Describe the bug
The tray icon shows up normally after the app is started, but then after that if I Lock and Unlock the system then the tray icon disappears, the app is still running in background and I can see it in the System Monitor, launching the app again at this point does not bring back the tray icon either since the app is already running, but killing the app and opening it again brings the tray icon back.

To Reproduce
Steps to reproduce the behavior: -- Open the app, see the tray icon is there -- Lock and Unlock the system -- See tray icon is now not appearing

Expected behavior
-- Tray icon should remain after Lock Unlock

Desktop (please complete the following information):

sidevesh commented 3 months ago

@ThePBone Avalonia uses KDE StatusNotifierItem, I found a similar issue in another app using the same thing and this was their solution https://github.com/zulip/zulip-desktop/pull/922, does this seem relevant and can something like this be implemented here ?

sidevesh commented 1 month ago

This does not seem to happen I have noticed when using the flatpak version of the app, the flatpak version of the app seems to have another issue though where it crashes if you click on the tray icon a few times, often the second time itself.