Discuss Scratch

AlSweigart
Scratcher
98 posts

[LOGGED] Scratch doesn't duplicate modified operator blocks correctly.

My browser / operating system: Windows 7, Chrome 47.0.2526.111, Flash 20.0 (release 0)

This also happens in the Windows offline editor (v442 I think), and I was able to reproduce it in the browser. Screenshots here: https://imgur.com/a/uzdnT

Repro steps:

1. Create a script that has a green < block. (see first screenshot)
2. Right-click the green < block and change the sign to >. (see second screenshot)
3. Drag this script to another sprite to duplicate it on that sprite. (see third screenshot)
4. Notice that the green > block has reset back to <. (see fourth screenshot)

Note that this ONLY happens when you modify the < block by right-clicking to change the sign. If you originally drag a > block from the blocks palette, it will duplicate correctly. This bug also happens if you right-click to set it to the = sign: it will change back to the original < sign.

Furthermore: On the second sprite's drag-duplicated code, you will not be able to change the sign by right-clicking on the block and selecting a different sign.

Furthermore: This also happens with the green + - * / mathematical blocks as well. (And I assume any other blocks that have this feature that I'm forgetting.)

Last edited by RjLance (Jan. 20, 2016 12:31:02)

TheLogFather
Scratcher
1000+ posts

[LOGGED] Scratch doesn't duplicate modified operator blocks correctly.

Duplicate of the following:
https://scratch.mit.edu/discuss/topic/18807/
https://scratch.mit.edu/discuss/topic/122986/
https://scratch.mit.edu/discuss/topic/147796/
(any others?)

…but it's been one of those annoying little irritations since as long as I can remember, and about time it was mentioned again!
(And especially good to see it finally appear in github issues )

Powered by DjangoBB