Eeschema text properties dialog and others do not work with CJK input methods (uim)
Description
Attempting to place a label and then using uim (uim-mozc, specifically) to enter text fails. Input sometimes stays over the input field, sometimes disappears, backspace does not work, etc. If you manage to enter some text anyway, it just stays over the textbox and clicking "OK" results in an empty label (see screenshot).
Copy/pasting works as expected, and the "Graphic text" dialog in v5.1.5 also seems to work as expected. Other text input fields, such as net label properties, are similarly broken in both v5 and v5.99 and also take over the keys (space/enter) that are needed to enter CJK text.
Steps to reproduce
- Click Place->Add text
- Switch on uim and attempt to enter text
KiCad Version
Application: Eeschema
Version: (5.99.0-6613-ge739d5ba6-dirty), release build
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 OpenSSL/1.1.1d zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-12-amd64 x86_64, 64 bit, Little endian, wxGTK, xfce, x11
Build Info:
Date: Oct 27 2020 11:01:58
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.67.0
OCC: 7.3.0
Curl: 7.64.0
ngspice: 33
Compiler: GCC 8.3.0 with C++ ABI 1013
Build settings:
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_OCC=ON
KICAD_SPICE=ON
Edited by Serguei Klink