| Summary: | [diagram] Support deleting of bend points | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Konstantin Komissarchik <konstantin> |
| Component: | Sapphire | Assignee: | Shenxue Zhou <shenxue.zhou> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | Keywords: | usability |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Konstantin Komissarchik
Bulk deferral of diagram-related items to the 0.5 release. Deletion of bend points one at a time is actually supported. When a connection with bend points is selected and the cursor is moved close to a particular bend point, the cursor changes to cross-with-arrows shape. If you click and drag, the bend point is moved. But if the bend point is moved towards the straight line between the two points at the each side of the bend point on the connection, the UI gesture is interpreted as a request to delete the bend point. The difficulty in providing "delete" context menu on a single bend point is we don't have the concept of selecting a single bend point on a connection. When a connection is selected, all the bend points on it are highlighted. On the other hand, we could provide a "delete all" context menu on a connection to remove all the bend points on it. Does this make sense? I would be fine with a "delete all bend points" action. Added "delete all bendpoints" action on connections. 1. The action should not be defined/implemented in the gef renderer. It should be fully implemented in the main ui plugin. 2. We should treat "bend points" as two separate words as it is the most common usage today, contrary to GEF's approach of making it one word. Please update the action label, classnames, ids, etc. accordingly. 3. There needs to be a section for this in the enhancements doc. Moved the action to the main ui plugin. Renamed "bendpoint" to "bend point" in class names, action labels etc. Added a note in enhancement doc. Verified. Closing. I moved the delete all bend points action to show up next to the delete action. I also tweaked the wording in the enhancements doc. The enhancement doc could use a screen capture of this, but we need to wait on that until there is no "direct edit" action in the context menu. Will open a separate bug on that. |