simpletask-android
simpletask-android copied to clipboard
A search after canceling the search is invalid
Describe the bug A search after canceling the search is invalid
To Reproduce
- Click the search button
- Enter some characters
- The list displayed is only related to the search characters
- Remove the search filter by clicking the cross
- Click the search button again
- All tasks are displayed
Expected behavior Cancel the search and click the search button again can still search success
Screenshots https://user-images.githubusercontent.com/15941953/160972611-791a379b-53e7-4af9-afdb-d51f93502577.mp4
Smartphone (please complete the following information):
- OS: Hydrogen OS
- Rooted: No
- Version: 10.9.3
- Device: OnePlus 8T
@sjl872964789 thank you for posting the issue, and the helpful image you linked. I just checked on version 11.00 after clicking the cross, filter is reset = expected behaviour. Can you confirm, and/or close the issue?
I think @sjl872964789 is seeing the same behavior and is arguing it's a bug. The way filters are implemented right now, it's not trivial to prefill the search box with the last searched text after clearing the filter.
@sjl872964789 could you describe your use case? Why would you want the search to start where you left off?
Thank you for your reply. If I want to conduct the same search as last time, there is no response from clicking search. I think it is acceptable to completely clear the last search, but I feel confused that clicking search is invalid.