aardappel / procrastitracker

a Windows time tracking application
http://strlen.com/procrastitracker/
510 stars 54 forks source link

There seems to be a bug about recording the away time #84

Closed InfinityShu closed 2 years ago

InfinityShu commented 2 years ago

image image This was my yesterday's record and I have no idea why I've got a record of 74-hour away time. image Although this makes it hard to check the overall proportion of my laptop usage, it's not a big problem and I'm just curious about why this happened. It did happen one time in the past, with a 46-hour away time record. Is it possible to prevent this from happening?Thank you for taking your time to read my request!

aardappel commented 2 years ago

What are the two "away" settings set to in advanced settings?

aardappel commented 2 years ago

Ok, just found a potential bug that may have caused this. If waking up from away time was done by multiple mouse button or wheel clicks before the mouse was moved, the time could have been counted multiple times.

Fixed in https://github.com/aardappel/procrastitracker/commit/d49e251484ffdec1b0fe0075feb184ee216783d0

Now the away will only register when the mouse moves, as was the intention before.

InfinityShu commented 2 years ago

Thank you! And, is it possible to delete that record?

aardappel commented 2 years ago

Look for "keyboard shortcuts" in https://strlen.com/procrastitracker/