UNDO DOES NOT UNDO! Accidentally setting height of group (instead of a component *in* group) PERMANENTLY destroys layout of group.

Dave shared this question 4 years ago
Answered

I accidentally changed the height of a group instead of changing the height of the *background* of the group due to a simple selection error.


Naturally, the contents of the entire group were scaled accordingly. This did not surprise me.


What did surprise me is that "undo" does not undo the damage. It reverts the height of the group, but all the ancillary damage — resizing and repositioning dozens of components in several nested groups — is NOT undone. That portion of my prototype is irretrievably destroyed.


To recover, I had to close my prototype, losing all the changes I'd made to the mockup since the last time I saved. Whatever other changes I may have made before that fateful error are lost.


Undo MUST actually undo, or you might as well not even have it.

Comments (5)

photo
1

Hi Dave,


Unfortunately I'm not being able to reproduce this behaviour.


Could you describe what group nesting (and other elements like panels) you have in your layout?


Best,


Marc

photo
1

I'll do more than merely describe it, I will provide a simple prototype with steps to reproduce:


Open https://dl.dropboxusercontent.com/u/1...


Select the group named "Content_Item_1" (although the effect can be seen on any of the three groups)


Click the "Height" field in the Properties panel


Use Page Down or (if you're on a Mac) fn-Down Arrow five times (for example) to shrink the group's height. While you do so, the child elements are repositioned and scaled as you might expect.


Use the Undo command five times to try to put things right. While you do so, the child elements are not un-repositioned or un-scaled as you might expect.


Say "Oops!" Feel free to use stronger language, if it's after 10PM and the kids are asleep. :-)


Log in to Justinmind's Community and unload a STREAM OF ALL CAPS that kind-hearted Marc Fernandez will overlook because he is so kind-hearted.


Because you are kind-hearted Marc Fernandez, you may omit the last two steps.

photo
1

Hi Dave,


I believe this is due to the decimal place loss when shrinkingand undoing.


(shrink then undo+redo several times also lets the items smaller than they originally were)


I've swapped the last two steps for forwarding the issue to the development team and as soon as we know in which version it will be solved let you know :)


Best,


Marc

photo
1

Just out of interest, this bug just bit me again. I accidentally resized a container with dozens of layered objects, realized my mistake, and spent an hour putting things right.


The sooner this can be fixed, the better. It is the kind of bug that makes me want to bill you for my lost time.

photo
1

Undo is screwing up the alignment