Simulator: does not always load sim properties correctly from old symbols
Description
In my personal symbol library made with older versions of KiCad, I have pre-populated simulator fields (model, params, etc). For one of them "pot k=0.5 r=100k", kicad does not detect that this is a model and instead falls back to "Raw Spice Element":
After manually selecting model file and model, it updates to the expected state:
I assume it's not failing to parse the model, since I can select it manually and it works.
For another subcircuit model (TL072_CHIP), all works fine! Both subcircuit model files have the same file ending and live in the same directory (TL072.lib and pot.lib)
KiCad Version
macOS nightly 7.99 but version says:
Application: KiCad Schematic Editor arm64 on arm64
Version: (7.0.0-122-g9f10c142c4), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.3.1
FontConfig 2.14.0
libcurl/7.79.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.45.1
Platform: macOS Monterey Version 12.5.1 (Build 21G83), 64 bit, Little endian, wxMac
Build Info:
Date: Feb 16 2023 01:20:11
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.3
Curl: 7.77.0
ngspice: 38
Compiler: Clang 13.0.0 with C++ ABI 1002
Build settings:
KICAD_SPICE=ON