reece / freshbooks-issues

no code -- issues only for freshbooks.com users in order to improve transparency
0 stars 0 forks source link

chrome plugin creates two concurrent timers #28

Open reece opened 4 years ago

reece commented 4 years ago

Problem: When using the chrome timer plugin, I often end up with two timers running concurrently, as depicted below. When eventually stopping the timer and logging the time, I invariably get an error that occasionally results in the loss of the session.

Screenshot from 2020-02-24 07-45-23

I am unsure exactly how to reproduce this problem, but the screenshot scenarios was roughly this:

Similar situations occur roughly 1/4 of the times that I use the plugin.

reece commented 4 years ago

After submitting this issue, I clicked pause in the FB tab (not plugin). This caused the plugin timer to stop and disappear, with client, project, service and notes lost.

reece commented 4 years ago

One more thing, I do occasionally get image

This bug is easily reproduced if you open fb, then try various combinations of starting a timer with the plugin while on the fb tab or while in another tab. As far as I can tell, the main issue is that the popup that appears on the fb tab doesn't reflect the actual state of the plugin timer, so fouls up that state when you try to log or discard the time. That's a complete guess.