Kitware / UPennContrast

UPenn ?
https://upenn-contrast.netlify.com/
Apache License 2.0
8 stars 6 forks source link

Chrome tab seems to lose layers when left open #701

Open arjunrajlab opened 4 months ago

arjunrajlab commented 4 months ago

I have found that if you open a tab on nimbusimage.org and then move to another tab of nimbusimage.org, then go back to it after some time, it seems to "lose the layers". It displayed correctly initially, but then looks like this:

image

After a page refresh, it is fine:

image

Here is another example of a "lost layer":

image

If I refresh page, it is fine:

image

Then I go back to the first tab, and now the annotations are not showing:

image

Update: If I just have a single tab open, I don't see this behavior. It seems to happen if I open another tab on nimbusimage.org, even if that second tab is on a completely different dataset.

arjunrajlab commented 4 months ago

Update: in talking with @bruyeret seems that we are running out of WebGL contexts. That is probably a fundamental limitation, but perhaps we can show a sign to the user if this happens, saying "Display resources exhausted, refresh page. To avoid in future, trying working in just a single tab at a time."