[EESchema] Auto complete text variables selection not working with return key
Description
When the auto complete suggestions pop up and one hits "return" to confirm the selection, the box just disappears. Double click with the mouse works fine. Might be a Linux issue.
Steps to reproduce
- Add text field do footprint
- Set visibility to true
- Start typing ${ ...
- When auto complete suggestion pop up, press return
- nothing happens
KiCad Version
Application: KiCad x86_64 on x86_64
Version: 7.0.5+dfsg-1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1 OpenSSL/3.0.9 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3
Platform: Debian GNU/Linux 12 (bookworm), 64 bit, Little endian, wxGTK, lightdm-xsession, x11
Build Info:
Date: May 31 2023 05:55:56
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.88.1
ngspice: 39
Compiler: GCC 12.2.0 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON