Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sleep and hibernation time doesn't count as a break (Windows 10) #540

Open
MANNAZ-E opened this issue Apr 15, 2024 · 1 comment
Open

Sleep and hibernation time doesn't count as a break (Windows 10) #540

MANNAZ-E opened this issue Apr 15, 2024 · 1 comment

Comments

@MANNAZ-E
Copy link

Describe the bug
When I leave my computer to take a break, I put the computer in standby.
When resuming the computer, Workrave doesn't register that I have had a break.
I am therefore prompted too soon about needing to take a break.
(So if I place the computer in standby after 45 minutes of work and take a long break with the computer in standby, Workrave will ask me to take another break after 5 min of work).

To Reproduce
1: Set the rest break time for 15 seconds (to make testing faster)
2: Put the computer into sleep or hibernation. Wait more than 15 seconds. You have now had a rest break.
3: Wake up the computer. The rest break was not registered and the work timer continues as before the break. You will therefore be prompted too soon about needing to take another break.

Expected behavior
When the computer resumes, Workrave notices that time has passed while the computer was in standby (more than the rest time interval) and registers a break, meaning that the work time timer is reset.

** Windows:

  • Windows 10
  • Workrave 1.10.52

Additional context
Outside of this, the program is brilliant and I love that you have built it. I use it for avoiding back pain from sitting down in too long stretches. Really hope this can be fixed, as I keep shutting off the program due to this bug.

@patch-work
Copy link

patch-work commented Apr 30, 2024

I confirm the problem on Fedora Linux 40, self-compiled workrave with default configuration.
##543

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants