Bug 559997 - Notes detached when reconnecting edges
Summary: Notes detached when reconnecting edges
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2020-02-11 02:35 EST by Avi Shaked CLA
Modified: 2020-02-14 04:27 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Avi Shaked CLA 2020-02-11 02:35:20 EST
In my models, I sometimes add notes from the general Palette (by using the yellow note symbol), and attach them to elements (including to edges).

I have noticed that upon reconnection of element-based edges (changing source or target of the edge), the attached note becomes detached (so that the note remains, but is no longer connected to the edge). I suspect this is a bug that should be addressed.

This bug was reproduced by Steve Monnier of Obeo
Comment 1 Steve Monnier CLA 2020-02-14 04:27:49 EST
Indeed, I think that after reconnection the refresh creates a new DEdge (or at leat a new GMF Edge) and the note attachment is not reconnect to it as it is not the same graphical model element.