Dragging trace from context menu doesn't work

Bug #1505419 reported by Lukas Jackowski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Tomasz Wlostowski

Bug Description

Application: pcbnew
Version: (2015-10-10 BZR 6258)-product debug build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1009,GCC 5.2.0,wx containers,compatible with 2.8)
Platform: Linux 3.10.89-1-MANJARO x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.58.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

When using the trace tool in opengl mode, I can 'Drag' the trace by pressing D while the cursor is on a trace. However, when I right click on a trace, and select drag, the trace get's highlighted, but I can't drag it.

Here is a video demonstrating it: https://www.youtube.com/watch?v=MO01wy-sdN4

Changed in kicad:
assignee: nobody → Tomasz Wlostowski (twlostow)
status: New → Confirmed
Changed in kicad:
importance: Undecided → Low
Revision history for this message
Lukas Jackowski (postbotenamt) wrote :

I've tried to trace down the bug myself and came to the conclusion that the events for both the hotkey 'D' and the right-click context menu get correctly passed to the tool, up until void ROUTER_TOOL::performDragging() is called.

I suspect that the bug lies within the m_router->StartDragging( m_startSnapPoint, m_startItem ); call, but when I looked at the code below that I found that it's all uncommented and bailed out, it's no fun to develop with a codebase like this.

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

I cannot reproduce the bug in the current nightly, therefore I am marking it as 'fixed'. If you still experience the problem, please reopen the report.

Changed in kicad:
status: Confirmed → 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.