(5.0.0-rc2-dev) Pcbnew: When ripping up tracks, the delete tool sometimes is de-selected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Low
|
Unassigned |
Bug Description
When ripping up (deleting) a parts of routed track, sometimes the delete tool remains selected and sometimes it doesn't.
There doesn't seem to be any pattern I can discern. Sometimes I have to click on the trashcan icon to reselect the delete tool and sometimes it remains selected. No special setup is needed to observe this.
Also... when deleting a track by clicking very close to the pad of a device, every so often the device will get deleted too with the same click. "Undelete" will restore the device. At first I thought I might have accidentally double-clicked, but I no longer believe this is likely.
While I'm complaining... why does KiCad use the same tool to rip up tracks as deleting components? This is dangerous and should be changed to provide separate rip-up and delete tools.
Built from source on a private branch descended from this commit:
07dc12f Fix incorrect UI management of Zoom to Selection, created by fix 2a419156
Application: kicad
Version: (5.0.0-
Libraries:
wxWidgets 3.0.2
libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.13.0-38-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
Curl: 7.47.0
Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_SPICE=ON
tags: | added: pcbnew |
Changed in kicad: | |
status: | New → Confirmed |
importance: | Undecided → Low |
To add more information: as far as I can see, the delete tool is deselected once a disambiguation menu pop ups.
I cannot reproduce the problem with excessive footprint removal. It would be very helpful if you could provide us a test case to investigate (a board file where you can reliably trigger the bug).
I would like to be sure I understand your request regarding separate delete and rip-up tools: should they only differ by the type of removed objects (one removes tracks, the other everything beside tracks)? If so, it will be adressed in a more generic manner with selection filter planned for v6.