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

Bug 508676

Summary: Straighten actions: Possible inversion between top and bottom, or left and right
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Laurent Redor <laurent.redor>
Status: CLOSED FIXED QA Contact: Jessy Mallet <jessy.mallet>
Severity: major    
Priority: P3 CC: maxime.porhel
Version: 4.1.0Keywords: triaged
Target Milestone: 4.1.3   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/86370
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c83208e2f891af8e203d587220a75bb04bea94d2
Whiteboard:
Bug Depends on:    
Bug Blocks: 508936    
Attachments:
Description Flags
StraightenTo.zip none

Description Laurent Redor CLA 2016-12-05 09:25:28 EST
Created attachment 265719 [details]
StraightenTo.zip

Sometimes, when the source and the target of the edge are nodes, the straighten to the right action is a straighten to left action (and conversely). And the straighten to top action is a straighten to bottom action (and conversely).

Steps to reproduce:
* Import the project "StraightenTo" (from StraightenTo.zip)
* Open the diagram "new useCase"
* Select the edge21 (between b_c8_1_2 and b_c9_2)
* Loot at the contextual menus "Layout / Straighten", only "To top" is enabled: KO, only "To bottom" must be enabled.
* Launch this action, a "straighten to bottom" is launched.
Comment 1 Eclipse Genie CLA 2016-12-05 09:34:18 EST
New Gerrit change created: https://git.eclipse.org/r/86370
Comment 3 Jessy Mallet CLA 2017-01-17 10:11:51 EST
validated with Sirius 4.1.3.201701161809
Comment 4 Pierre-Charles David CLA 2017-01-31 03:48:40 EST
Available in Sirius 4.1.3, see https://wiki.eclipse.org/Sirius/4.1.3 for version details.