Comment 9 for bug 1594877

Revision history for this message
Sylvain Beucler (beuc) wrote : Re: crashes on shift+click rectangle rounding

(Apparently another report is #1522085.)

I eventually tracked the bug down to a "knot handler" that triggers various events that eventually delete it while it's still processing the click event.
(KnotHolder::knot_clicked_handler -> ShapeEditor::event_attr_changed -> ~KnotHolder)

AFAICS the related upstream commit is 1d2fa48c9a62c4929264cf5b59907f8d4f0e55b5
It introduces several other changed that are based on a newer code base.

The attached patch is a subset of that commit and fixes the issue, although I only tested in minimally.

I hope this will stabilize Inkscape until the next upstream release :)