D doesn't grab the end of the short last segment in routing tool

Bug #1813665 reported by eelik
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Expired
Medium

Bug Description

In the attached video it can be seen that when a track has a short last segment the Drag command with "D" doesn't grab the farthest end of the last segment even though the cursor is on it. Somehow it grabs the joint of the last two segments and the result is unwanted. Therefore the user is forced to delete the last segment before dragging the end of the track.

Application: kicad
Version: (6.0.0-rc1-dev-1622-g9d99fd188), release build
Libraries:
    wxWidgets 3.0.4
Platform: Linux 4.15.0-43-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Compiler: GCC 7.3.0 with C++ ABI 1011

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

Tags: pcbnew pns
Revision history for this message
eelik (eelik) wrote :
eelik (eelik)
description: updated
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: New → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
Revision history for this message
eelik (eelik) wrote :

The fix doesn't seem to work. I'm testing git a4d4d9a2419. If the farthest end point of the short segment is inside the second-last segment, "D" still grabs the joint of the two segments, not the farthest end point.

Revision history for this message
eelik (eelik) wrote :

Tested also in Windows with the latest nightly build. Doesn't work correctly.

Application: kicad
Version: (6.0.0-rc1-dev-1634-g93ecd44f5), 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 7 (build 7601, Service Pack 1), 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:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    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

Changed in kicad:
status: Fix Committed → New
Seth Hillbrand (sethh)
Changed in kicad:
importance: Undecided → Low
milestone: none → 6.0.0-rc1
status: New → Triaged
tags: added: pcbnew pns
Jeff Young (jeyjey)
Changed in kicad:
importance: Low → Medium
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/1796

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