Component classes lingering in kicad_pcb
When I set a component class on some symbol, and then delete it, it stays stuck in the PCB.
Steps to reproduce
- Add a component class to a symbol
2) Update the layout 3) Select the associated footprint, see the class in the bar at the bottom
- Return to schematic, remove directive label and rule area
- Update the layout
- Select the same footprint and see the component class still hanging around
The
(component_classes
(class "MyCompClass")
)
can still be found in the .kicad_pcb file. Even after adding a new component class (using a Component Class field in the symbol attributes) and updating, the bar showed both.
Restarts of pcbnew did not fix. Though a restart of kicad entire eventually did.
KiCad Version
Application: KiCad x86_64 on x86_64
Version: 9.0.2-unknown-202505112105~9e17baecbc~ubuntu24.04.1, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.15.0
libcurl/8.5.0 OpenSSL/3.0.13 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.7) libssh/0.10.6/openssl/zlib nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.6.7
Platform: Ubuntu 24.04.2 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu, x11
OpenGL: NVIDIA Corporation, NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2, 4.6.0 NVIDIA 550.144.03
Build Info:
Date: May 11 2025 21:05:37
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.83.0
OCC: 7.6.3
Curl: 8.5.0
ngspice: 42
Compiler: GCC 13.3.0 with C++ ABI 1018
KICAD_IPC_API=ON
Locale:
Lang: en_US
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)

