Ian McInerney activity https://gitlab.com/imcinerney 2026-03-10T00:23:05Z tag:gitlab.com,2026-03-10:5185013096 Ian McInerney opened issue #782: UQFN-12 3D file missing at KiCad / KiCad Libraries / KiCad Packages3D 2026-03-10T00:23:05Z imcinerney Ian McInerney [email protected] tag:gitlab.com,2026-03-10:5185013079 Ian McInerney closed issue #23386: UQFN-12 3D file missing at KiCad / KiCad Source Code / kicad 2026-03-10T00:23:04Z imcinerney Ian McInerney [email protected] tag:gitlab.com,2026-03-09:5181742678 Ian McInerney commented on issue #23301 at KiCad / KiCad Source Code / kicad 2026-03-09T10:24:33Z imcinerney Ian McInerney [email protected]

I think we can try to make the UUIDs stable across save/load cycles. We have do that for items on the main board, so I don't see a problem with extending that to the actual libraries.

tag:gitlab.com,2026-03-08:5180059541 Ian McInerney pushed to project branch master at KiCad / KiCad Source Code / kicad 2026-03-08T23:25:31Z imcinerney Ian McInerney [email protected]

Ian McInerney (783480d2) at 08 Mar 23:25

Always force toolbars to be visible when restoring settings

tag:gitlab.com,2026-03-04:5167648300 Ian McInerney commented on issue #23231 at KiCad / KiCad Source Code / kicad 2026-03-04T18:34:38Z imcinerney Ian McInerney [email protected]

This was fixed upstream in https://github.com/wxWidgets/wxWidgets/pull/26243, which is contained in the most recent releases (3.3.2 and 3.2.10).

tag:gitlab.com,2026-03-04:5167648049 Ian McInerney closed issue #23231: Context menu doesn't always appear when right-clicking on toolbar buttons at KiCad / KiCad Source Code / kicad 2026-03-04T18:34:34Z imcinerney Ian McInerney [email protected] tag:gitlab.com,2026-03-03:5163230325 Ian McInerney closed issue #23316: 3d viewer does not show DNP even if option is enabled at KiCad / KiCad Source Code / kicad 2026-03-03T18:54:52Z imcinerney Ian McInerney [email protected]

Current behavior: KiCAD 3d viewer does not show footprints marked as Do Not Populate. There is an option to enable these footprints to be shown but nothing happens. See screenshot below:

image

Expected behavior: footprints marked DNP should be displayed when the "Models marked DNP" is enabled.

Steps to reproduce:

  1. Enable disable option "Models marked DNP" in the 3d viewer - nothing happens

KiCad Version

Application: KiCad 3D Viewer x64 on x64

Version: 10.0.0-rc1.1-600-gf07f1083ac, release build

Libraries:
	wxWidgets 3.3.2 
	FreeType 2.13.3
	HarfBuzz 12.3.0
	FontConfig 2.17.1

Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: ATI Technologies Inc., AMD Radeon HD 7700 Series, 4.6.14830 Compatibility Profile Context 22.6.1 27.20.20913.2000

	wxWidgets: 3.3.2 (wchar_t,STL containers)
	Boost: 1.90.0
	OCC: 7.9.2
	Curl: 8.18.0
	ngspice: 45.2
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF

Locale: 
	Lang: en_CA
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
tag:gitlab.com,2026-03-03:5163230274 Ian McInerney pushed to project branch master at KiCad / KiCad Source Code / kicad 2026-03-03T18:54:50Z imcinerney Ian McInerney [email protected]

Ian McInerney (40205eb1) at 03 Mar 18:54

Remove extra DNP condition in FP rendering path

tag:gitlab.com,2026-03-02:5158975716 Ian McInerney pushed to project branch 9.0 at KiCad / KiCad Source Code / kicad 2026-03-02T19:30:21Z imcinerney Ian McInerney [email protected]

Ian McInerney (394d466a) at 02 Mar 19:30

Guard null m_appearancePanel in colour-changed handler

tag:gitlab.com,2026-03-02:5158954208 Ian McInerney closed issue #23302: PCB Editor crashes on macOS with multiple displays during frame construction at KiCad / KiCad Source Code / kicad 2026-03-02T19:22:25Z imcinerney Ian McInerney [email protected]

Summary

The PCB Editor hard crashes with EXC_BAD_ACCESS on macOS when opening a board on a system with multiple displays (e.g. MacBook with an external monitor and lid with internal monitor opened). The crash occurs during PCB_EDIT_FRAME construction before the editor UI appears.

Steps to Reproduce

  • Connect an external monitor to a MacBook (lid open)
  • Open a KiCad project
  • Open the PCB Editor
  • Result: Crash with EXC_BAD_ACCESS

Note

This is a race condition entangled with macOS API and wx event routing, see explanation below. Reproduction may depend on some things like project window placement and monitor at which it opened up initially, so it may not be 10/10 cases depending on specific setup. Still, I encountered this during normal usage as a highly annoying thing, so I think just trying out without special care should reproduce this crash within a few tries for everyone.

Workaround

Close the MacBook lid and use only the external monitor or disconnect external monitors.

Root Cause

wxEVT_SYS_COLOUR_CHANGED is bound to onDarkModeToggle in the PCB_BASE_EDIT_FRAME constructor, but m_appearancePanel is not created until later in PCB_EDIT_FRAME construction. During LoadSettings(), LoadWindowState calls DoSetSize, which on macOS triggers a synchronous windowDidChangeBackingProperties notification when the window spans multiple displays. wxWidgets translates this into wxEVT_SYS_COLOUR_CHANGED, and the handler dereferences m_appearancePanel while it is still null.

Backtrace from lldb

Process 44843 launched: '/path/to/local/debug/kicad' (arm64)
2026-03-02 10:09:30.949934+0100 kicad[44843:1556781] [StateRestoration] -[NSApplication(NSWindowRestoration) restoreWindowWithIdentifier:state:completionHandler:] Unable to find className=(null)
[unrelated events ...]
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x340)
    frame #0: _pcbnew.kiface`APPEARANCE_CONTROLS::OnDarkModeToggle(this=0x0000000000000000) at appearance_controls.cpp:1205:26

KiCad Version

Application: KiCad arm64 on arm64

Version: 10.0.0-rc1.1-602-g2c63082a3d, release build

Libraries:
	wxWidgets 3.2.8 
	FreeType 2.14.1
	HarfBuzz 12.3.2
	FontConfig 2.17.1
	libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.68.0

Platform: macOS Version 26.3 (Build 25D125), 64 bit, Little endian, wxMac

Build Info:
	Date: Mar  2 2026 09:32:41
	wxWidgets: 3.2.8 (wchar_t,wx containers)
	Boost: 1.90.0
	OCC: 7.9.3
	Curl: 8.7.1
	ngspice: 45.2
	Compiler: Clang 17.0.0 with C++ ABI 1002
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF
tag:gitlab.com,2026-03-02:5158954103 Ian McInerney pushed to project branch master at KiCad / KiCad Source Code / kicad 2026-03-02T19:22:22Z imcinerney Ian McInerney [email protected]

Ian McInerney (a592b9db) at 02 Mar 19:22

Guard null m_appearancePanel in colour-changed handler

tag:gitlab.com,2026-03-02:5158954043 Ian McInerney accepted merge request !2479: Guard null m_appearancePanel in colour-changed handler at KiCad / KiCad Source Code / kicad 2026-03-02T19:22:21Z imcinerney Ian McInerney [email protected]

Fixes a crash during PCB_EDIT_FRAME construction on macOS with multiple displays.

wxEVT_SYS_COLOUR_CHANGED can fire before m_appearancePanel is created — on macOS, LoadWindowState triggers a synchronous windowDidChangeBackingProperties notification when the window spans displays, which wxWidgets translates into a colour-changed event. The handler dereferences m_appearancePanel unconditionally, causing EXC_BAD_ACCESS.

Adds a null check consistent with all other m_appearancePanel accesses in the same file.

Fixes #23302

tag:gitlab.com,2026-03-02:5158951906 Ian McInerney pushed to project branch fix/appearance-panel-null-during-construction at Dominique Fuchs / kicad 2026-03-02T19:21:37Z imcinerney Ian McInerney [email protected]

Ian McInerney (53f71d10) at 02 Mar 19:21

Guard null m_appearancePanel in colour-changed handler

... and 10 more commits

tag:gitlab.com,2026-03-02:5158535605 Ian McInerney commented on merge request !2479 at KiCad / KiCad Source Code / kicad 2026-03-02T17:05:49Z imcinerney Ian McInerney [email protected]

Interestingly this has already been fixed in the 9.0 branch which would suggest someone forgot to cherry pick this up to master.

Are you sure about this? Looking at the 9.0 branch, the dark mode toggle event handler has an unguarded call into the appearance panel also, so I think this could be an issue there still.

tag:gitlab.com,2026-03-02:5157268411 Ian McInerney commented on merge request !2479 at KiCad / KiCad Source Code / kicad 2026-03-02T12:09:23Z imcinerney Ian McInerney [email protected]

Thank you for proposing this. Since you are fixing an open issue, please follow the commit message policy (https://dev-docs.kicad.org/en/rules-guidelines/commit/index.html#_linking_a_commit_to_an_issue) and include the line linking to the issue being fixed.

tag:gitlab.com,2026-03-02:5155561235 Ian McInerney commented on issue #23239 at KiCad / KiCad Source Code / kicad 2026-03-02T01:52:20Z imcinerney Ian McInerney [email protected]

Turns out this was probably lurking around for about 3 years, but no one had reported it. I guess that button doesn't get used much.

tag:gitlab.com,2026-03-02:5155560513 Ian McInerney pushed to project branch 9.0 at KiCad / KiCad Source Code / kicad 2026-03-02T01:51:36Z imcinerney Ian McInerney [email protected]

Ian McInerney (bec0c838) at 02 Mar 01:51

Don't gate toolbar tool action processing by ID anymore

tag:gitlab.com,2026-03-02:5155560426 Ian McInerney closed issue #23239: Paste button (in Top menù) on schematic editor do nothing at KiCad / KiCad Source Code / kicad 2026-03-02T01:51:30Z imcinerney Ian McInerney [email protected]

The paste button on the top menù in the schematics editor do nothing. If I do Ctrl+C and Ctrl+V I can copy and paste a component, even if I do Ctrl+C and paste form Edit->Paste but it do nothing when I press the button on the top menù.

kicad_copy_button

KiCad Version

Application: KiCad Schematic Editor x64 on x64

Version: 9.0.6, release build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.13.3
	HarfBuzz 10.2.0
	FontConfig 2.15.0
	libcurl/8.13.0-DEV Schannel zlib/1.3.1

Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) Arc(TM) Pro Graphics, 4.6.0 - Build 32.0.101.6637

Build Info:
	Date: Oct 30 2025 19:36:12
	wxWidgets: 3.2.8 (wchar_t,wx containers)
	Boost: 1.88.0
	OCC: 7.9.1
	Curl: 8.13.0-DEV
	ngspice: 45.2
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
tag:gitlab.com,2026-03-02:5155560411 Ian McInerney pushed to project branch master at KiCad / KiCad Source Code / kicad 2026-03-02T01:51:29Z imcinerney Ian McInerney [email protected]

Ian McInerney (96d5de48) at 02 Mar 01:51

Don't gate toolbar tool action processing by ID anymore

tag:gitlab.com,2026-02-28:5153519503 Ian McInerney commented on issue #23203 at KiCad / KiCad Source Code / kicad 2026-02-28T16:47:08Z imcinerney Ian McInerney [email protected]

Just did.