Closed sanasol closed 3 years ago
Yes, Saving Project
sounds like it would trigger the on-save event that WakaTime listens for:
42661 2021-08-25 13:18:42,176 [1902703] INFO - rationStore.ComponentStoreImpl - Saving Project(name=myproject, containerState=COMPONENT_CREATED, componentStore=/Users/user/code/lpt-v1)GitToolBoxBlamePersistence took 14 ms
I'll install that plugin and see if we can ignore these events.
I changed autofetch from 15 minutes to 30 minutes and it looks good now, will continue to check. Probably long enough so wakatime dont track it.
I was able to reproduce it after installing GitToolBox. That extension periodically annotates files with git blame hints, which triggers IntelliJ's documentChanged
event tricking WakaTime into thinking the file was edited.
It's fixed with 18ad7d171bb95f30a52c4e2034d706ddc4b674f4 and released in v13.0.3, so updating your WakaTime extension will fix it.
Noticed it about ~2 weeks ago(since 13 august). IDLE time tracked like work with random opened file.
Time tracked while phpstorm not focused even. Also probably problem is getting worse when opened multiple projects at once.
Looks like it in worst case:![image](https://user-images.githubusercontent.com/1709666/130775482-f6e02320-9502-42ed-a24d-9855fd295239.png)
Here is log with wakatime debug enabled sometimes. idea.log
Checked idea.log and I see that possible problem is GitToolBox plugin, WakaTime triggered every time autofetch or blame executed. But it wasn't problem before. So probably should be some fix.