Splode / pomotroid

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

[Bug] Don't open a new instance each time #139

Open adch99 opened 3 years ago

adch99 commented 3 years ago

Context: Version: 0.12.0 I use Pomotroid on Windows 10. I keep the icon pinned on my taskbar. I have the minimize to system tray and minimize to tray on close enabled.

Action: I open Pomotroid, set a timer, then close the application. After that, instead of going through the system tray icon, I click on the taskbar icon (which is equivalent to a desktop icon). This is much more accessible and convenient to use for me as the system tray icon is usually hidden.

Expected Behaviour: Pomotroid opens the minimized instance and doesn't create a new instance.

Actual Behaviour: Pomotroid opens an altogether new instance. If I try to close this instance, I now have two minimized instances in my system tray. And there is no way to close any of them apart from ending the process with the Task Manager.

I believe the Pomodoro technique is based upon doing one thing at a time, so having multiple instances running would go against this principle. If multiple instances are a feature here for some reason, then I'd request you to add at least a right-click menu to close the instance from the system tray. I'll have to get used to reopening the instance from the system tray then.