Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 527391

Summary: Note attachments can no longer be selected
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: DiagramAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact: Maxime Porhel <maxime.porhel>
Severity: major    
Priority: P3 CC: laurent.redor, maxime.porhel, steve.monnier
Version: 5.0.0Keywords: triaged
Target Milestone: 5.1.1   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/111779
https://bugs.eclipse.org/bugs/show_bug.cgi?id=506420
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=379d03bd545f92a7a53ac974bf2500b9ca3ff211
https://git.eclipse.org/r/114740
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=73eef225134c9ece0a18d71eb2c0095f9b47f057
Whiteboard:
Bug Depends on:    
Bug Blocks: 527392    
Attachments:
Description Flags
Sample project to reproduce the issue
none
Video of the reproduction scenario none

Description Pierre-Charles David CLA 2017-11-17 05:03:45 EST
Since commit 47ed885a5666d0b8c1e597eee865dc0cfbe0ce53 for bug #506420 "Make figures under decorator selectable" it is no longer possible to select a note attachment (or text attachment), and thus to create new benpoints on it or move the anchors, or even to delete it.

Steps to reproduce:
1. Import the attached project and open the diagram inside.
2. In the palette select the "Note Attachment" tool.
3. Create an attachment between the note and class A.
4. Click on the diagram's background to change the selection.
5. Try to select the note attachment: even though the mouse cursor changes when the mouse is over it, it is impossible to select the edge.

Repeat with a "Note attachment" between the text element and class A.

Variant: right after the attachment is created, it is selected. At this point it is possible to create/remove bendpoints on it, or to move the anchors.
Comment 1 Pierre-Charles David CLA 2017-11-17 05:11:34 EST
Created attachment 271515 [details]
Sample project to reproduce the issue
Comment 2 Pierre-Charles David CLA 2017-11-17 05:12:22 EST
Created attachment 271516 [details]
Video of the reproduction scenario
Comment 3 Eclipse Genie CLA 2017-11-17 05:15:09 EST
New Gerrit change created: https://git.eclipse.org/r/111779
Comment 5 Eclipse Genie CLA 2017-12-26 04:34:03 EST
New Gerrit change created: https://git.eclipse.org/r/114740
Comment 7 Pierre-Charles David CLA 2017-12-26 05:41:47 EST
Test added by 73eef225134c9ece0a18d71eb2c0095f9b47f057.
Comment 8 Maxime Porhel CLA 2018-01-09 04:52:17 EST
Validated on Sirius 5.1.1-rc2
Comment 9 Pierre-Charles David CLA 2018-02-01 03:25:35 EST
Available in Sirius 5.1.1. See https://wiki.eclipse.org/Sirius/5.1.1 for details.