If I use Anki (mainly creating and editing notes) for a long period of time (2-3 hours), it slows down. Specifically, while typing, there is a noticeable lag between pressing the keys and the text appearing on the screen. When this happens, the other apps are still working fine. So, I suspect that the fault lies in Anki. If I restart Anki, the issue disappears.
Version 24.04.2 (a1fa865b)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
I’m sure you’ve already tried running without add-ons, right?
Since you mention creating and editing notes, it reminds me that I was looking at the QtWebEngineProcess [for reasons …] the other day, and I found that some add-ons don’t close their background processes when you close their windows. If feels like those could accumulate and slow Anki down as you’re working for a few hours.
Well, I should have done it. But, I skipped that because testing this required a lot of time (the issue is reproduced only after working for hours). Secondly, I thought that if I post this issue here, other people might share their experiences which might make finding the root cause easier.
I found that some add-ons don’t close their background processes when you close their windows
Is there some specific search term that I can use to go to the relevant code in the add-on repo to see if they have this problem? For example, searching for QtWebEngineProcess didn’t return any results for the add-ons I tried.
Out of the add-ons I have, I think BetterSearch or Spell Checker might be relevant, just because they are active almost the whole time I use Anki.
(By “active”, I mean that they have some useful task to perform at that time.)
I don’t think that this is the cause of my problem because these processes are using too little resources. (To clarify, the screenshot is taken when Anki is running slow.)
Just saw your post here and wanted to mention that after some time using the beta, the issue started to reappear (I also made a post about that in “my” topic) So they do indeed seem to be the same (or very similar) issue. But for me, it’s just the space, no other keys, strangely.
Oh, I always thought a slight delay when typing was due to my laptop not being very fast and so I didn’t really pay it that much attention. But could also be it’s Anki and not the laptop after all.