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

Bug 323294

Summary: Polygons don't obey layout
Product: [Modeling] GMF-Tooling Reporter: Arto Jarvinen <arto.jarvinen>
Component: CoreAssignee: Project Inbox <gmp.gmf-tooling-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screen-shot of the resulting figures in the diagram editor
none
The models
none
The models (ignore the previous attachment with the same description) none

Description Arto Jarvinen CLA 2010-08-20 17:15:20 EDT
Build Identifier: 20090703-0844

In the attached models I have created two figures with rectangles in them. One rectangle is defined as a Rectangle and one as a Polygon. The Rectangle ends up approximately where I want it although there is a few lines of space above the Rectangle that I can't explain. The Polygon ends up in the upper left corner regardless of layout.
I'm using the DSL Toolkit build. The behavior is about the same (but not quite) on a PC and also in the Helios release.
Thanks for your time! -Arto

Reproducible: Always

Steps to Reproduce:
1.Create a model with two classes.
2.Create figures to represent the classes. In one figure insert a Rectangle child, in the other a Polygon with the same size as the Rectangle. These two figure should come out identical as far as I understand. Use e.g. Grid Layout and center the Rectangle and the Polygon horizontally in the Grid Layout Data. The Rectangle gets centered and remains centered as the figure is resized. The Polygon remains in the upper left corner of the figure when the figure is resized.
Comment 1 Arto Jarvinen CLA 2010-08-20 17:17:11 EDT
Created attachment 177145 [details]
Screen-shot of the resulting figures in the diagram editor
Comment 2 Arto Jarvinen CLA 2010-08-20 17:17:36 EDT
Created attachment 177146 [details]
The models
Comment 3 Arto Jarvinen CLA 2010-08-20 17:19:51 EDT
Created attachment 177147 [details]
The models (ignore the previous attachment with the same description)