Bug 438529 - Connection label placed wrong for Polygon and Polyline
Summary: Connection label placed wrong for Polygon and Polyline
Status: ASSIGNED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.10.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-30 05:19 EDT by Oliver Stadie CLA
Modified: 2014-07-03 08:57 EDT (History)
1 user (show)

See Also:


Attachments
Connection label placed wrong for Polygon (21.62 KB, image/png)
2014-06-30 05:19 EDT, Oliver Stadie CLA
no flags Details
Example project to reproduce (8.56 KB, application/zip)
2014-07-03 08:56 EDT, Michael Wenz CLA
no flags Details
Example siagram file to reproduce (4.04 KB, application/octet-stream)
2014-07-03 08:56 EDT, Michael Wenz CLA
no flags Details
Screenshot of example diagram (9.17 KB, image/png)
2014-07-03 08:57 EDT, Michael Wenz CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Stadie CLA 2014-06-30 05:19:00 EDT
Created attachment 244662 [details]
Connection label placed wrong for Polygon

See attached picture to better understand the following description.

I have a Connection between a polygon/polyline and a circle/roundedRectangle. Start and end nodes may be switched, the problem occures in both cases.

The Connection is the container of a ConnectionDecorator with a Text GraphicsAlgorithm. If one of the nodes is a polygon or polyline the ConnectionDecorator is misplaced.
Comment 1 Michael Wenz CLA 2014-07-03 08:55:34 EDT
I was able to reproduce this using a modified example created with the "Create Plugin with Graphiti Diagram" wizard, the misplaced location can be seen there as well but it is not that huge as in your screenshot. I'll attach the example project, could you please check if that is also the effect you see?
Comment 2 Michael Wenz CLA 2014-07-03 08:56:19 EDT
Created attachment 244781 [details]
Example project to reproduce
Comment 3 Michael Wenz CLA 2014-07-03 08:56:52 EDT
Created attachment 244782 [details]
Example siagram file to reproduce
Comment 4 Michael Wenz CLA 2014-07-03 08:57:34 EDT
Created attachment 244783 [details]
Screenshot of example diagram