Bug #36165 Connection caption(s) should be able to be snapped to end points
Submitted: 17 Apr 2008 0:38 Modified: 26 Nov 2008 19:06
Reporter: Martin Gara Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:5.0.17 OSS RC rev 2972 OS:Windows (Win2K)
Assigned to: CPU Architecture:Any

[17 Apr 2008 0:38] Martin Gara
Description:
Currently there does not seem to be an ability to position connection captions relative to anything other than the connection line itself.
When the Draw Split option is chosen and the db objects are moved around on a diagram the caption(s) can end up being inappropriately placed on the drawing.
It would be useful if captions were able to be "snapped" to the end points - this is particularly true when the connection line is not visible.

How to repeat:
In a diagram, edit a connection between 2 objects.
Assign a Caption name and a 2nd caption name and then choose the Draw Spilt option.
Position the Captions, one to each connection point.
Move the connected objects.
Observe that the captions do not remain with the objects but instead "float" along the invisible connection line.

Suggested fix:
When Visible is chosen the caption(s) should snap to the nearest connected object if they are with 20 pixels (this could be global setting value) of the object, otherwise they will snap to the connection line.
When Draw Split is chosen the captions will always snap to the nearest connected object - unless they are already snapped to the nearest object (you don't want them jumping ship to the other connected object if the objects are moved over each other).
[26 Nov 2008 19:06] Susanne Ebrecht
Many thanks for writing a feature request. We will discuss this.