Skip to content

Footprint editor visual options erroneously brought into pcbnew

Description

When editing a footprint from PCBnew in the footprint editor (ctrl+E), changes to the visual style (e.g. "Show graphic items in outline mode") in the footprint editor will be applied to that footprint in PCBnew after saving.

The bug seems to be "contagious"; every footprint selected after leaving the footprint editor gets the visual style applied to it. Once, I managed to get the reverse to happen, where deselecting and reselecting the offending footprint caused the bug to go away, but I'm not sure exactly how I made that happen. The only reliable cure is to reopen the footprint editor, set the visual style back to normal, then save the footprint.

Steps to reproduce

Here are two copies of the same footprint:
image

Here, I've opened one for editing with ctrl+E, and clicked the "show graphic items in outline mode" button:
image

After saving and closing the footprint editor, now it has graphic items in outline mode on the PCB too!:
image

Now the other footprint has caught the bug as well, after clicking on it:
image

KiCad Version

Application: KiCad Footprint Editor x64 on x64

Version: 7.0.6, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 6.0.0
	FontConfig 2.14.1
	libcurl/7.88.1-DEV Schannel zlib/1.2.13

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

Build Info:
	Date: Jul  6 2023 04:56:45
	wxWidgets: 3.2.2 (wchar_t,wx containers)
	Boost: 1.81.0
	OCC: 7.6.3
	Curl: 7.88.1-DEV
	ngspice: 40
	Compiler: Visual C++ 1936 without C++ ABI

Build settings:
	KICAD_SPICE=ON