Issue migrating schematic with duplicated hierarchical sheets to KiCAD 6
Description
Migrating KiCAD 5 schematics with multiple copies of a hierarchical sheet on a schematic causes all duplicated symbols to disappear; where KiCAD 5 shows each copy of a hierarchical sheet as having its own unique components with unique reference designators, KiCAD 6 will show all copies of the hierarchical sheet as having only a single set of shared reference designators.
Steps to Reproduce
- Open the attached KiCAD 5 project in KiCAD 5. Project should perform as intended, as each hierarchical sheet will have its own unique set of components, and four sets of components should show up in the symbol properties table.
- Open the attached KiCAD 5 project in KiCAD 6.0.9. Entering any of the hierarchical sheets will show the same set of reference designators, and opening the symbol properties table will only show a set of components from a single hierarchical sheet, not four copies of the same sheet.
Example Project: kicad-hierarchical-sheet-bug.zip
KiCAD Version
Application: KiCad (64-bit)
Version: (6.0.9), release build
Libraries:
wxWidgets 3.2.1
libcurl/7.83.1-DEV Schannel zlib/1.2.12
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Oct 29 2022 23:44:28
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON