When a form have Glue Points added you can't delete it. No option in the tool bar allows to delete glues.
That's not correct, you CAN remove glue points with context menu or menu
'Edit -> Cut', and also with Del key
But more or less reproducible with 3.5.0., it's not intuitive that a 'Delete' item is missing.
Nothing new, OOo heritage.
And for what a Cut -> Paste function for glue points might be useful - I don't know
Thanks for bugreport
In toolbar indeed no such tool. All tools there from category "Drawing". But in this category no tools for deleting glue point.
Currently, for deleting glue point we should use "Cut" from context menu
Exist also another problem: automatically added 4 glue point, which impossible to delete.
And another: glue points not working with grouped objects.
No delete glue point in 3.5.3, so not implemented yet, changing status to New
Old issue resurrected, and hijacked somewhat.
We still have no explicit "delete glue point" UI control. The context menu contains of unclear positional functions - according the help it defines the connector's direction, but changing it from left top somewhat else has no effect. The context menu contains of a toggle item "insert point" - makes no sense at all, and "adapt position to object" that hides another six options by default (changing those leads to an assertion here). Another observation is that the connector related menu items aren't available anymore when the connector is attached.
HIG says "Use context menus for well-known and frequently used functions only." So my suggestion is to move the obscure options into the connector dialog. At least the positional stuff should be moved into a submenu called "Connector direction" to make clear what "left" it is good for. For the "Adapt Position" thing a submenu with all the current options plus "relative" (as in the toolbar) or "automatical" improves the situation a bit. But again, all these options should rather go into the dialog.
The "insert point" should be there when in adding glue point mode. But only if no point is selected. Otherwise it has to offer the "delete glue point" function. Because of the intended redundancy the glue points toolbar needs an additional button for this function (disabled when no user-defined glue point is selected).
Additionally, we should rethink the complete glue point behavior. It's not necessary to go into another mode to add a glue point. The menu item would be sufficient to add a point. And it could be accompanied by a toolbar button similar to the current glue point that "auto enables" the gl point mode on click and disabled it afterwards.
Adding EASYHACK because most changes are related to the context menu.
Created attachment 124789 [details]
Context menu for user-defined glue points
*** Bug 90584 has been marked as a duplicate of this bug. ***
NEEDINFO for the code pointers.
Doubt we need a delete option in the context menu to delete a glue point, as the delete key is sufficient for this option and is used to delete all type of objects and elements. If it had to go somewhere, an uno command would need to be created and it would likely go in the glue points toolbar. I would close this as WFM.
@stuart, @cor: what do you guys think?
Some STR from bug 90584
1) Open Draw
2) Draw a shape
3) Turn on glue points (Edit > Glue Points)
4) Insert a glue point onto the shape
5) Right-click the glue point
Had not played much with the diagramming connectors and their anchors/glue points.
So found this gets a bit awkward. The Glue Points toolbar and context menu applies ONLY to "custom" glue points that are added to objects with the Insert Glue Point action. The tools have no affect on the "default" glue points created on the edges of simple polygon draw objects.
In a draw shape absent the "default" glue points the connectors will attach to the edge of the draw shape with some rules about crossing the body of the shape.
The "default" glue points can not be deleted nor their "rules" modified.
Once a connector has been attached to a "custom" glue point, the glue point can not be selected to be modified--so the connector has to be pulled away to another anchor first.
So there should probably be an Uno action--on the context menu, and on the glue points toolbar--to release the "custom" glue point and send the connector end to another glue point or sit unconnected on the canvas.
The unattached "custom" glue point can then be selected. Once selected its properties can be modified--via the context menu, or on the glue points toolbar. Or it can be deleted, but just with a <Delete> key. Seems that with such a complex object behavior being controlled from both context menu and toolbar--omission of Delete action from the context menu is incomplete.
But in the context of expanding Draw diagramming capability, I also could envision other UI controls that would be of use--duplicate the glue point (with its directional attribute) for example. But guess with too much more complexity, the context menu starts to become unclear--using split buttons on the toolbar might then become the better UI.
So how often do we expect LO to be used over DIA or Visio--is this a facet to enhance?
(In reply to V Stuart Foote from comment #8)
> Once a connector has been attached to a "custom" glue point, the glue point
> can not be selected to be modified--so the connector has to be pulled away
> to another anchor first.
I can select, modify and delete the glue-point without detaching the connector. Perhaps you have not deselected the connector? It may not have red end points, when you try to click on the glue-point.
(In reply to Regina Henschel from comment #9)
> I can select, modify and delete the glue-point without detaching the
> connector. Perhaps you have not deselected the connector? It may not have
> red end points, when you try to click on the glue-point.
Hmm, interesting. Find I am unable to select the "custom" glue point while it has a connector attached. Attempts to select always select the connector with no way to shift to the glue point. I have to move the connector off the glue point to be able to select it. Or am I missing something?
Testing on Windows 8.1 Ent 64-bit en-US with
Build ID: ea9a90d83d92076d41abfd31a1fd3a5d84b6ba92
CPU Threads: 8; OS Version: Windows 6.29; UI Render: GL;
TinderBox: Win-x86@39, Branch:master, Time: 2016-08-26_06:19:43
Locale: en-US (en_US); Calc: CL
missing code pointer, difficulty<foo>
Changing status: NEEDINFO -> NEW
Adding keyword 'needsDevEval'
This applies more to GSoC than an easyHack.
Is there an reason why cut, copy, past isn't available in gruepoint.xml Maxim removed them 2016 when porting the context menu.
I'm on 126.96.36.199 .
A Glue point deletion tool would be a welcome addition.
To me there are currently two cases where this is needed:
1- if one places a Glue Point on a shape exactly on top of a corner or center point of one of the sides of a rectangle for example, there is no way to select the Glue point after, to move it or to delete it. The shape basic corner or center point will always be selected.
The Selecting Underlying Objects method doesn't work (Alt+click or Alt+Shift+click) either in that case.
The only way is to delete the whole shape and redo it.
2- once there is a connector attached to a glue point, you have to detach the connector before the glue point can be selected.
Removing needsUX now, we need at least a command in the context menu.