Scratch-gui: Large amount of code completely invisible.

Created on 30 Oct 2018  路  4Comments  路  Source: LLK/scratch-gui

Expected Behavior

_A large portion of a project's code shouldn't be invisible._

Actual Behavior

_Most of the code in one sprite is completely invisible._

Steps to Reproduce

_ I noticed this when looking at the code of my project https://scratch.mit.edu/projects/222588971/ in the 3.0 editor. It runs as if the hidden code is still there, though if you duplicate the script with the hidden code then delete the original it is gone. I think several custom blocks are missing as well. The hidden code is saved in the sb3 file._

Operating System and Browser

_Mac OS 10.14 Chrome 70.0.3538.77_

bug

Most helpful comment

Tracking in:
llk/scratch-vm#1704
llk/scratch-vm#1609
llk/scratch-vm#1450
llk/scratch-vm#1030

All 4 comments

Your project uses hacked blocks. I found these: and

I did a little testing and I believe that it is the hacked block "" that is causing the vanished stacks problem.

It appears that is the case, after removing them all, the code is no longer invisible, and I tried adding one at the beginning, and it made almost the entire script disappear. Quite a few projects use these blocks, since they correspond to delete and shift. Other than the fact that this can hide the source from 3.0 remixes, I don't see much of an issue.

@thisandagain did you accidentally close this? I don't think it's fixed.

Tracking in:
llk/scratch-vm#1704
llk/scratch-vm#1609
llk/scratch-vm#1450
llk/scratch-vm#1030

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidaylaian picture davidaylaian  路  4Comments

thisandagain picture thisandagain  路  3Comments

ntlrsk picture ntlrsk  路  3Comments

MrBlockCat picture MrBlockCat  路  4Comments

ericrosenbaum picture ericrosenbaum  路  4Comments