microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
484 stars 210 forks source link

Blank Pages and loosing while working on skillmaps (logged in before) #4368

Open bir-thg opened 3 years ago

bir-thg commented 3 years ago

Hello, there! All my pupils are logged into https://arcade.makecode.com with their teams-account. After that they start working on their skillmaps (game maker guide especially).

Sometimes a problem with blank pages occurs mostly with Chrome, rarely with Firefox, after they either open their skillmap or try to proceed to the next stage. Some of the students cannot use Chrome for the skillmaps anymore, because even if they delete the cache and all cookies (whole browser-data), then the problem is not fixed. CTRL-F5 will only work for some of them. Firefox handles the CTRL-F5 as a workaround more successful than Chrome does.

One did reinstall Chrome at home. After that it worked again. But this we cannot do at school all the time. Maybe the "command" https://arcade.makecode.com/#reload, which I discovered today, will help in future as a workaround.

I guess, may the blank pages and lost progress (even if it said, it was saved to the cloud) do have the same reason. I could reproduce that lost progress only one time (at home with Chrome) and not anymore.

But in my opinion it could not have something to do with proxies and caches, because at home they do not use proxies (except these of microsoft and their providers here). You will know better than me.

I was asked to open a seperate Bug-Report for this issue (it was also mentioned in the closed issue #4366).

Hopefully you can reproduce and you can do something about it. I was only able one time (also I lost progress and I also had sometimes blank pages). But after I did the skillmap again, I did not have the same behaviour again. So I cannot provide screenshots.

At the moment I think, it could have something to do with the translation-feature of Chrome. If someone i.e. klicks "translate from english to german" and then klicks on the trophy of the skillmap, there will be definitevely a blank page. But if there is no translation active, it will show the reward-dialog. If otherwise the reward-dialog is already displayed, it can be translated with the google-translate-plugin for Chrome. But this is only the case for the trophy-symbol and will not occur at the beginning of the skillmap or during proceeding to the next stage, I guess.

Thanks in advance Bernd

eanders-ms commented 3 years ago

Hi @bir-thg, When this happens, do you see any errors in the browser's debug console? (press F12 to open it). I'd also be interested to know if you see any failed requests on the debugger's network tab. Please let me know if you'd like assistance getting this info from the browser and I'll send more detailed instructions. Thank you.

bir-thg commented 3 years ago

Hi, @eanders-ms and all other supporters! Thank you for your support and your patience - I had to try to reproduce the empty pages, which was not so easy. Now I reproduced the experience of my pupils with the tilemap https://arcade.makecode.com/--skillmap#space (also other skillmaps will have the same behaviour).

Prerequisites are: Chrome as browser, signed in with teams-account, google-translate-tool ist on (English->German), one of the Tiles are klicked to enter one Level. I klicked the first one. The Log shows 7 errors, which i put into a logfile (attached). The errors are mostly 404-errors and one DOM-error.

The network-section in the development-console shows no obvious errors to me (also provided as an attachment as a .har.zip-file and as a screenshot): image

arcade.makecode.com-1637909479872.log

arcade.makecode.com.har.zip

Thanks in advance - hopefully you will find something. The error with unsaved or lost progress I could not reproduce again. I guess it has also something to do with the things described before (blank pages).

Anyways - pupils with moblile phones are also using arcade.makecode on their devices. Sometimes they cannot sign in, because the fontsize is to big, so the full dialog is not displayed well (responsive it is, but not really good for smartphones). So, their issues of "loosing" progress are selfmade. Which does not mean, that there was no loss of progress (on desktop-browser chrome with translation switched on).

Bernd Birkicht