-
-
Notifications
You must be signed in to change notification settings - Fork 86
[BUG] Search leaves app in inconsistent state #1587
Comments
reproducible on poco x4 pro 5g, MIUI 13.0.5, Android 12 SKQ1.211006.001, App latest 4.1 |
I tried to find the reason behind the problem and after a lot of logging this is what I found out : Most of the time when clicking on the back button in the The problem isn't that the keyboard doesn't disappear, it's that the Bandaid fixI can put out a pull request but I think the fix I found is more of a bandaid fix as I didn't find the real reason this edge case happens. When this situation happens the |
Describe the bug
Using the search can leave the app in an inconsistent state. If the search gets canceled, using the back button (top left), the keyboard is shown on the "Home" page. Entered text is not visible, but the error messages from the search are shown. E.g. if I enter less than three characters, the corresponding error is shown on the "Home" page (see screenshot 1). The menu is also affected by this mixed state and shows incorrect padding (see screenshot 2).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The keyboard is not shown on the "Home" page, and there should be no change to the menu.
Screenshots
Smartphone :
Additional context
I also occasionally experienced random app crashes in this state, which could be related to #1517.
The text was updated successfully, but these errors were encountered: