block-duplicate: spork fixes - #8997
Conversation
|
Almost certainly btw it's about any block in an input not just variables. |
|
Can confirm you get the same block deletion bug. if you remove the variable from both the original and duplicated block. 2026-04-23.15-42-05.mp4(this is without the fix to be clear) |
Joeclinton1
left a comment
There was a problem hiding this comment.
2026-04-23.15-48-16.mp4
Not fixed, in fact your blocks now disappear faster.
|
Problem is upstream not us (happens also with regular duplicate and no extension), will report to scratch on their spork issue lisst |
|
You discard your review then? |
Upstream not us causes the bug (probably)
done |
|
Should we release v1.45.1 with or without this? |
Let me make a video then. Because there was a bug for sure. |
That doesn't sound as serious as the bug that happens on master and is fixed in this PR: Screen.Recording.2026-04-24.181207.mp4The duplicated prototype block this creates can't be dragged or even deleted. So I think this PR definitely improves things, even if there are still some bugs. |
0e92324 should be included in the next release, if anything. |
|
After some difficulty trying to reproduce the bug I figured it out. It happens when you drag the custom block over a connection point. And is maybe a different bug? oh. It's not even us, it's again: upstream 2026-04-24.19-46-44.mp4 |
Bug with duplicated inputs in top left of workspace is upstream, not this PR. This PR has no bugs.
Joeclinton1
left a comment
There was a problem hiding this comment.
The PR works well, and removes the two serious bugs.
|
@WorldLanguages There's an open PR in scratch-blocks that will break the cursed inputs fix from this PR. See #9003 |
|
Okay, releasing another patch soon then. |
Changes
Fixes two bugs in the block-duplicate addon.
Duplicating custom block prototypes
To reproduce:
Cursed inputs
To reproduce:
Fixed by using the
stripIds()utility function that Scratch added for this purpose.Tests
Tested on Edge and Firefox.