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

Bug 521356

Summary: [Sequence Diagram] Pb when resizing an execution in the top direction near the parent bound limit
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Laurent Redor <laurent.redor>
Status: CLOSED INVALID QA Contact: Laurent Redor <laurent.redor>
Severity: normal    
Priority: P3 CC: julien.dupont
Version: 5.0.0Keywords: triaged
Target Milestone: 5.1.0   
Hardware: PC   
OS: Windows NT   
See Also: https://git.eclipse.org/r/103614
https://git.eclipse.org/r/103616
https://git.eclipse.org/r/103615
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d8c7667824651c5776c402236724e68f1150a931
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=53ac4e417ad148254376b2ff489a6a32d6946ae4
https://git.eclipse.org/r/104157
https://git.eclipse.org/r/104156
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7fc71d3d5236d530f4d71528b10806aa0e502795
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2011e7ae9c986a1055671e8da66eba2e8b4b5035
Whiteboard:
Attachments:
Description Flags
ResizeExecution.zip none

Description Laurent Redor CLA 2017-08-24 05:16:44 EDT
Created attachment 269963 [details]
ResizeExecution.zip

When resizing an execution in the top direction near the parent bound limit, the resize is authorized but causes also a resize of the parent.

Steps to reproduce:
* Import project ResizeExecution (from ResizeExecution.zip)
* Open diagram "Sequence Diagram"
* Resize the first execution in the top direction from one pixel
* OK: The first execution is resized
* KO: The life line is resized in the bottom direction (and all elements below are moved). It should be not. The resize should be forbidden because it does not respect the layout constraints (minimum space after a lifeline).
* Resize the second execution in the top direction from one pixel
* OK: The second execution is resized
* KO: The operand and the combined fragment are resized in the bottom direction. They should be not. The resize should be forbidden because it does not respect the layout constraints (minimum space before an execution).
Comment 1 Eclipse Genie CLA 2017-08-24 06:42:22 EDT
New Gerrit change created: https://git.eclipse.org/r/103614
Comment 2 Eclipse Genie CLA 2017-08-24 06:42:23 EDT
New Gerrit change created: https://git.eclipse.org/r/103616
Comment 3 Eclipse Genie CLA 2017-08-24 06:42:31 EDT
New Gerrit change created: https://git.eclipse.org/r/103615
Comment 4 Julien Dupont CLA 2017-08-24 11:27:57 EDT
In order to reproduce, it may be necessary to resize until the prohibition is displayed and to decrease by one pixel
Comment 7 Laurent Redor CLA 2017-09-01 05:59:31 EDT
After discussion with Maxime, this is not a bug but an expected behavior. It allows to reorder element by putting it in this area.
Comment 8 Eclipse Genie CLA 2017-09-01 06:37:51 EDT
New Gerrit change created: https://git.eclipse.org/r/104157
Comment 9 Eclipse Genie CLA 2017-09-01 06:37:53 EDT
New Gerrit change created: https://git.eclipse.org/r/104156
Comment 12 Laurent Redor CLA 2017-09-01 08:32:34 EDT
No validation as issue is finally invalid.
Comment 13 Pierre-Charles David CLA 2017-11-08 03:36:56 EST
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.