# Terrible text input lag

**URL:** <https://forums.ankiweb.net/t/terrible-text-input-lag/44695>\
**Category:** Help\
**Created:** [May 11, 2024, 11:00pm UTC](https://forums.ankiweb.net/t/terrible-text-input-lag/44695 "2024-05-11T23:00:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![doaks80](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@doaks80](https://forums.ankiweb.net/u/doaks80)\
**Post date:** [May 11, 2024, 11:00pm UTC](https://forums.ankiweb.net/t/terrible-text-input-lag/44695/1 "2024-05-11T23:00:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [May 12, 2024, 12:46am UTC](https://forums.ankiweb.net/t/terrible-text-input-lag/44695/2 "2024-05-12T00:46:12Z")

</div>

That sounds like it might be this same issue –

> [@Bug: Anki freezes when using spacebar in card editor](https://forums.ankiweb.net/t/bug-anki-freezes-when-using-spacebar-in-card-editor/44580/2):
>
> Please try the beta version of Anki in the beta testing section, and see if the problem still exists.

---

<div class="post-metadata">

**Author:** ![doaks80](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@doaks80](https://forums.ankiweb.net/u/doaks80)\
**Post date:** [May 12, 2024, 7:25am UTC](https://forums.ankiweb.net/t/terrible-text-input-lag/44695/3 "2024-05-12T07:25:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![AnkiBot](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@AnkiBot](https://forums.ankiweb.net/u/AnkiBot)\
**Post date:** [May 12, 2024, 9:00am UTC](https://forums.ankiweb.net/t/terrible-text-input-lag/44695/4 "2024-05-12T09:00:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![doaks80](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@doaks80](https://forums.ankiweb.net/u/doaks80)\
**Post date:** [May 13, 2024, 1:06pm UTC](https://forums.ankiweb.net/t/terrible-text-input-lag/44695/5 "2024-05-13T13:06:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![vaibhav](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@vaibhav](https://forums.ankiweb.net/u/vaibhav)\
**Post date:** [May 13, 2024, 1:40pm UTC](https://forums.ankiweb.net/t/terrible-text-input-lag/44695/6 "2024-05-13T13:40:01Z")

</div>

> [@AnkiBot](#):
>
> Well, you can rest assured that it’s fixed.

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [June 12, 2024, 1:40pm UTC](https://forums.ankiweb.net/t/terrible-text-input-lag/44695/7 "2024-06-12T13:40:19Z")

</div>

Closed on June 12, 2024, 1:40pm UTC

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