[PCM] Toolbar icons disappear in Ubuntu

Summary

I created a simple sample PCM package of a IPC plugin, but the icon registered in PCM disappears when I quit KiCad and restart it. This only happens on Ubuntu.

Reproduction steps

  1. Here is the test file 'pcmpackage-version-test.zip'. This is a plugin that simply displays the KiCad version. https://github.com/g200kg/kicad-pcm-package-test

  2. Just after load this zip using PCM's [Install from File...], the toolbar icon will appear in PCB Editor.

  3. Quit KiCad and restart it.

  4. The icon does not appear when you launch PCB Editor.

In my testing, there were no issues on Windows or Mac. This only happens on Ubuntu. 20250824_kicad1

Version Info

Please include all the requested information below. If you do not, your issue may be closed.

  • Python version: Python 3.12.3
  • kicad-python version: 0.4.0

KiCad full version info: Insert the output of kicad-cli version --format about, or the full KiCad version text found in the KiCad About dialog, between the sets of triple backticks below

Application: KiCad x86_64 on x86_64

Version: 9.0.3-9.0.3-0~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, wayland
OpenGL: Mesa, llvmpipe (LLVM 19.1.1, 128 bits), 4.5 (Compatibility Profile) Mesa 24.2.8-1ubuntu1~24.04.1

Build Info:
	Date: Jul  8 2025 13:02:59
	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)