-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timing-related page load issue that leaves UI in broken state (simulator driver init) #6081
Comments
I can't reproduce the problem with slow 4g setting in Edge. |
@abchatra please check
I just tried on a fresh Edge install on Mac (so with an empty cache) and reproduced it first time with Slow 4G enabled. It might take a few attempts, be sure to use a new incognito window each time. |
I was trying windows. Will try in Mac and see. |
Doubt it's a platform thing but maybe the different hardware will get you different timings so you trip over the issue. |
I tried Windows and found it harder to reproduce but it does happen for me reliably if you drop down to the (very slow!) "3G" mode. I suspect it's just about forcing the right sequence of events. |
Describe the bug
We've spotted what seems to be a load/initialisation timing issue that can leave MakeCode UI in a broken state.
To Reproduce
Steps to reproduce the behavior:
The error is here in the code.
If you need to try again to reproduce then close all incognito browser windows to start with no cache.
We originally saw this issue in micro:bit classroom in the embedded iframe scenario, where you get the same logged error but MakeCode recovers after showing this message:
In the non-iframe scenario above MakeCode does not recover and the user has to reload the page and hope they avoid the issue next time.
Expected behavior
MakeCode loads as normal.
Screenshots
micro:bit version (please complete the following information):
N/A
Desktop (please complete the following information):
CC @microbit-grace @microbit-robert
The text was updated successfully, but these errors were encountered: