Bug 378341 - Enlargement of the Line Width of Shapes isn't calculated based on the center.
Summary: Enlargement of the Line Width of Shapes isn't calculated based on the center.
Status: ASSIGNED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 416589 442483
  Show dependency tree
 
Reported: 2012-05-03 06:04 EDT by Steffen K. CLA
Modified: 2014-08-25 08:56 EDT (History)
2 users (show)

See Also:


Attachments
Problem, line width is not calculated based on the middle (example UML Actor) (64.70 KB, image/jpeg)
2012-05-03 06:07 EDT, Steffen K. CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen K. CLA 2012-05-03 06:04:30 EDT
Build Identifier: Version: Indigo Service Release 1 Build id: 20110916-0149

By increasing the value of attribute line width on shapes, the new position and layout should be determined based on the center of the line. Otherwise a complex figure gets destroyed if the line width is increased (see attachment).

Also it's currently not clear, which algorithm is used by Graphiti to determine the layout of a line after changing the attribute line width. The behaviour seems to be not consistent as you can see in the screenshot, the increased ellipse (head of the actor) has moved to the left, but the line in the middle (body of actor) has moved to the right.

The Increasing of line width should be proportional, based on the current position and originating from the middle of the old line.

We will be gratefull, if you could solve this issue.

Reproducible: Always

Steps to Reproduce:
1.Create a complex figure, widht line width = 1.
2.Increase the line width to e.g. 5.
3.The old form of the shape is destroyed.
Comment 1 Steffen K. CLA 2012-05-03 06:07:42 EDT
Created attachment 214982 [details]
Problem, line width is not calculated based on the middle (example UML Actor)
Comment 2 Christian Brand CLA 2012-05-23 04:55:49 EDT
just a finding: If we zoom into a shape built of separate lines, the lines come visually closer together at the points they should touch.

As workaround I would create complex shapes like that of the UML actor from one polyline instead of multiple ones. (if possible)

Not that easy to fix because of the general zooming problems. Too costly and risky to have it in that release.
Comment 3 Christian Brand CLA 2012-05-24 02:47:41 EDT
new feature in sketch editor: possibility to create a human shape and change its line width

Commit 8f372b0ce59f2cf115c3c25d6b1069884c77607d
Comment 4 Christian Brand CLA 2012-05-24 03:57:45 EDT
we have to move it out of the juno area
Comment 5 Michael Wenz CLA 2012-08-21 09:51:52 EDT
Marked for Kepler
Comment 6 Michael Wenz CLA 2012-11-29 10:35:45 EST
Marked as optional for Kepler due to limited capacity