-
Notifications
You must be signed in to change notification settings - Fork 590
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
Blocks move when a project is reloaded #5947
Comments
i've run into this; seems like the blockly xml loader now likes to bump blocks when parsing the xml file which causes these little nudges to happen. the behavior in your second comment, however, is how it's always been iirc. we've always adjusted the workspace to align everything to the top-left when loading a project |
Thanks @riknoll I suppose users want to lay out blocks in neat columns and rows and not have that undone with overlapping blocks when the project is reloaded. The second part is not new, but I noticed it again while looking at the first thing and thought it might be related. I had two thoughts:
|
i agree that the nudging behavior is something we should fix, but i believe that we made the aligning to the top-left change in response to feedback from user testing. people were getting "lost" when they opened large projects iirc |
OK, I don't feel strongly about the the border behaviour, which has clearly stood the test of time! |
@riknoll But I don't understand why this issue about blocks moving on reload was removed from the hotfix milestone. Was that a mistake because I've confused the issue? |
I concur! Something is rotten in the new state of Denmark! Especially when reloading back to block based code from text based ("JavaScript"), the code reappears as if it has been randomly drawn from a tombola...:
Related?: #5959 |
Describe the bug
Arising from support ticket https://support.microbit.org/helpdesk/tickets/82439 (private)
After creating a project with blocks neatly aligned, the blocks move in an apparently unpredictable way when the project is reloaded.
The movement seems to vary - does it depend on which block was moved last?
The moving blocks move across more on each reload.
I don't know if functions are essential - but the example in the ticket has functions.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Blocks don't change position.
Screenshots
Before reload
After reload
micro:bit version (please complete the following information):
not hardware related
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: