Hello community, here is the log from the commit of package akregator for openSUSE:Factory checked in at 2019-07-08 15:05:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/akregator (Old) and /work/SRC/openSUSE:Factory/.akregator.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "akregator" Mon Jul 8 15:05:05 2019 rev:36 rq:713486 version:19.04.2 Changes: -------- --- /work/SRC/openSUSE:Factory/akregator/akregator.changes 2019-06-13 22:40:52.768232632 +0200 +++ /work/SRC/openSUSE:Factory/.akregator.new.4615/akregator.changes 2019-07-08 15:05:06.602905146 +0200 @@ -1,0 +2,6 @@ +Thu Jul 4 16:39:46 UTC 2019 - wbauer@tmo.at + +- Add Reinstate-crash-workaround-for-Qt-5.13.patch to fix possible + crashes when opening/closing tabs with Qt 5.13 too (kde#371511) + +------------------------------------------------------------------- New: ---- Reinstate-crash-workaround-for-Qt-5.13.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ akregator.spec ++++++ --- /var/tmp/diff_new_pack.9FnhIB/_old 2019-07-08 15:05:07.638906713 +0200 +++ /var/tmp/diff_new_pack.9FnhIB/_new 2019-07-08 15:05:07.642906719 +0200 @@ -28,6 +28,8 @@ Group: Productivity/Networking/News/Utilities URL: http://www.kde.org Source0: %{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch0: Reinstate-crash-workaround-for-Qt-5.13.patch BuildRequires: akonadi-mime-devel >= %{_kapp_version} BuildRequires: extra-cmake-modules >= %{kf5_version} BuildRequires: fdupes @@ -95,6 +97,7 @@ %prep %setup -q +%autopatch -p1 %build %if 0%{?suse_version} < 1330 ++++++ Reinstate-crash-workaround-for-Qt-5.13.patch ++++++
From 46adc9c9a6dcfe790b4b0252ce2e90af06d1d80f Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer <wbauer@tmo.at> Date: Thu, 4 Jul 2019 18:32:05 +0200 Subject: [articleviewerwebengine] Reinstate crash "workaround" for Qt 5.13
It seems that this code is still needed, without it Akregator crashes again here when opening/closing tabs. Uses SetUrlRequestInterceptor() on 5.13+ instead, as SetRequestInterceptor() is deprecated. BUG: 371511 FIXED-IN: 5.11.3 Differential Revision: https://phabricator.kde.org/D22228 --- src/articleviewer-ng/webengine/articleviewerwebengine.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/articleviewer-ng/webengine/articleviewerwebengine.cpp b/src/articleviewer-ng/webengine/articleviewerwebengine.cpp index fd78e88..f072713 100644 --- a/src/articleviewer-ng/webengine/articleviewerwebengine.cpp +++ b/src/articleviewer-ng/webengine/articleviewerwebengine.cpp @@ -85,11 +85,13 @@ ArticleViewerWebEngine::ArticleViewerWebEngine(KActionCollection *ac, QWidget *p 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); +#if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 13, 0) profile->setRequestInterceptor(webEngineUrlInterceptor); +#else + profile->setUrlRequestInterceptor(webEngineUrlInterceptor); #endif setPage(mPageEngine); -- cgit v1.1
participants (1)
-
root