Schematic bus definitions spaces caused 1 hour debugging
Description
The bus definitions doesn't trim spaces at end and beginning. This invisible sign caused over 1 hour of debug time.
Steps to reproduce
- Make a bus definition and add a space " " after the name
- Use the bus definition and don't add the blank space
- Spend more than 1 hour debugging
KiCad Version
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 8.0.8-unknown-202501290021~8b811aa383~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.10.1
HarfBuzz 2.6.4
FontConfig 2.13.1
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu, x11
OpenGL: NVIDIA Corporation, NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2, 4.6.0 NVIDIA 470.256.02
Build Info:
Date: Jan 29 2025 00:21:04
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.6.3
Curl: 7.68.0
ngspice: 43
Compiler: GCC 9.4.0 with C++ ABI 1013
Build settings: