Bezier line snap-to-object breaks when line is grouped
Submitted by Don Blaheta
Link to original bug (#534271)
Description
Please describe the problem: The bezier line's snap-to-object functionality (where the line "points at" the centre of an object but ends at the edge of the object) breaks when the line is grouped with anything else: the end of the drawn line actually moves to the centre of the object.
Steps to reproduce:
- Select box object and draw a box
- Make sure object snapping is on
- Select (regular) line tool and click-drag from well outside the box to in the inside the box; line should snap to the whole object (not just an edge control point)
- Select bezier line tool and click-drag from outside box to inside; line should snap to the whole object
- Click bezier line and shift-click regular line so both are selected
- Press Ctrl-G to group them.
Actual results: Regular line remains as-is, but bezier line moves so endpoint is now at centre of box
Expected results: Both lines should remain unchanged.
Does this happen every time? Yes.
Other information: Bug doesn't occur if snapped-to object is included in the group. The change this bug causes to the bezier line is permanent, as ungrouping (rather than undoing) leaves the bezier line in its new location.
Version: 0.96.1