[kmail2] [Bug 331156] Display of HTML-Message extremely slow
Christux
c.schwarzgruber.cs at gmail.com
Mon May 26 19:52:46 BST 2014
https://bugs.kde.org/show_bug.cgi?id=331156
--- Comment #23 from Christux <c.schwarzgruber.cs at gmail.com> ---
(In reply to comment #22)
> Consistent with my earlier analysis, following patch does seem to work
> around the problem. Not sure what is lost by not having the html quote
> coloring.
>
> jmoon at jmoon-w530:~/kde$ diff -c10
> kdepim-4.13.1{-orig,}/messageviewer/viewer/htmlquotecolorer.cpp
> *** kdepim-4.13.1-orig/messageviewer/viewer/htmlquotecolorer.cpp
> 2014-05-07 11:01:39.000000000 +0100
> --- kdepim-4.13.1/messageviewer/viewer/htmlquotecolorer.cpp 2014-05-26
> 18:41:06.013342901 +0100
> ***************
> *** 26,45 ****
> --- 26,46 ----
> #include <QWebPage>
> #include <QWebFrame>
> #include <QWebElement>
> #endif
>
> using namespace MessageViewer;
>
> HTMLQuoteColorer::HTMLQuoteColorer()
> {
> }
> + #define KDEPIM_NO_WEBKIT
>
> QString HTMLQuoteColorer::process( const QString &htmlSource,
> QString&extraHead )
> {
> #ifndef KDEPIM_NO_WEBKIT
> // Create a DOM Document from the HTML source
> QWebPage page(0);
> page.settings()->setAttribute( QWebSettings::JavascriptEnabled, false
> );
> page.settings()->setAttribute( QWebSettings::JavaEnabled, false );
> page.settings()->setAttribute( QWebSettings::PluginsEnabled, false );
Hey John,
I also have this issues and was never able to fix it, I have tried everything
from removing all
kde settings to disabling some settings as mentioned by the others. Anyway, I
guess you have
build KMail with this patch on your machine. I would really love to test this
patch as well to
so if it fixes the problem, could you tell me which libraries do I have to
install to build kmail
from scratch with this patch applied, a link to a "how to compile KDE Kmail"
would be sufficient :-).
Thank you, Christian
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list