-
-
Notifications
You must be signed in to change notification settings - Fork 443
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
App crashes when deleting letters in a search. #3581
Comments
It's not a priority because I can just try to remember to wait before deleting characters. I posted it just so you know. |
@MohitMaliFtechiz This may be another regression. We need to fix this properly 😪 |
@ManzoniGiuseppe Thank you for posting the issue! We'll fix this ASAP. |
@ManzoniGiuseppe Thanks for opening the ticket.
@gouri-panda I am testing it on my device to reproduce the error. Once I reproduce this I will place a fix on this ASAP. |
If you have trouble reproducing it, I made a screen clip to show what I do and how the app responds https://mega.nz/file/ZHdH0S4D#Ly1BiSKtAD6-D0y_dvegfCaXvgOSUxUOG5mE1hzx4wI |
@ManzoniGiuseppe Thanks for providing the video. @gouri-panda Are you able to reproduce this error? Since I am not able to reproduce this error(with version 3.8.1) on both devices e.g. Pixel 7a, and Samsung M21 with the provided information as well as I have tried different ways to reproduce the error. Searchissuewithsamsung.mp4searchissuewithpixel7a.mp4@ManzoniGiuseppe Can you please provide the device logs it would be helpful for us to debug the problem. |
@ManzoniGiuseppe Thanks. |
Just now I opened the app, wrote "meteors" in wiktionary and it crashed without ever deleting a letter. It seems to me the problem is a 'press a key when the results update' and not 'press a backspace when the results update' and sometimes it dies at the key after the contemporaneous press (or it just slows down, it's quite arbitrary, really) |
@ManzoniGiuseppe Can you please try with apk https://drive.google.com/file/d/11JYfBfYf3H4dIUibZ0tuMlT_vtOEm0xn/view?usp=sharing is the issue is still exist at your end? |
It's more sturdy. For example, if I write "paladin" and delete them one by one, the problem usually happens when I go from "pa" to "p" and now it often keeps loading for a four seconds (which I guess could be 'normal' loading time) and then it continues normally instead of a crash, but they still happen somtimes. Similarly, I can still crash it by writing "sup" one letter at a time while matching the updates, but it's harder to do. Lastly, I noticed I can't crash it if there are a few letters already, but only for the first few. |
@ManzoniGiuseppe I am testing with https://download.kiwix.org/zim/wiktionary/wiktionary_en_all_maxi_2023-07.zim that is 8.3 GB. Are you testing with more bigger one? can you please point out the exact zim file that you are using, might be this is a bug reproducible with a particular zim file. |
The ones that crash are:
|
The biggest I have beside them is
|
@ManzoniGiuseppe Thanks it will be very helpful. |
@MohitMaliFtechiz @kelson42 I can reproduce it on the DWDS Custom App 2023-11-20 (Build: 7233250), probably in a stable way:
|
I tried what @gremid said to see if it also crashes for me (with wiktionary and the patched app from the link above) and it did crash, but the behavior was weirder. If I wrote "verabreden" and then deleted all letters, it crashed (once they were all deleted, as mine doesn't update the results if keys are being pressed) but any further attempt did not work. When I stopped the delete at "ve" it crashed, but in this case it also happened only once. The other crash happened when I stopped the delete at "vera", and then it always worked. I can only guess there is a cache somewhere that alters the behavior after the first crash. |
@ManzoniGiuseppe Thanks for telling us the detailed behavior of the application crash, can you please try with https://drive.google.com/file/d/11JYfBfYf3H4dIUibZ0tuMlT_vtOEm0xn/view?usp=sharing? are you still able to reproduce the error? |
@MohitMaliFtechiz As far as I can tell the bug is fixed, thank you. |
@ManzoniGiuseppe Thanks for your feedback 😇. |
Describe the bug
Deleting letters in the search due to a mistake may cause a crash. I had five until now during normal usage.
Expected behavior
It should not crash.
Steps to reproduce the behavior:
It's quite hard to see what is wrong because the crashes happen with a delay, and slowing how quickly I type alters the results. I found the following steps usually work:
Environment
The text was updated successfully, but these errors were encountered: