https://bugs.kde.org/show_bug.cgi?id=371511

--- Comment #42 from Wolfgang Bauer <wba...@tmo.at> ---
(In reply to Wolfgang Bauer from comment #36)
> Reverting
> https://cgit.kde.org/akregator.git/commit/
> ?id=1ccd68157a1309a2b11f3cece420bb2df6da2e02 seems to fix the crashes here
> (with Qt 5.12.3, akregator is 19.04.0).

To be more precise, moving the "mNetworkAccessManager = new
WebEngineViewer::InterceptorManager(this, ac, this);" line back to the top
seems to fix it.
@@ -79,18 +79,18 @@
ArticleViewerWebEngine::ArticleViewerWebEngine(KActionCollection *ac, QWidget
*p
     , mLastButtonClicked(LeftButton)
     , mViewerPluginToolManager(nullptr)
 {
+    mNetworkAccessManager = new WebEngineViewer::InterceptorManager(this, ac,
this);

     QWebEngineProfile *profile = QWebEngineProfile::defaultProfile();
     mPageEngine = new ArticleViewerWebEnginePage(profile, this);
    
profile->setPersistentCookiesPolicy(QWebEngineProfile::ForcePersistentCookies);

 #if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 13, 0)
     // Needed to workaround crash in webengine, see
https://bugreports.qt.io/browse/QTBUG-72260
     auto webEngineUrlInterceptor = new AkregatorRequestInterceptor();
     connect(profile, &QObject::destroyed, webEngineUrlInterceptor,
&AkregatorRequestInterceptor::deleteLater);
     profile->setRequestInterceptor(webEngineUrlInterceptor);
 #endif
-    mNetworkAccessManager = new WebEngineViewer::InterceptorManager(this, ac,
this);

     setPage(mPageEngine);


(In reply to Philippe ROUBACH from comment #41)
> akregator 19.04 is hardly usable.
> 
> can we expect rapidly new packages ?

Well, this is KDE's bugzilla.
But yes, I suppose I'll submit the revert to KDE:Applications until this is
fixed upstream.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to