Bulk edit field tool wipes out components values and footprints
Application: KiCad Schematic Editor
When using the Bulk field edit tool (Symbol field table) and doing an "Apply, Save Schematics & Continue" the value and footprint fields are getting wiped out.
It is not immediately obvious as the .kicad_sch gets modified but not the currently displayed schematics. If within a git directory then doing a git status and a git diff highlight that there as been a change and what the change is/are.
Noticed it when doing a git status on a multi-sheet schematics and some schematics that hadn't been touched where listed as modified.
When updating
Description
.kicad_sch file gets modified when it should not or in places it should not have been. Attached a before (_orig) and after file to show what's happen on a very simple file.
Steps to reproduce
- Create a schematics with some components with values and footprints fields filled in.
- Open the Bulk-edit fields tool and do "Apply, Save Schematics & Continue" (no need to make any change).
- Check the .kicad_sch file for changes.
KiCad Version
Application: KiCad Schematic Editor
Version: (6.0.4), release build
Libraries:
wxWidgets 3.0.5
libcurl/7.82.0 OpenSSL/1.1.1n zlib/1.2.12 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.47.0
Platform: Linux 5.15.32-1-MANJARO x86_64, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Mar 18 2022 08:05:28
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.78.0
OCC: 7.5.3
Curl: 7.82.0
ngspice: 36
Compiler: GCC 11.2.0 with C++ ABI 1016
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by Roberto Fernandez Bautista