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

Custom blocks with a return block incorrectly display as normal blocks instead of a reporter in the block palette(in certain conditions) #25

Open
AndrewScripter587 opened this issue Oct 9, 2023 · 1 comment

Comments

@AndrewScripter587
Copy link

AndrewScripter587 commented Oct 9, 2023

Expected Behavior

The type of a custom block in the block palette should persist after leaving the sprite and re-entering it.

Actual Behavior

Note: this only seems to affect large projects/sprites and/or projects originating from sb3 project files made in turbowarp. I tested it in a new project and it seems to work as normal.

all custom reporter blocks in the block palette incorrectly display and act like normal custom blocks (like not being able to be placed in reporters and being able to be placed in a stack) and blocks placed in this state stay in this state until deleted. the same custom block as a reporter before performing the glitch stay as reporters. The glitch only affects the palette, and all custom blocks.

Steps to Reproduce

Note: this only seems to affect large projects/sprites and/or projects originating from sb3 project files. I tested it in a new project and it seems to work as normal.

open a project/sprite that fits one or both of the two descriptions in the note above (if the description of a project you tried doesn't work, try another project fitting the other description.) if the sprite it opens when you load the editor has blocks that are supposed to be reporters but aren't, even with return blocks, that's the bug. Otherwise, switch to another sprite that has blocks that are supposed to be reporters. if those blocks that are supposed to be reporters aren't reporters, even with return blocks, that's the bug.

Operating System and Browser

Windows 11 22H2
OS build 22621.2361
Google Chrome
117.0.5938.134 (Official Build) (64-bit) (cohort: Control)

@AndrewScripter587
Copy link
Author

i can provide more information and screenshots or videos if needed

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

No branches or pull requests

1 participant