wakatime / sublime-wakatime

Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/sublime-text
BSD 3-Clause "New" or "Revised" License
526 stars 45 forks source link

Constant alert due to inactivity #2

Closed tadywankenobi closed 11 years ago

tadywankenobi commented 11 years ago

Hi Alan,

Just to log this here so you have it. If I leave ST open and go do something else for a few minutes, when I come back to ST, I get an alert that looks like the following:

pastedgraphic-1

It always says "1 days" or "2 days", even if it's only been 5 minutes or so. I also can't cancel the alert. When I click "Cancel", it just reappears. I thought it might be that it appeared for every file in the project, but I've clicked both ignore and "Yes, log this time" for a long time and it's deffo more than the number of files in the project. The only way I can get rid of the alert is to Force Quit ST.

The feature itself is great, because if I go and work in PhotoShop or something, the time can still be logged to the project, so that bit is awesome.

UPDATE: I removed and re-installed the package and it hasn't appeared since. I'll keep an eye on it! The only thing that's changed was setting "git init" on the folder after the project started tracking time. Not sure if that's anything to do with it, but worth mentioning I suppose!

T

tadywankenobi commented 11 years ago

I can confirm now that this is still occurring. It does seem to be every file in the system. Ironically, pressing "Yes, log this time" doesn't actually log the time.

Hope this helps.

alanhamlett commented 11 years ago

Fixed this bug with https://github.com/wakatime/sublime-wakatime/commit/64f95e28f06ebd234fc8d2889be74d2ace694b0a.

If you're using Sublime Package Control, restarting Sublime should upgrade WakaTime and fix the problem.