Undo delete restores boxes in the wrong order (#83)

Hi,

In a class diagram, I had a Package containing 1 Class with 2 sub-Classes.

I deleted the Package, which automatically deleted the Classes too. (Strangely, the Generalization arrows were not deleted). Then, I clicked "Undo" to restore them.

Unfortunately, the Classes were now hidden below the Package.

When Undo-ing, the Classes should be restored above the Package.

Created
13 July 2012 21:13:09
Closed
22 July 2012 14:07:23
Requested by
Jeremy
State
Solved
Version
5.30
OperatingSystem
Windows 7
Solved in
5.40

Dusan Rodina - softwareideas.net 14 July 2012 0:50:13

Hi,

if you want to delete the class with generalization you can use this option from menu: Edit/Delete/Delete with Relations (or press CTRL+Delete). Maybe, I can change this behavior in the next release - standard delete command will delete class with all relations and the command Delete with Relations will be replaced with Delete without Relations.

I will certainly fix the problem with undo in the next release. Thank you for your notice.

Jeremy 14 July 2012 18:44:35

Hi DuĊĦan,

You're welcome.

Yes, I agree that the standard command should be Delete with Relations, because it doesn't make sense to have dangling arrows in a class diagram -- it's not like a lost/found message in a sequence diagram.

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]