Skip to content

Pinned libraries seem to unpin at random

Description

Current behavior: Libraries pinned in the Symbol Editor will appear pinned from the Choose Symbol dialog in Eeschema, however at random it unpins the library. Expected behavior: Pinned libraries should stay pinned until unpinned by the user

I use local libraries on my projects and pin them in the Symbol Editor to more quickly find them. When I use the Choose Symbol dialog in Eeschema, pinned libraries are sorted to the top of the item list, as expected. However, seemingly randomly, the library will become unpinned in the Choose Symbol dialog, and I need to open the Symbol Editor to re-pin the library.

Steps to reproduce

  1. Pin a library in the Symbol Editor. It will be sorted to the top of the item list.
  2. Open Eeschema and add a symbol. In the Choose Symbol dialog, libraries pinned in the Symbol Editor will be sorted to the top. Seemingly randomly (I haven't found a pattern myself), the library will unpin itself and you need to go back into the Symbol Editor to re-pin the library.

I suggest a couple of solutions to this. If we can figure out the underlying cause of why the libraries randomly unpin and fix that, that would be the best solution. In leu of that, can we add the "Pin Library" option to the Choose Symbol dialog, so libraries can be pinned in either the Symbol Editor or the Choose Symbol? That would be a nice feature regardless of fixing the underlying cause in either case.

KiCad Version

Application: KiCad (64-bit)

Version: (6.0.6), release build

Libraries:
	wxWidgets 3.1.6
	libcurl/7.82.0-DEV Schannel zlib/1.2.12

Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Jun 18 2022 23:26:20
	wxWidgets: 3.1.6 (wchar_t,wx containers)
	Boost: 1.79.0
	OCC: 7.6.0
	Curl: 7.82.0-DEV
	ngspice: 37
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON