Version: 1.0beta5 (using KDE KDE 3.2.3) Installed from: Debian testing/unstable Packages OS: Linux When clicking on a link in an article, it takes for ever (at least five seconds, often much more) to open a new tab. Often, I continue reading, and then when it finally is opened, it get's focus, and disturbs my reading.
CVS commit by sashmit: special case (url.html, etc) so that no mimetype detection takes place CCMAIL: 86804@bugs.kde.org M +12 -0 articleviewer.cpp 1.43 --- kdenonbeta/akregator/src/articleviewer.cpp #1.42:1.43 @@ -17,4 +17,5 @@ #include <kglobalsettings.h> #include <kstandarddirs.h> +#include <kmimetype.h> #include <khtmlview.h> #include <krun.h> @@ -276,4 +277,15 @@ void ArticleViewer::show(Feed *f, MyArti bool ArticleViewer::slotOpenURLRequest(const KURL& url, const KParts::URLArgs& args) { + // special case the fast case + QString type=url.url(); + kdError() << "type==="<<type<<endl; + if (type.right(5)==".html" ||type.right(4)==".php" || type.right(4)==".htm" + || type.right(4)==".xml") + { + openPage(url, args, type); + return true; + } + + // else check mimetype new aKregatorRun(this, (QWidget*)parent(), this, url, args, true); return true;
marking dup, since they are same issue *** This bug has been marked as a duplicate of 86633 ***