Inkscape shouldn't crash any longer in this case (as of rev. #9728).
What happened was that while changing or resetting the node tool (or any other tool too), the desktop->event_context was NULL for a short period of time. This makes it impossible to process any events during that short period, but there has never been a check implemented to prevent this from happening. I've merely added a safety check which discards those inconvenient events.
The new node tool however did happen to generate a such inconvenient events, because when setting up the node tool it is assumed that the selection has changed, which again invokes a screen update, leading to GDK_LEAVE_NOTIFY events. I'll ask Krzysztof if he can look into this. Maybe it can be avoided to update the screen when setting up the node tool.
Inkscape shouldn't crash any longer in this case (as of rev. #9728).
What happened was that while changing or resetting the node tool (or any other tool too), the desktop- >event_ context was NULL for a short period of time. This makes it impossible to process any events during that short period, but there has never been a check implemented to prevent this from happening. I've merely added a safety check which discards those inconvenient events.
The new node tool however did happen to generate a such inconvenient events, because when setting up the node tool it is assumed that the selection has changed, which again invokes a screen update, leading to GDK_LEAVE_NOTIFY events. I'll ask Krzysztof if he can look into this. Maybe it can be avoided to update the screen when setting up the node tool.