Dragging trace from context menu doesn't work
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,
Platform: Linux 3.10.89-1-MANJARO x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.58.0
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:/
Changed in kicad: | |
assignee: | nobody → Tomasz Wlostowski (twlostow) |
status: | New → Confirmed |
Changed in kicad: | |
importance: | Undecided → Low |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
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::performDr agging( ) 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.