Warn when loading old schematics that have missing required junctions
Description
When loading a schematic in eescheema v6.0.5 that was created in v5.1.12 where a wire overlaps (but does not connect to) a symbol pin, a junction is added connecting the pin to the crossing wire.
Expected behaviour: a junction should not be added
Schematic as created in v5.1.12
Schematic when loaded in v6.0.5 (issue was also present in 6.0.1). Note the junctions on the resistor pins.
Steps to reproduce
- Create a schematic in v5 with a wire overlapping a symbol pin.
- Delete the junction that is automatically created, and save
- Load the schematic in v6
KiCad Version
KiCad v5.1.12 installed via Scoop on Windows 10
Application: Eeschema
Version: (5.1.12)-1, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.77.0 OpenSSL/1.1.1k (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.5.0 libidn2/2.3.1 libpsl/0.21.1 (+libidn2/2.3.1) libssh2/1.9.0 nghttp2/1.43.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.75.0
OpenCASCADE Technology: 7.5.0
Curl: 7.77.0
Compiler: GCC 10.3.0 with C++ ABI 1014
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=OFF
KICAD_USE_OCC=ON
KICAD_SPICE=ON
KiCad v6.0.5 installed via Scoop on Windows 10
Application: KiCad (64-bit)
Version: (6.0.5), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.82.0-DEV Schannel zlib/1.2.12
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: May 3 2022 00:36:16
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.82.0-DEV
ngspice: 36
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON