-
-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display search results as you type delay #3608
Comments
@Mitia99 Thank you for your bug report. Here a few questions:
|
Thanks for your reply.
It's not a long wait but it was instant in 3.8.0 if I remember. Thanks for investigating, |
@Mitia99 Thank you for the details. I agree. I have tested myself and there is indeed a regression here in term of usability. We will work to fix this ASAP. I made my homework and learned that - on mobile - the average type speed is around 3 characters a second. The current bouncing delay seems to wait 500ms before running a search (which I guess might take a bit as well, lets say 300ms). All of this seems to fit to my user experience: waiting around 1s to get the suggestions. What will go wrong if we just get rid of this bouncing |
@kelson42 Initially we introduced the debouncing delay with 300L but at that time it was crashing if I However, in #3592 we notice that Since for #3592, I was not able to reproduce the error on my all devices, so I fixed it by improving the coroutines and memory allocation issues, at that time I did not remove the debouncing from code to avoid any other regression.
Now we have built a system where we only get results once from libkiwix, and avoid all the unnecessary memory allocation, and you already tested it without debouncing on the fairphone, on this device it was crashing, so we can get rid of this. Most of the things regarding this you and @gouri-panda already discussed so we can remove this. |
Describe the bug
Search results aren't instantly displayed while typing in search bar after selecting a zim library
Expected behavior
Display search results as you type
Steps to reproduce the behavior:
Environment
The text was updated successfully, but these errors were encountered: