Closed stilldg closed 3 years ago
Hi @stilldg ,
your breaks get reset because of idle time:
[2021-07-31 07:30:56.220] [info] Stretchly: starting Mini Break
[2021-07-31 07:35:56.242] [info] Stretchly: finishing Mini Break
[2021-07-31 07:35:56.304] [info] Stretchly: pausing breaks because of idle time
[2021-07-31 07:36:02.313] [info] Stretchly: resuming breaks after idle time
You can disable this behavior in Preferences: Monitor system idle time
or change the time after which breaks are reset in idle time: https://github.com/hovancik/stretchly#natural-breaks-inactivity-time-
Hi,
I assumed that it would pause on the current break, and as soon as it detects some action then it resumes in place. I think that this would make a lot more sense, since usually I leave my computer for longer than the break time, so would you ever consider adding an option for this in the future?
Thanks.
Hi, what do you mean by "it"? Idle time detection? Or something else?
To help with your issue, I think you could set "naturalBreaksInactivityResetTime": 300000,
to let's say 600000
which is 10 minutes and idle time would reset breaks only after 10 minutes of idle time.
By "it" I was indeed referring to the idle time detection. So for example, if I am away from my computer for say 5 minutes, I would like to pause the current timer in place, and then when I return to my computer it would start the timer again right where it left off, since otherwise I would rarely reach the long breaks as sometimes I am away from my computer for some time, so it would be a nice feature to have.
I understand this isn't may not be priority/desire for you to implement, and if that is the case then I would be willing to create a fork and attempt to add this, and then if it works well you can consider merging it. There's also some issues I have noticed in KDE Plasma where I had to add the following to my window settings: https://i.imgur.com/1INJb68.png or else it would show white background with barely visible text. None of the themes work but that is how I fixed the issue to get the text to display black on a white background. Here's some examples:
Before: https://i.imgur.com/SY7vl8E.png After: https://i.imgur.com/1vK4Epp.png
I have to use the Snow white theme to get the text to display with this method, but I would like to see if there's anything I can do to fix this as I prefer dark themes.
By the way, thank you for creating this. I will be donating soon as this project has done a lot for my productivity :) -- let me know what you think about my proposed idea + fixes.
Hey, sorry for late reply, life gets in a way sometimes.
Some time ago, I tried to implement what you describe: when there is idle time, remember where you left of and continue there, but I had some issues. Don't remember what exactly. Stretchly is complicated. I think there are some issue where people asked for this functionality. You can try do it yourself :)
With white texts, there was issue in 1.8, that was fixed in 1.8.1, but not sure what version you are running. There are still some issues where people get empty break windows, but I did not manage to reproduce it.
Version
Known issues
Existing issues
What operating system are you using?
Linux
Operating System Version
Linux box 5.10.53-1-MANJARO #1 SMP PREEMPT Mon Jul 26 07:18:28 UTC 2021 x86_64 GNU/Linux
Reproduction steps
Expected Behavior
Long breaks to start after x mini breaks
Actual Behavior
Long breaks never start unless manually skipping through them
Relevant log output
Preferences
Additional information
No response
Code of Conduct