Object snap doesn't work for "loop arrow" bezier lines
Submitted by Don Blaheta
Link to original bug (#534117)
Description
Please describe the problem: In a diagram with bezier-line arrows connecting the objects, one can use the "object snap" capability to have both ends of the line attached to (the centres of) objects, and the line itself is suppressed within the borders of the object, and the arrowhead is drawn at its edge. However, if the line represents a loop, so that both ends are attached to the same object, the arrowhead moves to the centre of the object and the entire line is drawn.
Steps to reproduce:
- Make sure object snap is on.
- Draw two boxes (that don't overlap and are separated by some space)
- Select the bezier line tool and drag from the middle of one box to the middle of another—the control line shows up inside each box, but the bezier line itself does not.
- Select one of the endpoints of the line, and drag it to the other box.
Actual results: The bezier line is drawn as a small loop in the middle of the box
Expected results: The line would emerge from one edge of the box and end at another edge of the box.
Does this happen every time? Yes.
Other information: The "arrowness" of the bezier line is not relevant to the bug, it's just the most common use case. The endpoint of the line doesn't have to actually be moved inside the box to trigger this behaviour, just get close, but I'm not sure how close (or why)—drag it to the inside of the object and the bug will repro every time afaict.
Version: 0.96.1