100% reproduceable: anki hangs when switch keyboard using shortkey

Version ⁨2.1.43 (0fbae6bc)⁩
Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Win10 20H2 (19042.985)

Whenever I switch to English United States-International Keyboard using the shortkey I specified, Ctrl + Shift + 9, the Anki application hangs, must force close it and restart. After restart it, unsynced changes will be lost.

Only when I use Ctrl+shift+9 to switch to US-International Keybord it hangs, when I use other shortkeys to switch to these keyboards, it’s okay:
Ctrl+shift+7 Google Japanese Input
Ctrl+shift+8 Chinese Huaer Wubi
Ctrl+shift+0 English US keyboard

(Just found out when I use Ctrl+shift+6 switch to Greek Keyboard, it also hangs.)
When I use Win+space to switch to these Keyboards, it’s okay.

Could you please tell me how can I help to fix this bug? Thanks!

1 Like

This is a bug in the toolkit Anki is built on, and the only workaround at the moment is to use win+space instead.

Thanks for your reply.
May I know which toolkit it is, and can I submit a bug report to them also?
I would very much like to help with the process of fix it, I can spend time to learn the things needed.

I think @dae already reported it in https://bugreports.qt.io/browse/QTBUG-73994?


Got it, thanks!
I’ll see if I can help in any ways.

It also exists in the beta version which I built from source.

    Anki 2.1.45 (2b8bbda5) Python 3.8.10 Qt 5.15.2 PyQt 5.15.2
    Platform: Windows 10
    Flags: frz=False ao=False sv=2

No add-ons.

change your video driver from opengl to angle or software

1 Like

Seems solved the problem, thanks!