r9059/60: pencil tool sometimes fails when node snapping to grid is active
![](https://secure.gravatar.com/avatar/789edbb3a9b9f3f13815d199bfa4c81b.jpg?s=120&d=mm&r=g)
One of the changes in recent revisions 9059 or 9060 makes the pencil tool act strangely with default snapping settings (global node snapping enabled) while a grid is visible and set as active snapping target: it seems as if some key press or release events don't get processed immediately.
To reproduce: draw freehand curves with different mouse speed and timing of left-mouse-button-clicks. Sometimes neither the path outline while dragging nor the finished line when releasing the left mouse button are visible, yet the starting point is picked up for and added to a later drawn curve.
It does not happen with no grid visible nor when global snapping is disabled. This is reproducible with my usual preference settings as well as with a default (new) preferences.xml file.
I haven't seen it in earlier revisions <= 9058, but can reproduce it with Inkscape 0.47+devel r9060 and r9061 on OS X 10.5.8
~suv
![](https://secure.gravatar.com/avatar/cd17dd4027b39b6be66b833771c27352.jpg?s=120&d=mm&r=g)
On 02/07/2010 01:06 AM, ~suv wrote:
One of the changes in recent revisions 9059 or 9060 makes the pencil tool act strangely with default snapping settings (global node snapping enabled) while a grid is visible and set as active snapping target: it seems as if some key press or release events don't get processed immediately.
I'm already working on this, because I noticed it too. It appears that some events get lost when you click inside the bounding box of the pre-snap indicator.
Kind regards,
Diederik
![](https://secure.gravatar.com/avatar/944707ac28b0b18268f2a48b57d6f21e.jpg?s=120&d=mm&r=g)
On 02/07/2010 08:48 AM, Diederik van Lierop wrote:
On 02/07/2010 01:06 AM, ~suv wrote:
One of the changes in recent revisions 9059 or 9060 makes the pencil tool act strangely with default snapping settings (global node snapping enabled) while a grid is visible and set as active snapping target: it seems as if some key press or release events don't get processed immediately.
I'm already working on this, because I noticed it too. It appears that some events get lost when you click inside the bounding box of the pre-snap indicator.
Fixed as of rev. #9065!
Regards,
Diederik
participants (3)
-
Diederik en Rezi
-
Diederik van Lierop
-
~suv