PNS router pushes "floating" vias in to traces and creates DRC

Bug #1833216 reported by Frank Severinsen on 2019-06-18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
Jeff Young

Bug Description

Please see attached video.

If a via isn't connected via a trace, the PNS can push it into a trace, causing a DRC.

Tested on Nightly and pre 5.1.3

Application: KiCad
Version: 6.0.0-unknown-b5cf03f~100~ubuntu19.04.1, release build
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0 librtmp/2.3
Platform: Linux 5.0.0-17-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:

Revision history for this message
Frank Severinsen (shack) wrote :
Frank Severinsen (shack) on 2019-06-18
tags: added: pcbnew pns
tags: added: drc
Changed in kicad:
assignee: nobody → Tomasz Wlostowski (twlostow)
status: New → Triaged
Changed in kicad:
importance: Undecided → Medium
milestone: none → 5.1.3
Revision history for this message
eelik (eelik) wrote :

Tomasz, because you took this, can you say if this is the same thing which has bugged me, namely that if I drag a lone via with D in PNS routing mode (grabbing the via directly, not pushing it with a track as in the video) it doesn't respect DRC and doesn't push other items?

Changed in kicad:
milestone: 5.1.3 → 5.1.4
Revision history for this message
Jeff Young (jeyjey) wrote :

@Tom, I wandered into this area trying to fix another bug (

I'm not sure how much success I'll have here, but I just wanted to flag that I am currently working in this area.


Changed in kicad:
assignee: Tomasz Wlostowski (twlostow) → Jeff Young (jeyjey)
status: Triaged → In Progress
Revision history for this message
Jeff Young (jeyjey) wrote :

OK, I didn't fix the original bug, but I did fix:

1) dragging a free (stitching) via now shoves
2) dragging a free via now respects DRC
3) via dragging now supports spring-back while dragging

I'll commit it shortly after some more testing.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 79934a327e0746bfee280e0a4fadfc500e676e94

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  Edit
Everyone can see this information.

Other bug subscribers