timetagger icon indicating copy to clipboard operation
timetagger copied to clipboard

Timetagger doesn't synchronize in the background

Open Scotsguy opened this issue 7 months ago • 1 comments

Or: Using Timetagger as a PWA makes you lose records if you're too quick.

Steps to reproduce:

  • Open Timetagger as a PWA
  • Create a record
  • Close the PWA before the next sync happens (within a few seconds)
  • Wait a bit
  • Force-kill/Swipe away the PWA *
  • Open the PWA
  • Observe that the record is gone (*Why am I killing the PWA? Due to a long-standing bug in Firefox Android, PWAs will sometimes fail to start the renderer process when you open them, resulting in a blank screen. This persists until you kill the PWA, open the main Firefox app, and then reopen the PWA.) Alternatively:
  • Open Timetagger in a desktop browser
  • Create a record
  • Close the tab before the next sync happens
  • Reopen Timetagger
  • Observe that the record is gone

Workaround: Each time you add a record, wait until Timetagger has synchronized with the server. This is rather annoying to do every single time, though.

Ideal solution: I'd like for Timetagger to finish synchronizing records in the background, or at the very least remember records until the next time you open the app, so that it can synchronize them in the foreground.

Scotsguy avatar Dec 20 '23 19:12 Scotsguy