Phantom ratsnest lines on footprint change

Is anyone else seeing this problem?
I get phantom ratsnest lines when I change the footprint. Trying to select things at the ends of the lines and deleting does nothing. All layers are visible.
I’ll see if I can see anything in a text editor view of the file.

image

Application: KiCad
Version: (5.1.5)-3, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW (actually Win10)
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.66.0
Compiler: GCC 9.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

I’ve been testing a bit further and it doesn’t happen every time.
Closing and opening the file erases the phantom lines.

I have seen such a bug, too, but haven’t bothered trying to repeat and report it. If you find a reliable way to repeat it, please report it so that it can be fixed.

I will see if I can produce the bug in a simple file that would be easy to share.
It ma be erratic, as I have had lock ups requiring Task Manager shutdown while trying to identify the sequence that produces the phantom lines.

I’ve attached a two part project that may be useful for others to see if this odd behaviour it can be duplicated.
before footprint change
No phantom rats nest lines yet, but footprint text that is in the first footprint, is not removed when the footprint is changed. The text reference point is pin one on the original footprint.


After moving one of the slik screen text items, I get this. Sometimes with a Kicad crash.

The phantom rats nest lines connect to the pin locations on the original footprint.
The text items can be deleted one by one.
I’m using un-modified parts & footprints from the Kicad libraries.
If I close & re-open the pcb file, the phantom rats nest lines are not present, but the silk screen text remains. Moving the text does not now cause any phantom lines or Kicad crash.

Application: KiCad
Version: (5.1.5)-3, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
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.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.66.0
Compiler: GCC 9.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
bugtest.zip (3.9 KB)

The project archive link is at the bottom of the previous message.
And here …
bugtest.zip (3.9 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.