Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345438

Summary: Dragging connection from existing connection with bend points does not show ghost connection
Product: [Modeling] Graphiti Reporter: Craig Petre <cpetre>
Component: CoreAssignee: Project Inbox <graphiti-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.brand, matthias.gorning, michael.wenz, rhett.hudson
Version: 0.8.0Flags: michael.wenz: indigo+
Target Milestone: 0.8.0   
Hardware: All   
OS: All   
Whiteboard: Indigo RC3 theme_bugs
Attachments:
Description Flags
Dragging a new connection within the bounds of an existing connection's bend points
none
Dragging the same new connection outside of a current connection's bend point boundary none

Description Craig Petre CLA 2011-05-11 11:07:52 EDT
Dragging a new connection from an existing connection using the connection tool usually yields a "ghost" connection for the duration of the drag, indicating that you are dragging a new connection.  This doesn't seem to be the case when attempting to create a new connection with the connection tool from an existing connection with bend points.  While the mouse is being dragged within the "bounds" of the existing connection's bend points, the ghosted connection is not visible.  If the mouse is dragged outside of the bend point boundary, the ghosted connection becomes visible.

Steps to Reproduce:
1.  Create a connection between two anchors (with or without the connection tool).
2.  Select the new connection and grab the middle bend point, stretch it out to form a "triangle" out of the connection.
3.  Select the connection tool and begin a new connection on one side of the triangle and attempt to drag this connection to the opposite side.  While you are dragging within the "triangle" formed by the first connection you will notice that the ghosted new connection is not visible.
4.  Now drag the same new connection event outside of the "triangle" and notice that the ghosted new connection appears visible.

Expected Behavior:
Ghosted connection should always be visible.

Actual Behavior:
Ghosted connection is not visible while dragging a new connection (from an existing connection with the connection tool) within the "bounds" of a connection's bend points.
Comment 1 Craig Petre CLA 2011-05-11 11:08:53 EDT
Created attachment 195372 [details]
Dragging a new connection within the bounds of an existing connection's bend points
Comment 2 Craig Petre CLA 2011-05-11 11:09:48 EDT
Created attachment 195374 [details]
Dragging the same new connection outside of a current connection's bend point boundary
Comment 3 Christian Brand CLA 2011-05-27 04:58:20 EDT
Problem has been solved.

Hard to find - easy to fix!
;-)
Comment 4 Michael Wenz CLA 2011-05-27 05:20:22 EDT
Bookkeeping
Comment 5 Michael Wenz CLA 2011-06-24 08:50:52 EDT
Part of Graphiti Indigo 0.8.0