hovancik / stretchly

The break time reminder app
https://hovancik.net/stretchly
BSD 2-Clause "Simplified" License
4.51k stars 436 forks source link

[Bug]: I can skip the restricted mode #1464

Closed gestshb closed 1 month ago

gestshb commented 2 months ago

Version

Known issues

Existing issues

Advanced Preferences

What operating system are you using?

macOS

Operating System Version

MacOS ventura

Reproduction steps

I appreciate the strict mode in your app as it encourages me to take necessary breaks. However, I found a way to bypass this restriction by putting my iMac to sleep using the power button and then waking it up again. This allows me to terminate the break prematurely.

Expected Behavior

The strict mode feature in the app should enforce break periods without allowing users to bypass the restriction. Putting the iMac to sleep and waking it up again should not terminate the break prematurely. The app should maintain the break period regardless of the device's sleep status, ensuring that users take the necessary breaks as intended.

Actual Behavior

When using the strict mode feature in the app, I discovered a way to bypass the enforced break periods. By putting my iMac to sleep using the power button and then waking it up again, the app prematurely terminates the break. This allows me to resume work without completing the required break period.

Relevant log output

No response

Preferences

No response

Additional information

No response

Code of Conduct

hovancik commented 1 month ago

Hi, by default, the breaks get reset when user closes the lid. You can change that behavior with advanced preferences, specifically with Pause breaks on Suspend/Lock. It is not that reliable, though.

gestshb commented 1 month ago

Thank you, that was really helpful!

hovancik commented 1 month ago

great, I will close this, then :)