After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665408 - Searching message bodies breaks the mailer
Searching message bodies breaks the mailer
Status: RESOLVED DUPLICATE of bug 672175
Product: evolution
Classification: Applications
Component: Mailer
3.2.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-12-02 15:55 UTC by Sam Morris
Modified: 2012-06-13 09:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sam Morris 2011-12-02 15:55:50 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.
Comment 1 Milan Crha 2012-03-20 16:16:35 UTC
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.
Comment 2 Akhil Laddha 2012-06-11 13:21:26 UTC
Sam, did you get a chance to try out latest Evolution version ?
Comment 3 Sam Morris 2012-06-12 13:09:02 UTC
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.
Comment 4 Milan Crha 2012-06-13 09:01:07 UTC
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 ***