KiCad crashes without restarting when changing symbol simulation field name visibility
Description
In the symbol editor, when editing a symbol, and setting the Sim.Library and Sim.Name fields to show their field names, attempting to edit the simulation properties results in usually one, but sometimes two successive yet slightly-different file not found error dialog boxes, followed by a hard exit of all of KiCad.
Steps to reproduce
- Assign a simulation library file and model to a symbol
- Set those fields to show their field name
- Close out the field edit dialog and reopen it
- Attempt to edit the simulation properties again
Screenshots
Notice the slightly malformed paths it's trying to open.
This seems to be due to an incomplete fix of #13996 (closed).
KiCad Version
Application: KiCad x64 on x64
Version: 7.0.7, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1-DEV Schannel zlib/1.2.13
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Aug 14 2023 02:42:39
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.7.1
Curl: 7.88.1-DEV
ngspice: 40
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
KICAD_SPICE=ON