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

Bug 450067

Summary: Wrong GMF Border node coordinates after a resize
Product: [Modeling] Sirius Reporter: Florian Barbin <florian.barbin>
Component: DiagramAssignee: Florian Barbin <florian.barbin>
Status: CLOSED FIXED QA Contact: Belqassim Djafer <belqassim.djafer>
Severity: normal    
Priority: P3 CC: belqassim.djafer
Version: 2.0.0Keywords: triaged
Target Milestone: 3.0.0M4   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Resize border node use case none

Description Florian Barbin CLA 2014-11-05 05:18:04 EST
Take the example of a border node on the left side of a node. When resizing this border node toward the East direction (toward the inside of the parent node) the border node location is not well updated. Indeed, the border node location is shifted toward West as much as the resize delta, but its GMF location is not updated. This issue is not visible for the end user since draw2D correctly locates the border node.
Comment 1 Florian Barbin CLA 2014-11-06 05:42:08 EST
Created attachment 248440 [details]
Resize border node use case

* Import the given use case and open the diagram.
* Resize the "eClass3" border node toward the south direction.
* The feedback suggests that the border node size will be increase toward the south, first *KO*.
* After the resize, the border node location is correct (visually) but its GMF location is still the same => second *KO*.
Comment 2 Florian Barbin CLA 2014-11-07 04:46:59 EST
Proposed patch: https://git.eclipse.org/r/#/c/36035
Comment 4 Belqassim Djafer CLA 2015-04-08 09:20:13 EDT
Verified on Sirius 3.0.0M6
Comment 5 Pierre-Charles David CLA 2015-06-24 11:15:41 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.