Pcbnew: Incorrect ratsnest after opening footprint properties

Bug #1809921 reported by Fabián Inostroza on 2018-12-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Seth Hillbrand

Bug Description

Double click on any footprint to open the properties dialog and then close it.
Pcbnew display ratsnest for the component that should not be there since all connections are done.

The same happens in 5.0.2 but in this version the ratsnest inside the pads are not shown.

See the attached video.

Application: kicad
Version: (6.0.0-rc1-dev-1437-g4d9b4428f-dirty), release build
    wxWidgets 3.0.4
    libcurl/7.62.0 GnuTLS/3.5.19 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.35.1 librtmp/2.3
Platform: Linux 4.18.0-3-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.62.0
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:

Seth Hillbrand (sethh) on 2018-12-27
Changed in kicad:
importance: Undecided → Medium
milestone: none → 5.1.0
status: New → Triaged

There are other issues with ratsnest but I haven't found a way to consistently replicate them, sometimes after finishing a track the ratsnest doesn't disappear and sometimes the ratsnest aren't shown.

These issues wheren't there some weeks ago, I will try reverting some commits.

Seth Hillbrand (sethh) on 2018-12-31
Changed in kicad:
assignee: nobody → Seth Hillbrand (sethh)
status: Triaged → In Progress

I found that code in commit c777eac00044 triggers the issues (ratsnest not showing/disappearing and inside THT pads). If I comment line 1235 in pcbnew/tools/pcb_editor_control.cpp the the issue goes away.

To reproduce the problem open the pic_programmer demo project, delete the track that connects R10 and C4, move R10 and undo, route the net you previously disconnected. The ratsnet will still be shown after finishing the track.

KiCad Janitor (kicad-janitor) wrote :

Fixed in revision daee58a0ab08149fec99b63974e67d4c94e848e8

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

Bug attachments