GAL canvas pans forever if tool canceled while panning

Bug #1674022 reported by John Beard
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Tomasz Wlostowski

Bug Description

This is a rather annoying bug in the GAL canvases (both OpenGL and Cairo) on current master (98e3bfb95)

To trigger it:

* Activate the router tool
* Activate the auto-panning by clicking and starting a track
* Move the cursor off the canvas - the canvas will start to pan
* Press "Esc" to exit the tool
* The tool will be exited (and the cursor will disappear), but the canvas will continue to pan as before, even if you bring the pointer back onto the canvas.
* Clicking on the canvas will stop the panning, pressing "Esc" or "Home" does not stop it.

This doesn't seem to happen for the drawing tools (line, circle, arc, etc).

This is particularly annoying, because when the canvas pans unexpectedly because the tool is still active, the reflex is to hit "Esc" which makes it worse as moving the cursor back to the canvas will then not be enough to stop it working.

Tags: gal pcbnew
Revision history for this message
John Beard (john-j-beard) wrote :

Setting Medium because it's a pretty jarring bug that's quite frustrating as it happens when the user is already "confused" about the tool state.

Eldar Khayrullin (eldar)
Changed in kicad:
status: New → Confirmed
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision f599f10a032880ecf13e7bc2e6c017e422fd18c9
https://git.launchpad.net/kicad/patch/?id=f599f10a032880ecf13e7bc2e6c017e422fd18c9

Changed in kicad:
status: Confirmed → Fix Committed
assignee: nobody → Tomasz Wlostowski (twlostow)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.