pcbnew: "Delete" does not work when selection is ambiguous

Bug #1835371 reported by Giorgio Croci Candiani
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
High
Jeff Young

Bug Description

When routing track tool ("x" key) is active, but no track is currently being drawn, pressing "del" while pointing a track appears not to work.

It is easy to verify that this happens when the selection of the underlying elements is not unambiguous: in fact, doing the same when the tool is not active, the selection menu for the target element appears.

I think it is straightforward that the same menu should appear even when the tool is active.

I didn't notice if this also happens with other tools; however I can say that the behaviour is there from quite a few releases, not new to this one.

Application: Pcbnew
Version: (5.1.0-1171-g743c65012), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Tags: pcbnew
tags: added: pcbnew
Seth Hillbrand (sethh)
Changed in kicad:
importance: Undecided → Low
milestone: none → 5.1.4
status: New → Triaged
Revision history for this message
Jeff Young (jeyjey) wrote :

This can cause crashes when the menu state gets tangled up in the tool state.

Changed in kicad:
importance: Low → High
assignee: nobody → Jeff Young (jeyjey)
status: Triaged → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

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.