GNOME Bugzilla – Bug 665408
Searching message bodies breaks the mailer
Last modified: 2012-06-13 09:01:07 UTC
When I perform a search in message bodies (on an IMAP+ account), the search never completes and the list of messages displayed never updates. After initiating the search, switching to another mail folder clears the message list, and causes "Generating message list..." to be displayed in its place. The list of messages for the new folder is never displayed. This happens with 3.0.2 and 3.2.1.
Thanks for a bug report. I tried with 3.3.92 and it works for me. The "body contains" requires messages being downloaded, which means the search is getting all not-yet-downloaded messages, which can take its time (it does for me, with pretty small folder (about 20 messages)). Do you think you had all the messages downloaded already? In case you had, and the "Generating message list..." is still stuck on its own job, then please install debuginfo packages for evolution-data-server and evolution, and provide backtrace of running evolution. You can get it with a command like this: $ gdb --batch --ex "t a a bt" -pid=PID &>bt.txt where PID is a process ID of the running evolution. The issue with "cannot cancel" will be dealt in bug #672175 and will be part of 3.6.x, due to its API change.
Sam, did you get a chance to try out latest Evolution version ?
I still see this with 3.4, but the situation is improved. If I search my Sent folder then the seraches can take a long time to complete; during this time, switching to another folder will only display 'generating message list' until the search completes. The UI is better though, now that a 'generating message list' throbber appears in the status bar. BTW, does Evolution really not just ask the IMAP server to do the search for it when doing a 'Body' search? I had thought that was the reason the search took so long... downloading all the messages seems like a really bad idea in the case of large mail folders like mine. Well, mine isn't even large, it's only a few thousand messages from the last few years; I know of people who literally never delete any mail off the server.
Thanks for the update. The 3.4. doesn't contain the fix, it's part of 3.5.1, which is just a development release. We may wait for 3.6.0 release (in the autumn). Let's close this as a duplicate of the other bug and reopen it, if you'll find any issue with it in 3.6.x. The IMAP provider does server SEARCH command on body searches, but IMAP+ does not, thus it depends on your IMAP account type. *** This bug has been marked as a duplicate of bug 672175 ***