Changing nickname on symbol library causes libraries to vanish on GUI
Description
If I create a new symbol library and then change it's nickname, all the libraries vanish from the GUI and I need to close the symbol editor and re-open to view them again.
While doing this I also experienced a issue once (So may or may not be related) where the memory had some kind of run away effect causing KiCad to crash.
[61388.577239] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=user.slice,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-org.kicad.kicad-54958.scope,task=kicad,pid=54958,uid=1000
[61388.577355] Out of memory: Killed process 54958 (kicad) total-vm:6568500kB, anon-rss:2567980kB, file-rss:300kB, shmem-rss:1076kB, UID:1000 pgtables:6424kB oom_score_adj:100
[61460.467665] __vm_enough_memory: pid: 56537, comm: kicad, not enough memory for the allocation
[61460.467677] __vm_enough_memory: pid: 56537, comm: kicad, not enough memory for the allocation
[61460.467695] __vm_enough_memory: pid: 56537, comm: kicad, not enough memory for the allocation
Steps to reproduce
- Create new project
- Run symbol editor
- File / New Library / Project
- I called it edge-connector
- Go to Preferences / Manage Symbol Libraries
- Change nickname of edge-connector to Edge Connector
- Click Ok.
- All the libraries that were visible on the left are now missing.
KiCad Version
Application: KiCad x86_64 on x86_64
Version: 8.0.1-unknown-202403142319~b9d3b571bc~ubuntu23.10.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.13.1
HarfBuzz 8.0.1
FontConfig 2.14.2
Platform: Ubuntu 23.10, 64 bit, Little endian, wxGTK, X11, ubuntu, x11
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 8.2.1
ngspice: 42
Compiler: GCC 13.2.0 with C++ ABI 1018
Build settings: