microsoft / pxt-arcade

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

Blocks seized while I was building #2979

Closed kiki-lee closed 3 years ago

kiki-lee commented 3 years ago

Describe the bug I was editing a project in arcade (not beta) and when I was trying to figure out a good way to place text, the blocks seized

Screenshots

storyIssues

Desktop (please complete the following information):

Console said: /#editor:2 [Deprecation] Application Cache API manifest selection is deprecated and will be removed in M85, around August 2020. See https://www.chromestatus.com/features/6192449487634432 for more details. /#editor:1 Creating Application Cache with manifest https://arcade.makecode.com/---manifest /#editor:1 Application Cache Checking event sim.webmanifest:1 Manifest: property 'start_url' ignored, should be same origin as document. sim.webmanifest:1 Manifest: property 'scope' ignored. Start url should be within scope of scope URL. /#editor:1 Application Cache Error event: Invalid or missing manifest origin trial token: https://arcade.makecode.com/---manifest trg-arcade.userpxt.io/---simulator#sim-frame-4027683915341433660.30923946491702625:2 [Deprecation] Application Cache API manifest selection is deprecated and will be removed in M85, around August 2020. See https://www.chromestatus.com/features/6192449487634432 for more details. pxtsim.js:1 Simulator ServiceWorker registration successful with scope: https://trg-arcade.userpxt.io/ 147pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 pxtblockly.js:1 Trying to end a gesture recursively. 22pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 5pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 5pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 9pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 5pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 pxtblockly.js:1 Trying to end a gesture recursively. pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 5pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 pxtblockly.js:1 Trying to end a gesture recursively. 5pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 2pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 15pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 3pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 9pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 16pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 3pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 8pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 13pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 2pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 10pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 23pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 5pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 12pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 12pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 2pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 11pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 3pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 2pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 26pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 3pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 17pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 23pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 3pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 12pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 14pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 4pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 pxtblockly.js:1 Trying to end a gesture recursively. 6pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 4pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 11pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 84pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 5pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 8pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 20pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 2pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 7pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 10pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 2pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 3pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 13pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 3pxtblockly.js:1 Deprecated use of setting size.width to 0 to rerender a field. Set field.isDirty to true instead. (anonymous) @ pxtblockly.js:1 2pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 pxtblockly.js:1 Trying to end a gesture recursively. 5pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 2pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 10pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 9pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 2pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 7pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 6pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 3pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 8pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 20pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 pxtblockly.js:1 Trying to end a gesture recursively. 10pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 4pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 18pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 5pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 10pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 17pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 3pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 9pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. 21pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) 4pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 pxtblockly.js:1 Trying to end a gesture recursively. 156pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Tried to start the same gesture twice. (anonymous) @ pxtblockly.js:1 pxtblockly.js:1 Uncaught TypeError: Cannot read property 'dragBlock' of null at Object.handleMove (pxtblockly.js:1) at Object.handleMove (pxtblockly.js:1) at HTMLDocument.i (pxtblockly.js:1) pxtblockly.js:1 Trying to end a gesture recursively. DevTools failed to load SourceMap: Could not parse content for https://pxt.azureedge.net/blob/48d89c8801b09111cca8d95492eae261a1e03f1c/purify.min.js.map: Unexpected token ; in JSON at position 12 DevTools failed to load SourceMap: Could not load content for https://pxt.azureedge.net/blob/min-maps/vs/editor/editor.main.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

jwunderl commented 3 years ago

Hm, had you just expanded that splash (pressed the plus on it)? The block is definitely broken, it's out of order / still shows plus when it should be minus. Could you share the project?

livcheerful commented 3 years ago

I can repro this pretty consistently by trying to click the expand option too quickly (like double clicking it a bunch). Will look into a fix!

livcheerful commented 3 years ago

OH JUST KIDDING the easiest easiest repro is:

  1. Expand the "splash" block
  2. De-expand the "splash" block
  3. Try to drag out the block