Import sheet pin/Cleanup sheet pins ignores case
Description
The cleanup sheet pin and import sheet pin commands ignore case, but the ERC flags mismatched case as an error. When there is a case-mismatch, the Cleanup Sheet Pins option does not appear despite the name differing and ERC flagging it. When trying to import sheet pins, no new hierarchical labels are found, despite the name differing and ERC flagging it.
Steps to reproduce
- Create a hierarchical design with one top level sheet, TOP, and one subsheet, SUB.
- Go to SUB and add a hierarchical label called OUT
- Go to TOP and import sheet pins. Place the OUT sheet pin.
- Go to SUB and rename the hierarchical label to Out.
- Run the ERC. ERC flags the sheet pin as error "Sheet pin OUT has no matching hierarchical label inside the sheet.
- Right click on the SUB sheet symbol. Cleanup Sheet Pins does not appear (can't automatically remove OUT sheet pin)
- Select Import Sheet Pins. "No new hierarchical labels found" is displayed.
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: 7.0.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
Platform: Windows 11 (build 22621), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.83.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON