hicknhack-software / redmine_hourglass

New Redmine plugin to enhance the time tracking abilities, reports and REST-API.
Other
78 stars 31 forks source link

Tab sleeps prevents timer from running #152

Closed ckieschnick closed 1 year ago

ckieschnick commented 3 years ago

Leaving the page open but in background (i.e. inactive tab, inactive browser window) will stop the timer for increasing the time of the current time measurement. A simple fix would be to store the start time and with each ui update calculate the difference (this may lead to funny behavior on changing the clock time). Maybe there is some other way to be notified by the browser when the tab is reactivated so that the timer may continue (or fetch the "real" time from the server).

arBmind commented 1 year ago

Was fixed a long time ago…