Closed dboehmer closed 3 years ago
Did you mean that the expected result should be: (IMHO this should be the expected behaviour)
Or just page one selected with the search filters in place?
PS: Can confirm that in v1.4.1 [GIT 20191216.1113] the actual result is as described by @dboehmer
Thank you for clarifying this!
Yes, I meant I expect the behavior to be:
I tested with with the 1.4.1 release.
The page is reset if you select a different folder. Indeed, considering that selecting the same folder resets searching, we should reset the page too. I'm not that sure about the case when there's no searching, but I guess, because we already have the Refresh button, we should reset the page in this case too. This way Refresh action is "state update", and folder selection is "state reset". A clear distinction.
Fixed.
Steps to reproduce:
Actual result:
Expected result:
This is similar to https://github.com/roundcube/roundcubemail/issues/3267 but here it's not only about refreshing the folder but resetting the search.
When the search query is reset and a different set of messages (all of them) are displayed keeping the page number makes no sense to me.
I find myself often clicking the folder name because it's a larger and more prominent clickable area than the search reset button.