Value field of other units get corrupted when changing text alignment.
Description
When changing text alignment of the value field of a multi Unit schematic symbol, the text of Value fields of other symbols get overwritten. Apparently it only happens when schematic symbols are not annotated yet, so a workaround seems obvious, but it's a bug none the less.
Steps to reproduce
- Place 74HC74 units "A" and "B" on a schematic.
- Place 74HC02 units "A" and "B" on the same schematic.
- Right click on the Value field of the 74HC74 Unit "B", and select "Edit Value" from popup menu.
- Change "H.Align:" from "Center" to "Left".
- Click on OK.
This has changed the value field of one of the 74HC02 to the text "74HC74". See screenshot. This was first discovered by user "gnuarm" on the user forum in this post: https://forum.kicad.info/t/component-properties-changed-inadvertently/23202 In that thread I've posted more screenshots of this bug behaviour.
I use Linux Mint 19.3, and can reproduce the bug that was first discovered by "gnuarm" on a Windows computer.
KiCad Version
Application: Eeschema
Version: 5.1.6-c6e7f7d~86~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 5.3.0-53-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.5.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON
Edited by paulvdhoeven