GNOME Bugzilla – Bug 207011
cancellable imap searches
Last modified: 2014-02-19 14:19:13 UTC
1) do a time consuming search, like 'test' in body of a large IMAP folder. 2) realize you really wanted to search for 'pr0n', and so hit 'search->show all' to start another search. 3) note that in the progress bar, there are now two 'Updating Message List' status messages. Most of the time, repeated 'search->show all's will result in multiple 'Updating Message Lists'. 4) It /appears/ (though I haven't tested extensively) that what happens is that the searches are queued. I /think/ that the proper behavior here is for the second search attempt to cancel the first one, instead of queuing.
Mailer bug.
i dont think we can even cancel imap searches.
OK. Not really sure why this was major anyway; I think maybe because some of the stuff was blocking in some really bad ways.
OE has a nice trick for things like this, which is to open a second IMAP connection and do the slow operation from there. Then if the user cancels it, it can just close that connection and leave the original one intact. There are a bunch of situations in which this could help out our IMAP performance.
Oh the pain. Just thinking of the synchronisation issues here, its bad enough with one socket open :) Also some servers dont like you to connect to the same account twice, and boot the other one off .
This isn't happening any time soon due to the problems associated with IMAP.
Futuring
This is fixed by bug #672175, thus I mark this as a duplicate of it. *** This bug has been marked as a duplicate of bug 672175 ***