simplewall icon indicating copy to clipboard operation
simplewall copied to clipboard

[Bug] Significant keyboard input lag

Open eugenesvk opened this issue 1 year ago • 4 comments

Checklist

  • [X] I have used the search function to see if someone else has already submitted the same bug report.
  • [X] I will describe the problem with as much detail as possible.

App version

3.8.2

Windows version

10 22h2

Steps to reproduce

  1. Create a new user rule
  2. Open the apps tab
  3. Type anything in search

Expected behavior

Text appears right away, filter is updated shortly

Actual behavior

Significant lag (the whole text was typed in ~sec)

https://github.com/user-attachments/assets/24fea8df-6135-47ec-99de-486e3fb969f3

Maybe add an option not to update on every keystroke, but after some delay?

Logs

No response

eugenesvk avatar Jul 19 '24 17:07 eugenesvk

do you can record video how it happen (your video attached did not display anything)? i've never seen anything like it.

henrypp avatar Jan 26 '25 18:01 henrypp

The attached video does show how it happened: the input text that is typed in ~1 second is taking ~10 seconds to appear because there is a delay after every single keystroke

eugenesvk avatar Jan 26 '25 18:01 eugenesvk

And if the list is big like in the Blocklist tab, the repeat is even slower (I'm just holding the Z button, so repeat should be instant), and eventually the app just freezes - that's when the mouse reappears as otherwise it's suppressed during hanged typing (in this case it unfroze later with zzzzzzzzzzzzzzzzzzzzzzzzzzz in the input field).

So clearly the app is doing something very expensive incorrectly on every single keystroke instead of waiting until the user input is complete

https://github.com/user-attachments/assets/ecaaebf0-8bdf-4ad4-a0b7-55d265abf8b9

eugenesvk avatar Jan 27 '25 07:01 eugenesvk

This is related to slowdowns in packet logging too

benryanau avatar Jul 07 '25 18:07 benryanau