zagortenay333 / cronomix

All-in-one timer, stopwatch, pomodoro, alarm, todo and time tracker gnome-shell extension
MIT License
570 stars 74 forks source link

Stopwatch paused when screen locked #235

Closed k98kurz closed 1 year ago

k98kurz commented 1 year ago

I had this running to time a genetic algorithm and stepped away from my computer for half an hour. When I returned, it was paused and read out just over 10 minutes. Is it not possible to continue timing something while the screen is locked? Is it not as simple as taking a timestamp when it starts and comparing to a new/current timestamp when updating the UI?

zagortenay333 commented 1 year ago

Yeah, the extension gets disabled when you lock the screen. I tried adding support for it but there was weird behaviour in gnome-shell or a bug that made me give up on it.

k98kurz commented 1 year ago

That is unfortunate. If it is not really possible to fix, then I suppose I'll just close the issue.