V10 Regression: Inverted group bus members lost from the bus
Description
When a bus label contains inverted members, these nets are not considered bus members. If the bus connects across sheets, the inverted bus members do not connect between sheets. This is a fatal regression from v9.
ERC no longer recognizes existing inverted bus member entries as members of the bus. Unfolding from the bus creates a non-inverted bus entry.
Steps to reproduce
- Using KiCad v9, create a group bus using a global label with both inverted members (such as
~{CAS},~{RAS},~{WE}) and non-inverted members (such asA[2..0]). - Unfold these bus members. Note the inverted members are displayed with overbars.
- Create a second sheet and instantiate the same global group bus.
- Unfold these bus members on the second sheet.
- Highlight one of the non-inverted bus members. Note that it is highlighted on the other sheet.
- Highlight one of the inverted bus members. Note that it is highlighted on the other sheet.
- Save the KiCad project and close v9.
- Open the schematic with KiCad v10. Note that all bus members are properly displayed in the bus label.
- Run ERC. Note ERC reports these inverted members are "graphically connected" but not members of the bus.
- Highlight one of the non-inverted bus members. Note that it is highlighted on the other sheet.
- Highlight one of the inverted bus bus members. Note that it is not highlighted on the other sheet, indicating there is not a connection.
- Attempt to unfold an inverted member of this bus. Note that the created net is not inverted.
This bug is fatal to a design, as the connections of inverted bus members are lost across sheets. I'm guessing this means that updating such a PCB will result in the tracks for the inverted bus members being disconnected or destroyed, though I have not tested this.
KiCad Version
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 10.0.0-rc2-4d14471ef6~187~ubuntu24.04.1, release build
Libraries:
wxWidgets 3.2.4 GLX
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.15.0
Platform: Ubuntu 24.04.3 LTS, 64 bit, Little endian, wxGTK, X11, x11, KDE, KDE
OpenGL: NVIDIA Corporation, NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2, 4.6.0 NVIDIA 580.126.09, GLX 1.4
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.83.0
OCC: 7.6.3
Curl: 8.5.0
ngspice: 43
Compiler: GCC 13.3.0 with C++ ABI 1018
KICAD_IPC_API=ON
KICAD_USE_PCH=OFF
Locale:
Lang: en_US
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited by Reece Pollack