Skip to content

9.0.3 Shape Modification does not Save Correctly

After using "Shape Modification > Intersect Polygons" in the PCB Editor, Saving and then closing the PCB Editor, when reopening the PCB Editor, the resultant image was corrupted.

ksnip_20250714-234503

Note: a footprint is not required to duplicate the problem.

The LH image is the original circle and polygon.

The centre image is the result of:

  • 1/ RMB Select the circle > Create from Selection > Create Polygon from Selection.
  • 2/ Fill the Polygon shape.
  • 3/ CTRL + LMB both items > RMB Select > Shape Modification > Intersect Polygons. The result is as expected. This was Saved and PCB Editor closed.

The highlighted RH image is what was found when PCB Editor was re-opened.

Observations:

This corrupted result occurred when combining a polygon created from a circle with the Polygon drawing function.

This corrupted result also occurred when combining a polygon created from a circle with the Rectangle drawing function.

This corruption DID NOT occur when using 9.0.2


Version: 9.0.3-9.0.3-0~ubuntu22.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.11.1
	HarfBuzz 2.7.4
	FontConfig 2.13.1
	libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.19

Platform: Linux Mint 21.3, 64 bit, Little endian, wxGTK, X11, cinnamon, x11
OpenGL: Mesa, NV106, 4.3 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.3

Build Info:
	Date: Jul  8 2025 13:03:32
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.5.1
	Curl: 7.81.0
	ngspice: 43
	Compiler: GCC 11.4.0 with C++ ABI 1016
	KICAD_IPC_API=ON

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