scratchfoundation / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
4.47k stars 3.59k forks source link

Browser went black during WeDo connecting step #3401

Open ericrosenbaum opened 6 years ago

ericrosenbaum commented 6 years ago

Expected Behavior

The entire browser should not suddenly turn black for several seconds.

Actual Behavior

While connecting to a WeDo on Windows Chrome, the connecting step appeared to freeze for a few seconds (at that point the WeDo's LED had turned blue, indicating that it had connected), and the animation showing an arrow bouncing above the WeDo button was missing. Then the entire browser window went black for 5-10 seconds… and then everything went back to normal at the connected step and it was fine.

Steps to Reproduce

???

ericrosenbaum commented 6 years ago

I saw this same phenomenon again: while connecting to a WeDo, the connecting step froze for a few seconds (at which point the WeDo's LED turned blue), and then the entire browser window went black (i.e. no part of chrome is visible at all- only windows UI) for at least 30 seconds. Then the tab bar of chrome re-appeared, but the window remained black until I dragged the window a little bit. The Scratch UI re-appeared, but the stage was blank (a gray color). A few seconds later a white square with a frowny face appeared, and the console showed a warning:

WebGL: CONTEXT_LOST_WEBGL: losecontext: context lost

BryceLTaylor commented 5 years ago

I'm able to reproduce this only on the big Dell laptop we have. The smaller Dell and the Surface don't do this. The only steps seem to be adding the wedo 2 extension and trying to connect. I did this on an otherwise blank project. The computer was being kind of slow when it happened.

System specs: Dell Latitude e5570 Intel core i5-6300U CPU @2.40Ghz 4 GB of ram 64 bit

Windows 10 pro v1803