KiCad 10 (FlatPak version) Crashes After Edit Pre-defined Sizes

Description

Crashes when using the Edit Pre-defined sizes option. After pressing Ok the screen freezes and after several seconds the application exits.

This is one easy to reproduce example of a crash in version 10. There are other cases less easy to reproduce which have a similar effect.

Linux Mint 22.1 Cinnamon 6.4.8

Steps to reproduce

  1. PCB Editor -> Select Edit Pre-defined sizes (Board Setup Dialog)
  2. Press OK. It does not matter if any sizes are entered

KiCad Version

Application: KiCad PCB Editor x86_64 on x86_64

Version: 10.0.0, release build

Libraries:
	wxWidgets 3.2.10 GLX
	FreeType 2.14.1
	HarfBuzz 11.4.5
	FontConfig 2.17.1

Platform: GNOME 49 (Flatpak runtime), 64 bit, Little endian, wxGTK, X11, x11, X-Cinnamon, cinnamon

	wxWidgets: 3.2.10 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.90.0
	OCC: 7.9.3
	Curl: 8.15.0
	ngspice: 45.2
	Compiler: GCC 15.2.0 with C++ ABI 1020
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited by Barry Hill