Anki-Night-Mode icon indicating copy to clipboard operation
Anki-Night-Mode copied to clipboard

Korean words disappear in the typing box after deleting a word

Open MasterHowToLearn opened this issue 8 years ago • 8 comments

Hello guys! This is a great addon but I have found a bug. When I am typing Korean while reviewing, the Hangul disappears after deleting a word. To illustrate this problem more clearly, I will use English as as example: Type: " I am learning Korean.", after deleting the word "Korean", the whole sentence disppears unless I click away from the texting box and click back again. Then the sentence is shown. This problem happens in Chinese as well. I would highly appreciate your effort and help Thank you very much:)

MasterHowToLearn avatar Oct 18 '16 15:10 MasterHowToLearn

Hi, I tried to reproduce the problem, but it did not appear. I used following sentence retrieved from Google Translator: "나는 한국어를 배우고". Could you give more details (you operating system, Anki version, qt version, version of the extension that you are using) and the exact sentence which causes the problem?

krassowski avatar Oct 19 '16 12:10 krassowski

I am very sorry for such a late reply. I finally got to get home and record it with my computer. Please accept my apology! Operating system: problem appears in both Windows 10 and 7 Anki version: Version 2.0.33 Qt 4.8.4 PyQt 4.10 Extension Version: 1.1.4 (March 4, 2016) I have recorded a few videos to illustrate such problem. https://drive.google.com/file/d/0B9zZYJ7bv4weTnFkelJWaEF1bE0/view?usp=sharing https://drive.google.com/file/d/0B9zZYJ7bv4weYnJzSTl5WnY0NTQ/view?usp=sharing https://drive.google.com/file/d/0B9zZYJ7bv4web0o2QmR6ZUM4aHM/view?usp=sharing

Thank you very much for looking into my case. I don't know whether this happens to others or if it happens exclusively to me. It's fine if you don't want to fix it because I'm already very grateful for this wonderful addon. It's not an unbearable bug. Have a great day:)

MasterHowToLearn avatar Oct 30 '16 15:10 MasterHowToLearn

Hello guys! I have a found a workaround for this problem.

Before deleting a word, click away from the text box, then click back to it, and delete the word you desire.

This is a bit troublesome but at least you can still enjoy using this very awesome addon. Even when I am not using this addon, typing Korean seems to be having a bit of problem. For example, when the text box is blinking, and you edit the card, then go back to the text box, what you type would not appear until you click away from the text box. I think this is an issue of Anki, not related to this addon.

If you are facing similar issue with typing Korean (or other languages), I hope this works.

MasterHowToLearn avatar Nov 13 '16 14:11 MasterHowToLearn

It has been a while. I've found another workaround by changing the color of the input box. Under C:\Users\XXXX\Documents\Anki\addons, open the python file with a editor (I use Geany). Then change the code as shown. It's not pretty but it is better than the method above. I suspect this problem persists in some Asian languages. Really love this addon. Hope this helps. Cheers:) 2017-02-26 3

MasterHowToLearn avatar Feb 26 '17 11:02 MasterHowToLearn

A great addon.My eyes fell better. But I also met a similar problem: When I type Chinese,the first line is OK. When the second line was typed,the word in the box will become black .unless I click away from the texting box and click back again.

Operating system: problem appears in both Windows 7 Anki version: Version 2.0.41 Qt 4.8.4 PyQt 4.10 Extension Version: 1.1.4 (March 4, 2016) 1

JunjieLi91 avatar Feb 27 '17 14:02 JunjieLi91

Thank you for additional information. Could you check out the alpha11 of Anki 2.1 with the newest version of add-on (from this repository, not published yet) and see if the problem still occurs?

krassowski avatar Mar 05 '17 13:03 krassowski

Thanks for you reply. It took me some time to find and install anki 2.1(a11&12), but the anki doesn't run correctly on my computer(win7 ,x64). It is a pity. On alpha 11,When I run the program,some command line come up and vanish after about 1 second. On alpha 12,When I run the program,it come up a error:failed to execute script pyi_rth_qt5plugins.

Again.Thanks for you reply !

JunjieLi91 avatar Mar 12 '17 10:03 JunjieLi91

Hi, there are new alpha builds (a14 & a15). Could you try these?

krassowski avatar Jul 01 '17 17:07 krassowski