Footprints always write the "Footprint" field on save
Description
Steps to reproduce
- Edit any footprint with an empty "Footprint" field (any library part) in 8.0.2 (not in 8.0.1) or 8.99
- Save it
- The "Footprint" field is automatically filled in with the footprint name
- This causes diffs in the footprint libraty even on null edits
- Especially, this means any use of
kicad-cli fp upgrade --force
for normalisation introduces these values
- Especially, this means any use of
What should happen:
- This field is not written with this content by default. Or if it is, a conscious decision is made as to the purpose of the "Footprint" field within a footprint file. Which I am not opposed to, but that will probably end up with a substantial refector of the field code, so won't help the issue in the short term/8.0.3+.
KiCad Version
Application: KiCad x64 on x64
Version: 8.0.2, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.5.0-DEV Schannel zlib/1.3
Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Apr 27 2024 23:05:17
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
Edited by John Beard