GAL Picker tool doesn't start with cursor or snapping

Bug #1667580 reported by John Beard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Maciej Suminski

Bug Description

The PICKER_TOOL used by several GAL actions for choosing a point has a problem when it first starts, for example, Set Grid Origin and Set Drill Origin.

Although it sets grid snap and cursor on in the PICKER_TOOL::setControls() function, the cursor and snap don't take effect until after the first click.

This is despite the picker tool calling void setControls() before the event loop starts.

One you click once (and the click handler fires once), the next point selection will have both cursor and grid snapping enabled, as originally expected. So, that's a workaround.

This is in contract to actions like DRAWING_TOOL::SetAnchor(), which don't use the PICKER_TOOL, and get the cursor and snapping right away.

Tags: gal pcbnew grid
Changed in kicad:
status: New → In Progress
assignee: nobody → Maciej Sumiński (orsonmmz)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: In Progress → Fix Committed
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.