Terrible text input lag

I am getting multi-seconds input lag delay when editing the “back” of cards. I am talking 3-5 seconds on average. It is getting to the point where Anki has become almost unusable.

The lag has a very specific characteristic too. When I add characters to the end of any line in the text box, there is not much lag. But when I try and add characters or spaces before the end of the line, the lag is really bad. However this is only on the edit view - in the “add new card” view, the text input lag is the same whether at end or start of line.

I don’t know if it related to a version upgrade, but here is my system info:

Version ⁨24.04.1 (ccd9ca1a)⁩
Python 3.9.18 Qt 5.15.2 PyQt 5.15.5
Win10 64-bit / x64

The deck has a bit over 10,000 cards.

1 Like

That sounds like it might be this same issue –

1 Like

The issue appears to be resolved for me using this version:

Version ⁨24.04.2 (a1fa865b)⁩
Python 3.9.18 Qt 5.15.2 PyQt 5.15.5

But I may need to run it for a while to feel confident it will not return.

2 Likes

Well, you can rest assured that it’s fixed. I did some digging to find the problem only to find that Abdo had already made a fix commit for this.

So yeah! It’s fixed alright.

1 Like

I wish I could say it’s fixed completely, but it’s not.

The strange thing now is the lag ONLY occurs with entering space into either the edit card or new card windows. I.e. when entering an ALNUM character, there is no lag.

The lag for a single space character is typically 1-3 seconds. So it’s better than before, but still pretty bad to have this lag happening.

1 Like

Yes, the issue has likely been fixed. But, there is no release with the fix yet (not even a beta). So, unless the OP knows how to compile from source, there is no way they can test it now.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.