FP Chooser shows all libraries, but no footprints
Description
The reproduction steps below provoke a situation where the FP chooser loads all libraries, but these are all empty. No footprint is loaded and shown.
There was a thread with similar symptoms (all libraries present, but no FP inside the libraries) on the forum some weeks ago. However, I don't know the outcome of that thread.
The reproduction steps are somewhat long, and I have not seen this behaviour during real work. Workaround currently is easy: close Kicad (complete, with closing kicad main project manager) and subsequently restart Kicad and continue work.
Nevertheless I set the priority to medium, as this points to some missing/false initialisation inside the code which (in worst case) can provoke other unwanted results.
Note: I'm not sure if the "missing dws file" part is needed for reproduction, this was just my testcase project.
Steps to reproduce
- open attached project, open kicad main manager. (schematic contains a copy of these reproduction steps): board_fp_chooser_not_working.zip
- notice non-existing board file and missing board dws-file in the left side pane of the kicad manager. Click on pcbnew icon (picture 1)
- get message: create new pcb file? --> yes (picture 2)
- get warning message: current set drawing sheet file not found. Ignore message. (picture 3)
- new pcb file created, black pcb canvas opened. standard pcb drawing sheet frame is added.
- LMB click on "add footprint" command (right toolbar). Footprint chooser opens. (picture 4)
- select any FP to add into the board.
- only sometimes: Notice the drawing sheet frame has disappeared!! First odditity. (not shown in the pictures)
- click to add 1...3 footprints. (picture 5)
- close pcbnew, get question "Save File?" --> No, discard your work (picture 6)
- back in kicad main manager
- again click on pcbnew icon to reopen the board editor (picture 7, second picture collection)
- again get message for "create new board?" and "missing drawing sheet file". (picture 8+9)
- new board opens, again with standard drawing frame
- again click "Add FP" icon --> FP chooser window opens (picture 10)
- But observe: all libraries are shown, but all libraries are without content!! (look at top headline of FP chooser: message "0 FP loaded" (picture 10)
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 8.0.2-25-gf15551a6b5, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings: