Text variables not geting updated in PCB Editor
Description
If a text variable is changed outside of PCB Editor, text boxes referencing that variable still retain the old value.
Steps to reproduce
- Create a text variable in either Schematic Editor or PCB Editor (File->Schematic Setup or Board Setup -> Text Variables).
- Create a text box referencing that variable in PCB Editor.
- Exit PCB Editor, and change the contents of the text variable, either in Schematic Editor, or by exiting Kicad entirely and editing the variable's definition in the project file.
- Open PCB Editor again.
Expected result
The text box is updated to show the new value of the variable.
Actual result
The text box retains the old value of the variable. Editing the text box does not cause it to update, and new text boxes that reference the variable still show the old value.
However, the new value is shown in File -> Board Setup...
The only way I can get the text boxes to update is to change the value of the variable in File -> Board Setup...
KiCad Version
Application: KiCad PCB Editor x86_64 on x86_64
Version: 7.0.1-3b83917a11~172~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.10.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, ,
Build Info:
Date: Mar 15 2023 03:29:26
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.87.0
ngspice: 38
Compiler: GCC 9.4.0 with C++ ABI 1013
Build settings:
KICAD_SPICE=ON