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

Code blocks can become misaligned when moving a set of blocks with a "break out of loop" attached to it out of a loop #263

Closed
GoogleCodeExporter opened this issue Jan 28, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Navigate to the Blockly Demo: Toolbox 
(https://blockly-demo.appspot.com/static/demos/toolbox/index.html)
2. Select "Loops" from the left menu
3. Click and drag a "Repeat 10 times" loop into the workspace
4. Select "Library" > "Jabberwocky" from the left menu
5. Click and drag the group of 4 "print" block into the workspace and connect 
it inside the loop
7. Select "Loops" again from the left menu
8. Click and drag the "break out" loop into the canvas and connect it under the 
group of 4 "print" blocks
9. Click and drag the top "print" block out of the "while" loop (dragging the 
top block also drags all the attached blocks beneath it)
10. Observe the "print" blocks and "break out" loop become misaligned

What is the expected output? 
Code blocks should remain aligned when dragging a code block around that 
contains a "break out" of loop.
What do you see instead?
Code blocks become misaligned when moving a set of blocks with a "break out of 
loop" attached to it out of a loop.

What browser are you using?
Chrome Version 40.0.2214.111 m; Firefox 35.0.1

Please provide any additional information below.
The warning symbol (the triangle with the "!" in it) that appears when dragging 
the "break out" loop out of loop seems to be the cause of the misalignment.

Original issue reported on code.google.com by intific....@gmail.com on 11 Feb 2015 at 7:24

Attachments:

@GoogleCodeExporter
Copy link
Author

Fixed:
https://github.com/google/blockly/commit/9ea8c32cdcde79f51aec8b30be0cde5c2442a99
8

Thanks!

Original comment by neil.fra...@gmail.com on 29 Apr 2015 at 7:38

  • Changed state: Fixed

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

No branches or pull requests

1 participant