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

When pasting blocks, bumpNeighbours is not called. #7133

Closed
1 task done
mikeharv opened this issue Jun 5, 2023 · 1 comment
Closed
1 task done

When pasting blocks, bumpNeighbours is not called. #7133

mikeharv opened this issue Jun 5, 2023 · 1 comment
Labels
issue: bug Describes why the code or behaviour is wrong size: small Bugs that can be picked up and completed in 1-3 days

Comments

@mikeharv
Copy link
Contributor

mikeharv commented Jun 5, 2023

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

It is possible to paste blocks into positions where they look like they should be connected to other existing blocks, but they actually aren't.

2023-06-05.15-29-58.2023-06-05.15_31_04.mp4

Reproduction steps

  1. Duplicate a block such as print two times.
  2. Connect the third block to the second block.
  3. Delete the second block.
  4. Duplicate the original block.

The newest fourth block will look like it should be connected to the third block, but dragging reveals that it is not.

For the behavior I would expect, you can use the browser console to call Blockly.getSelected().bumpNeighbours() after step 4 above.

2023-06-05.15-34-46.2023-06-05.15_35_11.mp4

Stack trace

No response

Screenshots

2023-06-05.15-29-58.2023-06-05.15_31_04.mp4

Browsers

No response

@mikeharv mikeharv added issue: bug Describes why the code or behaviour is wrong issue: triage Issues awaiting triage by a Blockly team member labels Jun 5, 2023
@maribethb maribethb added size: small Bugs that can be picked up and completed in 1-3 days and removed issue: triage Issues awaiting triage by a Blockly team member labels Jun 21, 2023
@maribethb
Copy link
Contributor

Should be closed by #7349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Describes why the code or behaviour is wrong size: small Bugs that can be picked up and completed in 1-3 days
Projects
None yet
Development

No branches or pull requests

2 participants