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

Bug 437076

Summary: Improve user related interactions w.r.t. to inserting/moving/deleting of waypoints
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF FXAssignee: Matthias Wienand <matthias.wienand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.wienand
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2014-06-10 14:20:26 EDT
For end-users, waypoint-related operations (bending of curves) show the following inconsistencies:

1) waypoints cannot be deleted when dragging them onto end points
2) when inserting a new waypoint, it cannot be deleted by dragging onto another waypoint or end point before the creation has been committed.

We will have to adjust this.
Comment 1 Alexander Nyßen CLA 2014-06-10 14:40:28 EDT
Furthermore, when deleting a waypoint, the handle is shortly visible at position (0,0).  We should ensure that does not happen.
Comment 2 Alexander Nyßen CLA 2014-06-11 07:30:32 EDT
Fixed indices and parameters were not properly assigned to handle parts and ensured updates are only performed on those handles that are actually affected (by sorting them and only updating the indices if needed). Thereby, the problem documented in comment #1 does no longer apply. What remains is a solution for 1) and 2).
Comment 3 Matthias Wienand CLA 2014-06-12 07:48:09 EDT
Fixed deletion of waypoints when dragging a newly created waypoint onto another waypoint (issue 2). The first issue remains.
Comment 4 Matthias Wienand CLA 2014-06-12 08:55:03 EDT
Implemented deletion of the first/last waypoint when dragging it onto the start/end point of the connection. Unfortunately, you still cannot delete the first/last waypoint by dragging the start/end point onto it.
Comment 5 Matthias Wienand CLA 2014-06-12 09:26:11 EDT
Updated list of issues:
 1) Waypoints cannot be deleted when dragging end points onto them.
 2) Hover feedback is missing for waypoint handles.
 3) Hover feedback is missing for connections.
Comment 6 Matthias Wienand CLA 2014-07-17 13:21:33 EDT
All issues have been resolved and the relevant code is published on the master branch. Therefore, I am changing the status to RESOLVED, FIXED.