Skip to content
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

Extremely easy way to freeze makecode #6501

Open
Brohann3214 opened this issue Sep 16, 2024 · 0 comments
Open

Extremely easy way to freeze makecode #6501

Brohann3214 opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working monaco

Comments

@Brohann3214
Copy link

Describe the bug
I found this bug on accident while commenting out a background image in javascript. It happened to me on accident. It happens when you comment out the top and bottom lines of a setBackgroundImage function when it is collapsed. It causes the site to no longer accept any input, things cannot be clicked or typed
To Reproduce
Steps to reproduce the behavior:

  1. open a new project
  2. go to javascript
  3. drag in a setBackgroundImage function
  4. open up the background image in the editor
  5. click done
  6. comment out the top line of the 2
  7. there should now be 6000 errors
  8. start to comment out the bottom line and the entire site will no longer accept any user input until the page is reloaded.

Expected behavior
I expect it to comment out the entire collapsed part when I comment out the top line
Screenshots
Screenshot 2024-09-16 162356
ScreenRecording2024-09-15120613-ezgif com-video-to-gif-converter
Screenshot 2024-09-16 162533

Desktop (please complete the following information):

  • OS: windows
  • Browser chrome, web app

Additional context
there's a second bug that you can see in the 3rd picture, also described here: https://forum.makecode.com/t/is-it-normal/30282/2

@jwunderl jwunderl added bug Something isn't working monaco labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working monaco
Projects
None yet
Development

No branches or pull requests

2 participants