gaphor / gaphor

Gaphor is the simple modeling tool
https://gaphor.org
1.87k stars 200 forks source link

Undo moved handle does not work #1775

Closed amolenaar closed 2 years ago

amolenaar commented 2 years ago

Describe the bug

When a handle connected and moved around on the connected element, undo does not change it's possition back.

To Reproduce

Steps to reproduce the behavior:

  1. Create Class
  2. Create Association and connect one end to the Class
  3. Take the same handle and connect it to the other side of the Class
  4. Hot Undo (ctrl-z) and see nothing happens.

Expected behavior

The Association handle should have moved to it's previous position on the Class.

Version

Version of Gaphor: 2.12.0 (and older)

amolenaar commented 2 years ago

It's not fixed. Although the lines look connected, if you move the connected element the lines do not move along. Looks like the constraint is not properly re-created.

amolenaar commented 2 years ago

I was wrong. This only happens with the #1653.