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

Bug 497402

Summary: The containers, with horizontal or vertical stack as children presentation type, do not respect the initial user size
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: DiagramAssignee: Laurent Redor <laurent.redor>
Status: CLOSED FIXED QA Contact: Julien Dupont <julien.dupont>
Severity: normal    
Priority: P3 CC: julien.dupont, laurent.fasani
Version: 3.1.0Keywords: triaged
Target Milestone: 3.1.6   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Bug Depends on: 495046    
Bug Blocks: 492607    

Description Laurent Redor CLA 2016-07-06 11:24:34 EDT
+++ This bug was initially created as a clone of Bug #495046 +++

There are concretely 3 distinct problems.

Steps to reproduce:
* Imports the project from compartments.zip (this use case is a copy from automatic tests /org.eclipse.sirius.tests.junit/data/unit/compartments with an addition of a tool)
* Open the diagram VStackDiag
* Use the tool EPackage to create a package container on the diagram:
** with default size (only one click on the diagram): OK
** with a defined size (use a click plus a drag with button press, on the diagram): OK
* Use the tool EPackageWithOneClass to create a package container with a class inside it:
** with default size (only one click on the diagram): KO: There is a scroll bar on the container as if the class child was a little too big. This problem is maybe linked to bug 484939.
** with a defined size (use a click plus a drag with button press, on the diagram): KO:
*** the vertical size of the container does not respect the size defined by the user
*** the horizontal size of the child does not fit its container
Comment 1 Laurent Redor CLA 2016-07-07 06:41:41 EDT
This issue has been indirectly resolved with the fix of bug 497403.
Comment 2 Pierre-Charles David CLA 2016-10-11 04:39:04 EDT
Available in Sirius 3.1.6.