Everytime showing a mail in html kmail hangs a few seconds, UI is unresponsive. Also with disabled external resources. Showing only source works immediately. Maybe that are large mails with advertising, but it shouldn't take several seconds and freeze the ui. Reproducible: Always
Created attachment 84946 [details] example mail
indeed it takes 1-2 secondes here. I will investigate.
Takes 5-8 second for me, cpuusage of kmail goes to 100% during this time. Kmail uses qtwebkit, right? How look further whos fault it is?
I confirm this bug on KDE 14.3 with lag of +5 seconds + very high cpu + large usage of RAM >500 Mb and growing. remove "html mail" preference and all works well - even if you set a user to be allowed html mail loading... the lag then totally disappears with said user(s) even though the mail is shown in HTML. further the RAM usage then stays around 115 Mb I am on Kubuntu 14.04
Created attachment 86613 [details] cachegrind output A cachegrind output, for me it looks like a lot of cycles are spend in qtwebkit
Same as Bug 331156?
*** This bug has been marked as a duplicate of bug 331156 ***
on Kubuntu 14.40 with KDE 4.13.3 this no longer happens and bug has been resolved. Thanks a lot!
...and happens again in KDE 14.4.2 on Debian jessie
(In reply to Martin Fernau from comment #9) > ...and happens again in KDE 14.4.2 on Debian jessie am on 4.14.2 in Kubuntu 14.10 and am not seeing it there, could it be distrorelated?
Maybe its another bug. I've one mail (obviously a large one - with many 're re re'...) if I try to respond to this mail kmail eats 100% CPU and hangs for several seconds (round about 10-30). After this period of time I can close the mail normally or start typing. If I try to type text it possibly hangs again for the same time which is the reason why I close the mail and answer with another mail client.