GNOME Bugzilla – Bug 647310
GtkHTML spins CPU?
Last modified: 2013-09-13 01:11:23 UTC
When switching messages on IMAP before they're fully loaded, Evolution spins my CPU, and makes X.org spin as well. Trying to switch messages doesn't work and Evolution can't be exited cleanly. Using: gtk3-3.0.8-2.fc15.x86_64 evolution-3.0.0-1.fc15.x86_64 gtkhtml3-4.0.0-1.fc15.x86_64
+ Trace 226664
+ Trace 226665
Thanks for a bug report. Do you have a test message which exhibits this issue, please? Also, this might be fixed when Evolution will start using WebKit instead of pretty much dead GtkHTML for message showing.
Seems to happen with HTML mail from gmail. I'll copy a message as .eml when I get a chance. And I'm eagerly waiting for the WebKit powered preview as well :)
Created attachment 188041 [details] example spinner
I can now work-around the problem by disabling the message preview (Ctrl+M), switching messages, and using Ctrl+M again.
(In reply to comment #3) > Seems to happen with HTML mail from gmail. I'll copy a message as .eml when I > get a chance. And I'm eagerly waiting for the WebKit powered preview as well :) Thanks for the update. I do not see any significant slowdown with your mail, only a short high CPU usage, but nothing even noticeable, it can be less than half a second. If I make the message text longer, about 1.5MB, then the slowdown is noticeable very nicely. All that when gtkhtml tries to wrap one long line into smaller parts based on the screen size. The actual code seems to be slightly inefficient. The message itself isn't any how complicated HTML code, it's only few DIV-s. Due to the WebKit migration for evo's HTML renderer, as you mentioned above, I prefer to have this opened as a tester for the move, to see whether it'll really work better or not (I hope and believe it will).
marking a dup of mine which has some more digging :-) *** This bug has been marked as a duplicate of bug 655248 ***