The best behaviour, imo, is having the search query bound to a folder.  So, if I leave focus on another folder, the search is not applied.  If I return to the original folder, the search & results are restored.

Another way to handle search is how Thunderbird does it.  Each search/results opens in it's own tab.  From there you can drill down on a timeline to pinpoints the email you're looking for, like such (note, the time-line is above a paged list of email below it that correspond to the time-frame of the search):

Inline image 1


On Wed, Apr 23, 2014 at 3:53 PM, Cor Bosman <cor@xs4all.nl> wrote:
OSX Mail does not seem to work this way. If I switch folders, the search gets reset. What mail clients work this way?

Im not sure it really makes sense to me. If im in a specific folder to search for something, i would probably not want to search for the same thing in another folder.

Cor

_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev



--
“If the American people ever allow private banks to control the issue of their currency, first by inflation, then by deflation, the banks...will deprive the people of all property until their children wake-up homeless on the continent their fathers conquered... The issuing power should be taken from the banks and restored to the people, to whom it properly belongs."   -- Thomas Jefferson