ProjectSidewalk / SidewalkWebpage

Project Sidewalk web page
http://projectsidewalk.org
MIT License
84 stars 24 forks source link

Google Pano Goes Black When Zooming in On Validation Page and Audit Page #2468

Closed uditpatwal closed 3 years ago

uditpatwal commented 3 years ago

Problem

When you zoom in/out (using ctr +/-) on the audit page and the validation page, the Google pano turns black. If you move the pano, then the pano comes back. @misaugstad noticed this too on the audit page.

black-screen-on-validate-page

jonfroehlich commented 3 years ago

I've seen this many times in the past... and sometimes I just need to wait an extra beat or two to let GSV download the pano. Other times, it never loads until I move (during auditing) or skip for validation

On Tue, Feb 23, 2021 at 4:15 PM Udit Patwal notifications@github.com wrote:

Problem

When you zoom in/out (using ctr +/-) on the audit page and the validation page, the Google pano turns black. If you move the pano, then the pano comes back. @misaugstad https://github.com/misaugstad noticed this too on the audit page.

[image: black-screen-on-validate-page] https://user-images.githubusercontent.com/34140897/108925781-391f4300-760b-11eb-985d-09ef1eabfead.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ProjectSidewalk/SidewalkWebpage/issues/2468, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAML55PMZYX4OJ546PZVRQ3TARAJJANCNFSM4YDOUTKA .

-- Jon E. Froehlich https://jonfroehlich.github.io/ (he/him https://www.mypronouns.org/he-him) | @jonfroehlich https://twitter.com/jonfroehlich Associate Professor, Allen School of Computer Science & Engineering Core Faculty, Urban Design and Planning, College of Built Environments Director, Makeability Lab https://makeabilitylab.cs.washington.edu/ | Associate Director, CREATE http://create.uw.edu/ University of Washington Help make sidewalks more accessible: http://projectsidewalk.io

misaugstad commented 3 years ago

In my recent experience at least, it always seems to be the case that if I pan at all, the image returns. I'm sure we could listen for a page resize event and fire off some other event when that ends that would get the pano to show up again automatically.

mcdoerr commented 3 years ago

I managed to repro this on Firefox, but not on Chrome (on both Windows and MacOs). I think it might be a browser specific issue. I'll look into this some more.

misaugstad commented 3 years ago

I just tested on Chrome on Linux and was able to reproduce for the audit page, but not the validation page. With Firefox on Linux, I was able to reproduce in both places. Did you check with the audit page or just validation?

mcdoerr commented 3 years ago

Ah yeah I just tested on the audit page and I was able to repro there on Chrome!

jonfroehlich commented 1 year ago

We are still receiving reports about black screens. Thoughts @misaugstad?

Also occasionally get a black screen, sometimes disappears and sometimes need to click forward. This also happens with Chrome.

image
misaugstad commented 1 year ago

It's really hard to say... I know that this issue has been around forever, and in GSV itself as well. Whenever we try to search around for answers, all we can really find are suggestions to clear cookies or browser cache; it's really hard to find anything that would be useful to someone developing a website that uses GSV.

The best thing that we can probably do right now is to remember to pause whenever we see this screen, and try a few different interactions to see which one(s) resolve the issue. This can point us in a direction of some hacky way to solve the issue.

We should also check for console errors, though I don't believe we had seen console errors from this in the past? If there are errors, that's great, because it would make it a lot easier to figure out when the problem is occurring.