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

Large amount of code completely invisible. #3579

Closed
GreenScripter opened this issue Oct 30, 2018 · 4 comments
Closed

Large amount of code completely invisible. #3579

GreenScripter opened this issue Oct 30, 2018 · 4 comments
Labels

Comments

@GreenScripter
Copy link

GreenScripter commented Oct 30, 2018

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

@Mr-Dave2
Copy link

Your project uses hacked blocks. I found these: <key [ v] pressed?> and <key [^H v] pressed?>

I did a little testing and I believe that it is the hacked block "<key [^H v] pressed?>" that is causing the vanished stacks problem.

@GreenScripter
Copy link
Author

GreenScripter commented Nov 1, 2018

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.

@towerofnix
Copy link
Contributor

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

@thisandagain
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants