You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I did found that the Marinara Chrome extension is sticking when mac goes to sleep mode. I am using this extension more than one month and it's never happen to me previously. This week I did examined it at first.
The timer goes as usual when I turn on timer brake countdown, but when mac goes to sleep mode, there is no any sound that says I need to start focusing. And I make my mac waked up and I see now that timer is stick on number that it had when mac got to sleep.
There is a video that I captured to show how it happens:
I didn't update my laptop and nothing is changed in my routine at all. The timer worked fine and always did let me know that the brake is finished till my mac sleeps, but this week something is happen and it sticks
The text was updated successfully, but these errors were encountered:
I started using this great extension recently and ran into the same problem. I conducted a test to find the root cause. A proposal is included in the last section. Hope that we could solve this. 👀
Test
Add log when the timer tick and expire.
Set the focus time to be 5 minutes (for testing purpose).
The computer slept at around 15:15, and woke up at around 15:21.
The tickInterval and expireTimeout was paused when the computer was asleep.
The tickInterval and expireTimeout was resumed when the computer woke up, but they were not aware of the paused period.
Proposal
Instead of using ticketInterval and expireTimeout, we can create a single setInterval that runs every second to compare checkpointStartAt to track the time. This way the timer can tick/expire correctly as soon as the script resumes from sleep mode.
Hello! I did found that the Marinara Chrome extension is sticking when mac goes to sleep mode. I am using this extension more than one month and it's never happen to me previously. This week I did examined it at first.
The timer goes as usual when I turn on timer brake countdown, but when mac goes to sleep mode, there is no any sound that says I need to start focusing. And I make my mac waked up and I see now that timer is stick on number that it had when mac got to sleep.
There is a video that I captured to show how it happens:
I didn't update my laptop and nothing is changed in my routine at all. The timer worked fine and always did let me know that the brake is finished till my mac sleeps, but this week something is happen and it sticks
The text was updated successfully, but these errors were encountered: