OpenGL & Cairo Canvas "End Track".

Bug #1424003 reported by firewalker
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Rohan Agrawal

Bug Description

When in OpenGL or Cairo canvas someone has to press "End Track" (or End key) twice to actually end a track. Is this normal for those modes? I Standard canvas a single "End track" terminates the track.

Application: kicad
Version: (2015-02-20 BZR 5435)-product Release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.9.2,wx containers,compatible with 2.8)
Platform: Linux 3.18.6-1-ARCH i686, 32 bit, Little endian, wxGTK
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON
         KICAD_USE_WEBKIT=ON

Tags: cern gal

Related branches

summary: - OpenGL & Cairo Camvas "End Track".
+ OpenGL & Cairo Canvas "End Track".
tags: added: cern gal
Revision history for this message
Nick Østergaard (nickoe) wrote :

On my system with 5435 also on archlinux I don't need to press the Esc key twice, but on the other hand the context meny End Track does not seem to work at all.

Revision history for this message
firewalker (firew4lker) wrote :

The escape key works but the binded key for "End track" is the key End.

If you right click and select "End track" and the repeat it, without moving the mouse, does it work? I don't know if this is a bug.

Revision history for this message
Nick Østergaard (nickoe) wrote :

Ohh, I pressed the Esc key earlier, why didn't anyone notice? I retract my comment in #1. Currently in 5717 I have to press the End key twice to end, and if I use the context menu without moving the mouse it will also end. This definitely looks like a bug to me.

The intended behaivour for the End key (the End track in the context menu) is intended to end the track immediately, but it does not apparently.

Jon Neal (reportingsjr)
Changed in kicad:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Jon Neal (reportingsjr) wrote :

I believe this has to do with PNS_ROUTER::FixRoute() not knowing that it has been called from "End track" so it commits/sets the track the first time, and then the second time if there has been no movement (so no extra track to commit) it will end it.

Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Since the merge request didn't get linked to this bug...

https://code.launchpad.net/~rohbotics/kicad/bug_1424003/+merge/285826

Changed in kicad:
status: Confirmed → Fix Committed
Changed in kicad:
assignee: nobody → Rohan Agrawal (rohbotics)
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.