Bug 494752 - Ensure position hints are recomputed when changing the routing style.
Summary: Ensure position hints are recomputed when changing the routing style.
Status: RESOLVED FIXED
Alias: None
Product: GEF
Classification: Tools
Component: GEF MVC (show other bugs)
Version: 0.2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.0.0 (Neon) RC3   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-27 08:22 EDT by Matthias Wienand CLA
Modified: 2016-05-27 08:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Wienand CLA 2016-05-27 08:22:13 EDT
Currently, when the routing style of a connection is changed within the MVC Logo Example, the position hints for the connection are set to (0,0) in some cases. However, they should actually be recomputed when changing the style.
Comment 1 Matthias Wienand CLA 2016-05-27 08:49:12 EDT
I ensured that the hints are recomputed when changing the routing style. The code is published on the master branch, therefore, I resolve this ticket as fixed for 4.0.0 RC3.

However, I needed to copy code from FXBendConnectionPolicy over to the MvcLogoExampleView for computing the hints. Therefore, I created bug #494755 to keep track of the duplicate code.