Discuss Scratch

AMagicalCheeseWizard
Scratcher
37 posts

Custom blocks still there in the "My blocks" when deleting all code from a sprite

To recreate this: Create a custom block, right click on a blank area and select (Delete block). Now the block did get erased, but theres a ghost custom block inside the “My blocks” tab.

Not able to edit the block neither.


Kinda weird, but if you refresh the page, or create a new block, It goes away. So its not a big deal or anything
HCJSCT
Scratcher
100+ posts

Custom blocks still there in the "My blocks" when deleting all code from a sprite

AMagicalCheeseWizard wrote:

To recreate this: Create a custom block, right click on a blank area and select (Delete block). Now the block did get erased, but theres a ghost custom block inside the “My blocks” tab.

Not able to edit the block neither.


Kinda weird, but if you refresh the page, or create a new block, It goes away. So its not a big deal or anything
I think it's because your deleting ALL the blocks in that project, not just the custom block, so it'll be as your deleting normal blocks, and not block definitions, so it would keep it.
braxlord
Scratcher
33 posts

Custom blocks still there in the "My blocks" when deleting all code from a sprite

This probably is not a bug.
medians
Scratcher
1000+ posts

Custom blocks still there in the "My blocks" when deleting all code from a sprite

By the way, you have to upload images to image hosts for users to be able to see them. People can't normally access the files on your computer.

braxlord wrote:

This probably is not a bug.
It is a bug though. The custom block should not be there if the define block is gone.

HCJSCT wrote:

I think it's because your deleting ALL the blocks in that project, not just the custom block, so it'll be as your deleting normal blocks, and not block definitions, so it would keep it.
That should be fixed though, as that isn't really intended. Deleting the block with that should also delete the custom block, as it works fine when right clicking the define block and clicking “Delete block”.
Also, undoing this makes the define block not show the right click options.

Powered by DjangoBB