/ in sheet name crashes schematic editor
Description
Special characters such as /
are not allowed in heirarchial sheet names. However, it appears as though some sheets have somehow gotten them. When editing these, the Schematic Editor crashes.
In versions prior to 7.0 (tested 6.99.0-2748-g26cbdcf3 and 6.0, for example), the program would refuse to allow users to close the box, and presented an error. In versions after 7.0 (tested 7.0.2 and 7.0.6)
Test files
I do not see an option to upload test files to GitLab, however the file in question is https://raw.githubusercontent.com/joshajohnson/ecp5-mini/master/hardware/0.2/ecp5-mini.kicad_sch which is part of https://github.com/joshajohnson/ecp5-mini/tree/master/hardware/0.2
Steps to reproduce
- Open
ecp5-mini.kicad_sch
- Edit
SD / Hyperram
in the lower-right corner - Click "Ok"
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: 7.0.6, 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 11 (build 22000), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Jul 6 2023 04:56:45
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.6.3
Curl: 7.88.1-DEV
ngspice: 40
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
KICAD_SPICE=ON