Hello community, here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2017-07-17 10:27:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old) and /work/SRC/openSUSE:Factory/.plasma-framework.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-framework" Mon Jul 17 10:27:22 2017 rev:49 rq:510482 version:5.36.0 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes 2017-07-05 23:54:24.918235495 +0200 +++ /work/SRC/openSUSE:Factory/.plasma-framework.new/plasma-framework.changes 2017-07-17 10:27:24.979328728 +0200 @@ -1,0 +2,33 @@ +Sat Jul 15 09:54:58 UTC 2017 - [email protected] + +- Add patch to revert upstream commit to workaround notifications + appearing at the wrong location (kde#381130): + * 0001-Revert-recreate-plasmashellsurf-on-exposed-destoy-on.patch + +------------------------------------------------------------------- +Wed Jul 12 07:14:05 CEST 2017 - [email protected] + +- Update to 5.36.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.36.0.php +- Changes since 5.35.0: + * Use #if instead of #ifdef + * Fix the build without wayland/kwayland + * Make sure size is final after showEvent + * Fix vlc tray icon margins + * Fix vlc tray icon color scheme + * Revert "Make every applet its own focus scope" + * Set Containments to have focus within the view (kde#381124) + * generate the old key before updating enabledborders (kde#378508) + * show show password button also if empty text (kde#378277) + * Make every applet its own focus scope + * Emit usedPrefixChanged when prefix is empty + * don't switch colors on new themes + * tests: run i18ndcheck only when bash is found + * Port a bunch of classes away from Plasma::Package + * cmake: use ecm_add_test more + * src/plasmaquick/dialog.cpp - fix build without kwayland + * [FEATURE] Option to build & install QCH file with the public API dox + +------------------------------------------------------------------- Old: ---- plasma-framework-5.35.0.tar.xz New: ---- 0001-Revert-recreate-plasmashellsurf-on-exposed-destoy-on.patch plasma-framework-5.36.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-framework.spec ++++++ --- /var/tmp/diff_new_pack.rw238P/_old 2017-07-17 10:27:25.855205249 +0200 +++ /var/tmp/diff_new_pack.rw238P/_new 2017-07-17 10:27:25.855205249 +0200 @@ -17,9 +17,9 @@ %bcond_without lang -%define _tar_path 5.35 +%define _tar_path 5.36 Name: plasma-framework -Version: 5.35.0 +Version: 5.36.0 Release: 0 %define kf5_version %{version} Summary: Plasma library and runtime components based upon KF5 and Qt5 @@ -28,6 +28,8 @@ Url: https://projects.kde.org/plasma-framework Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf +# PATCH-FIX-OPENSUSE +Patch1: 0001-Revert-recreate-plasmashellsurf-on-exposed-destoy-on.patch BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes BuildRequires: kactivities5-devel >= 5.19.0 @@ -121,6 +123,7 @@ %lang_package %prep %setup -q +%patch1 -p1 %build %cmake_kf5 -d build ++++++ 0001-Revert-recreate-plasmashellsurf-on-exposed-destoy-on.patch ++++++ >From 4f549e55e4b7275e937fbe8a10c955fb8090b409 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <[email protected]> Date: Sat, 15 Jul 2017 11:51:58 +0200 Subject: [PATCH] Revert "recreate plasmashellsurf on exposed, destoy on hidden" This reverts commit fd2e850156ac7aa9c9dc2cf46652b2a1f1fc3a07. Workaround for notifications appearing at the wrong location sometimes (kde#381130). --- src/declarativeimports/core/tooltipdialog.cpp | 9 +++++++ src/plasmaquick/dialog.cpp | 39 +++++++-------------------- 2 files changed, 18 insertions(+), 30 deletions(-) diff --git a/src/declarativeimports/core/tooltipdialog.cpp b/src/declarativeimports/core/tooltipdialog.cpp index 04c544614..f6cad6fb5 100644 --- a/src/declarativeimports/core/tooltipdialog.cpp +++ b/src/declarativeimports/core/tooltipdialog.cpp @@ -98,6 +98,15 @@ bool ToolTipDialog::event(QEvent *e) dismiss(); } +#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) + if (e->type() == QEvent::PlatformSurface) { + auto pe = static_cast<QPlatformSurfaceEvent*>(e); + if (pe->surfaceEventType() == QPlatformSurfaceEvent::SurfaceCreated) { + KWindowSystem::setType(winId(), NET::Tooltip); + } + } +#endif + bool ret = Dialog::event(e); Qt::WindowFlags flags = Qt::ToolTip | Qt::WindowDoesNotAcceptFocus | Qt::WindowStaysOnTopHint; if (KWindowSystem::isPlatformX11()) { diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 6b6922ace..d825ff023 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -1156,48 +1156,27 @@ void Dialog::showEvent(QShowEvent *event) bool Dialog::event(QEvent *event) { if (event->type() == QEvent::Expose) { - auto ee = static_cast<QExposeEvent*>(event); - - if (ee->region().isNull()) { - return QQuickWindow::event(event); - } - - /* - * expose event is the only place where to correctly - * register our wayland extensions, as showevent is a bit too - * soon and the platform window isn't shown yet - * create a shell surface every time the window gets exposed - * (only the first expose event, guarded by shelldurface existence) - * and tear it down when the window gets hidden - * see https://phabricator.kde.org/T6064 - */ -#if HAVE_KWAYLAND - //sometimes non null regions arrive even for non visible windows - //for which surface creation would fail - if (!d->shellSurface && isVisible()) { - KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager); - d->setupWaylandIntegration(); - d->updateVisibility(true); - d->updateTheme(); - } -#endif + // FIXME TODO: We can remove this once we depend on Qt 5.6.1+. + // See: https://bugreports.qt.io/browse/QTBUG-26978 + KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager); #if (QT_VERSION > QT_VERSION_CHECK(5, 5, 0)) } else if (event->type() == QEvent::PlatformSurface) { const QPlatformSurfaceEvent *pSEvent = static_cast<QPlatformSurfaceEvent *>(event); if (pSEvent->surfaceEventType() == QPlatformSurfaceEvent::SurfaceCreated) { KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager); + d->setupWaylandIntegration(); + } else if (pSEvent->surfaceEventType() == QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed) { +#if HAVE_KWAYLAND + delete d->shellSurface; + d->shellSurface = nullptr; +#endif } #endif } else if (event->type() == QEvent::Show) { d->updateVisibility(true); } else if (event->type() == QEvent::Hide) { d->updateVisibility(false); -#if HAVE_KWAYLAND - delete d->shellSurface; - d->shellSurface = nullptr; -#endif - } else if (event->type() == QEvent::Move) { #if HAVE_KWAYLAND if (d->shellSurface) { -- 2.13.2 ++++++ plasma-framework-5.35.0.tar.xz -> plasma-framework-5.36.0.tar.xz ++++++ ++++ 4718 lines of diff (skipped)
