As far as I can tell line 207 above fails due to the text being the empty string "", but the cursor_pos and anchor_pos are both 1, so line 207 is trying to assign the string from position 1 to position 0 within the empty string. That makes some sense given how the input method works. At the time of the crash, a single character has been entered, but it hasn't been committed to the dialog as yet. That said I still don't understand whether it is Anki, QT, or mozc that is fundamentally at fault. My guess is mozc despite this working in other contexts I have tried.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1931554 Title: Japanese hiragana input fails after first keypress in anki To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/anki/+bug/1931554/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs