| Summary: | Wrong drop location from model explorer to diagram with negative origin | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Florian Barbin <florian.barbin> | ||||
| Component: | Diagram | Assignee: | Project Inbox <sirius.diagram-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | pierre-charles.david, pierre.guilet | ||||
| Version: | 5.0.0 | Keywords: | triaged | ||||
| Target Milestone: | 6.1.2 | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=520629 https://git.eclipse.org/r/104471 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=63c28596f3822f08444a1c2019edf7f338481f89 https://git.eclipse.org/r/104180 https://git.eclipse.org/r/134141 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7b9b602e5ca30f9b21ba6dec4f1c17fb589259be |
||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 543148 | ||||||
| Attachments: |
|
||||||
This issue has been detected during bug 520629 New Gerrit change created: https://git.eclipse.org/r/104471 TODO: revert the gerrit once this bug is fixed. Gerrit change https://git.eclipse.org/r/104471 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=63c28596f3822f08444a1c2019edf7f338481f89 Idea of where is the problem with this gerrit: https://git.eclipse.org/r/#/c/104180/ Reproduced with the attached project and steps. The drop location is not properly handle if at least one figure in the diagram has negative coordinates. New Gerrit change created: https://git.eclipse.org/r/134141 Gerrit change https://git.eclipse.org/r/134141 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7b9b602e5ca30f9b21ba6dec4f1c17fb589259be Validated with OD CE 11.1.2 Available in Sirius 6.1.2, see https://wiki.eclipse.org/Sirius/6.1.2 for details. |
Created attachment 270098 [details] Use case to reproduce this issue * Open new TC1041 representation 2 Blank representation. * Make sure you have a vertical scrollbar. Move it in the middle for instance. * Drag and Drop P2 on the diagram. * P2 is not located at the place we dropped it. => KO * If the "Snap To Grid" is activated, P2 is not snapped on the grid. => KO