This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 108296 - Flow: User-moved control points should stay at the same place
Summary: Flow: User-moved control points should stay at the same place
Alias: None
Product: javame
Classification: Unclassified
Component: Visual Designer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Kaspar
Depends on: 113573
  Show dependency tree
Reported: 2007-06-27 15:30 UTC by David Kaspar
Modified: 2007-11-23 10:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2007-06-27 15:30:44 UTC
When a user manually moves control point of a connection, it should be located at the same position even after selection
a connected node.
Solution: When a connection is in control-point-moved state, then it will keep position of all control points except the
first two and the last two. The first and the last control point will be moved locations from resolved by source and
target anchor. The second control point will be orthogonally moved to a new location calculated from the first and the
third control point. Similarly for one-before-last control point. In a case when the second or one-before-last control
point cannot be sucessfully placed (behind the direction resolved by anchor and first/last control point), the
connection will go out from control-point-moved state.
Comment 1 David Kaspar 2007-07-11 09:21:23 UTC
This requires to implement a support for freezed ConnectionWidgets (using FreeRouter) in case that its control point has
been moved by a user. Reseting to a default routing should be done in a case then a control-point get over a boundary of
possible orthogonal routing...
Comment 2 David Kaspar 2007-08-31 11:12:38 UTC
Current implementation is that in case an user moves any control points of a connection, then the control points are not
changed unless the source or target point is moved (e.g. by moving its nodes).

Fixed in main trunk.
Comment 3 Fabiola Rios 2007-11-23 10:05:11 UTC
verified in RC2