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
credit me idle time #192
Comments
Added with 395c0d0. If the idle time is less than the break time, it credits you the idle time. Otherwise, it schedules a new break. |
Fixed and released in Safe Eyes 2.0.0 |
so i have tested this further, and i'm not sure it's fixed. here's an example debug log:
there between at 16:57 and 17:04, i was away from the computer, completely idle. safeeyes noticed this and correctly suspended. however, when I came back it did not credit me the idle time - it said "waiting 14 minutes", instead of 15 minutes as it should have... |
i would also mention it is not clear what the units are in the smart pause settings... minutes? seconds? i would guess it is minutes because of 395c0d0#diff-ddaa06e551b01d46e15a6602f29bf48fR87 = but why minutes? why not seconds? it would seem better to have that more precise than less... |
@anarcat thanks for pointing out the problem I will add the unit. Nothing prevents from using seconds. I will add that too. |
should i file a new issue regarding the other problem? |
not necessary. I'll just implement it :-) |
Added with 8149f33 |
okay, so that adds second precision in the smart pause timer. but it still doesn't credit the user as I originally described. in other words, from what i can see in the patches (haven't tested post 2.0 code just yet), #192 (comment) still applies... |
It does. However, the maximum credit you can get is the break interval (by default 15 mins). I mean if you are idle for more than the break interval (say 1 hour), Safe Eyes will schedule the next break after 15 mins/whatever you have defined instead of postponing for 1 hour. |
so my argument is that this is backwards. if i need to take (say) 5 minute breaks every hour, being idle for 5 minutes should count as a 5 minute break. it should not just delay the break 5 minutes in the future, but actually give me a full 1h break before the next break. in other words, in your example:
see what I mean? |
Got it. |
the current situation: just suspend. the current behavior is correct in that regard. so the "smart pause" case is:
that is correctly handled now, from what I understand. the case that is not covered is, as I mentioned above:
so it's a threshold: when you are "idle", you suspend time tracking, but if you are idle enough, you count it as a break. |
Got it. What you ask is if you are idle for 15 seconds or more, you need to schedule a new break. In a nutshell, your requirement is based on break duration but what I have implemented is based on the time between two breaks. Is that what you mean? |
yes, i believe it is. :) |
Hi, WDYT? |
makes sense, i'll test the latest code and will let you know! |
Currently translated at 100.0% (91 of 91 strings) Translation: Safe Eyes/Translations Translate-URL: https://hosted.weblate.org/projects/safe-eyes/translations/tr/
instead of suspending time tracking, safeeyes should credit me time that i am idle at the computer.
example: i'm due for a pause, safeeyes tells me so but postpone it. a few minutes later, i actually step away from the computer for 10 minutes. safeeyes consider that "idle time" so it stops tracking time. when i come back, safeeyes wakes up and sends me a warning after 5 minutes because I postponed the last break.
it should have counted my time away and if it was long enough to count as a break, count it as such.
The text was updated successfully, but these errors were encountered: