simpletask-android icon indicating copy to clipboard operation
simpletask-android copied to clipboard

A search after canceling the search is invalid

Open sjl872964789 opened this issue 2 years ago • 3 comments

Describe the bug A search after canceling the search is invalid

To Reproduce

  1. Click the search button
  2. Enter some characters
  3. The list displayed is only related to the search characters
  4. Remove the search filter by clicking the cross
  5. Click the search button again
  6. 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 avatar Mar 31 '22 03:03 sjl872964789

@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?

sphenotux avatar Sep 15 '22 21:09 sphenotux

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?

mpcjanssen avatar Sep 20 '22 18:09 mpcjanssen

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.

sjl872964789 avatar Feb 03 '23 08:02 sjl872964789