You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like if I set it to shoot lots of images on an Android phone and switch apps, it keeps going for some time and then stops after 2-3 minutes or so. I suspect Chrome thinks the web app is inactive and eventually discards it to save resources, even though it's still doing an important long-running task.
I'm not sure what's the correct solution to prevent this - screen lock API (even though I don't care about screen being on)? Something else?
It may indeed be tab discarding. In a surprisingly potentially related bug, the resolution (not documented on the bug thread) was to keep something with pending contenteditable edits open, which apparently serves as a way to prevent tabs from being discarded. This is not a very intuitive solution obviously, but for testing purposes, could you try if this addresses the symptom?
Oof. Yeah I could try that before next shooting session, but I hope there will be a better way 😅 Thanks, I'll subscribe to the bug. (UPD ah it was closed as wontfix, so probably not helpful; it was also about beforeunload which I don't use here anyway)
Looks like if I set it to shoot lots of images on an Android phone and switch apps, it keeps going for some time and then stops after 2-3 minutes or so. I suspect Chrome thinks the web app is inactive and eventually discards it to save resources, even though it's still doing an important long-running task.
I'm not sure what's the correct solution to prevent this - screen lock API (even though I don't care about screen being on)? Something else?
@tomayac is this something you could advise on?
The text was updated successfully, but these errors were encountered: