I have a Field Name Template in Eeschema preferences called "mpn". This is used in my parts and saved in the schematic. There are also other fields in my schematic's parts, e.g. "Digikey#".
When editing using Edit Symbol Fields, the "mpn" column is shown twice. Editing either changes both. If I remove it from the Field Name Template, it is only shown once.
Application: kicad
Version: (5.0.0-rc3-dev-7-gc9c9245e7), release build
Libraries:
wxWidgets 3.0.2
libcurl/7.52.1 OpenSSL/1.0.2l zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-6-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
Boost: 1.62.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.52.1
Compiler: GCC 6.3.0 with C++ ABI 1010
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON
I have a short, very safe fix for this somewhat embarrassing bug. Not sure whether to merge it to 5.0RC3 or not, though....