Bug 527878 - [Composite structure diagram] Unify initial port layout
Summary: [Composite structure diagram] Unify initial port layout
Status: ASSIGNED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 4.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ansgar Radermacher CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 10:47 EST by Ansgar Radermacher CLA
Modified: 2018-01-31 04:08 EST (History)
1 user (show)

See Also:


Attachments
Figure showing layout problems (31.08 KB, image/png)
2017-12-11 05:00 EST, Ansgar Radermacher CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ansgar Radermacher CLA 2017-11-28 10:47:20 EST
A port of a class in a composite structure diagram is not always shown. Depending on how the user makes the port visible, the initial layout is different.

It's possible to show ports via
(1) the Show/Hide dialog (F4)
(2) by activating model/diagram synchronisation
(3) by explicitly dragging it to the class border

In case of (1), the ports are vertically layout, starting from the upper left corner, in case of (2), the ports are horizontally layout on the upper edge (around the middle). In case of (3), the user provides the explicit position of each port.
There is no good reason, why (1) and (2) result in a different layout. The bug is also related to a useful initial layout for ports on parts, see bug 527181.
Comment 1 Ansgar Radermacher CLA 2017-12-11 05:00:15 EST
Created attachment 271846 [details]
Figure showing layout problems