Microsoft Pinyin causes KiCad freezing
<!-- --------Before Creating a New Issue----------- * Limit report to a single issue. * Search the issue tracker to verify the issue has not already been reported. * Complete all instructions between `template markers <>. * Keep report contents limited to the necessary information required to fix the issue. ---------Add your issue details below----------- --> # Description <!-- What is the current behavior and what is the expected behavior? --> <!-- If the issue is visual/graphical, please attach screenshots of the problem. --> Someone else recently reported that keystrokes in KiCad PCB Editor canvas could make it hang. Microsoft Pinyin seem to be the culprit, if you turn on the compatibility option in Microsoft Pinyin (to use the older version of MS Pinyin) then the problem is gone. I installed WinDbg on his machine and peeked at the Thread 0 and got a backtrace like this: ![__QAV_OSZA0AD__HPDAK_0V](/uploads/b30e5130059d4da751621f055a776f22/__QAV_OSZA0AD__HPDAK_0V.png) Looks really similar to my previous discovery (Shift key freezing). This issue doesn't appear to happen on every machine though. I didn't have the time to ask him to install a newer build for testing... # Steps to reproduce <!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. --> <!-- If this issue is specific to a project, please attach the necessary files to this issue. --> 1. Make sure you're using Microsoft Pinyin and the compatibility switch is turned off 2. Launch KiCad, create a project and add some stuff (or just open an existing project) 3. Press M when the IME is at English state (you'd have "英" at the tray), freezes ![new_mspy_freeze](/uploads/d9207ef1de97a5ee9af3c99fa662b174/new_mspy_freeze.mp4) # KiCad Version <!-- Copy version information (from main menu Help->About KiCad ->Copy Version Info) and paste it between the triple backticks below to preserve the formatting. --> ``` Application: KiCad PCB Editor (32-bit) Version: (6.0.0-rc1-267-gb35aa302e2), release build Libraries: wxWidgets 3.1.5 libcurl/7.78.0-DEV Schannel zlib/1.2.11 Platform: Windows 10 (build 17763), 64-bit edition, 64 bit, Little endian, wxMSW Build Info: Date: Dec 1 2021 00:14:16 wxWidgets: 3.1.5 (wchar_t,wx containers) Boost: 1.76.0 OCC: 7.5.0 Curl: 7.78.0-DEV ngspice: 35 Compiler: Visual C++ 1929 without C++ ABI Build settings: KICAD_USE_OCC=ON KICAD_SPICE=ON ```
issue