You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When deleting a shape, any notes the shape was attached to lose that attachment. Performing an undo action should reattach them presumably, but it does not. The client never sees the shape removed from the note's list of attached shapes, so it appears to reattach until refreshed. The server, however, sees the attached shape removed from the note when the shape was deleted.
To Reproduce
Steps to reproduce the behavior:
Create a shape, attach note to it.
Delete the shape.
Ctrl+Z to undo the deletion.
The note appears to reattach on the client until a refresh.
After refresh, the shape shows it is truly not attached to the note.
Expected behavior
Notes reattach shapes when undoing a shape removal.
The core of the issue however is more difficult to tackle as the information of which notes were attached to the shape are gone by the time the undo action is triggered.
This information will have to be added to the undo-stack info, but there probably is more info that is lost that should be added. (e.g. group information)
Describe the bug
When deleting a shape, any notes the shape was attached to lose that attachment. Performing an undo action should reattach them presumably, but it does not. The client never sees the shape removed from the note's list of attached shapes, so it appears to reattach until refreshed. The server, however, sees the attached shape removed from the note when the shape was deleted.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Notes reattach shapes when undoing a shape removal.
Screenshots
undo-note-bug.mp4
Desktop:
The text was updated successfully, but these errors were encountered: