Splode / pomotroid

:tomato: Simple and visually-pleasing Pomodoro timer
https://splode.github.io/pomotroid/
MIT License
4.36k stars 369 forks source link

Minimize to tray causing duplicate tray icons #127

Closed johnjacobkenny closed 3 years ago

johnjacobkenny commented 4 years ago

I was toggling the option Minimize to Tray on and off and now I have a few icons in the tray. Only one of the icons interacts with the app. When I close the app, all tray icons go away.

Technically, I think that when Minimize to Tray is unchecked, the tray icon is not going away. I'm on Linux and using Gnome.

image

Splode commented 4 years ago

@johnjacobkenny Is this happening all the time, or only in development? It happens in development due to hot-reloading. When the application reloads, it creates a new tray icon. The previous icon doesn't get cleared until the overall process is killed.

If it's happening during normal operation, then it's unexpected behavior.