Hello community, here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2017-08-24 17:59:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old) and /work/SRC/openSUSE:Factory/.plasma-framework.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-framework" Thu Aug 24 17:59:44 2017 rev:50 rq:516710 version:5.37.0 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes 2017-07-17 10:27:24.979328728 +0200 +++ /work/SRC/openSUSE:Factory/.plasma-framework.new/plasma-framework.changes 2017-08-24 18:00:07.239168755 +0200 @@ -1,0 +2,33 @@ +Sat Aug 12 09:23:43 UTC 2017 - christo...@krop.fr + +- Update to 5.37.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.37.0.php +- Changes since 5.36.0 : + * Fix compilation on Yocto + * [Containment Interface] always emit contextualActionsAboutToShow for containment + * add some @deprecated in the documentation + * remove resourceinstance + * Treat Button/ToolButton labels as plaintext + * Don't perform wayland specific fixes when on X (kde#381130) + * Add KF5WindowSystem to link interface + * Declare AppManager.js as pragma library + * [PlasmaComponents] Remove Config.js + * default to plain text for labels + * Load translations from KPackage files if bundled (kde#374825) + * [PlasmaComponents Menu] Don't crash on null action + * Use new connect syntax in more places + * [Plasma Dialog] Fix flag conditions + * update akregator system tray icon BUG: 379861 (kde#379861) + * [Containment Interface] Keep containment in RequiresAttentionStatus while context menu is open (kde#344205) + * Revert "Don't list KF5::WindowSystem in public libraries" + * Don't list KF5::WindowSystem in public libraries + * API dox: use @param for normal parameter listing, not @arg + * fix apidocs + * Fix tab bar layout key handling in RTL (kde#379894) +- Drop 0001-Revert-recreate-plasmashellsurf-on-exposed-destoy-on.patch + (fixed upstream) +- Add 0001-ignore-spurious-resize-events-to-empty-sizes.patch + +------------------------------------------------------------------- Old: ---- 0001-Revert-recreate-plasmashellsurf-on-exposed-destoy-on.patch plasma-framework-5.36.0.tar.xz New: ---- 0001-ignore-spurious-resize-events-to-empty-sizes.patch plasma-framework-5.37.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-framework.spec ++++++ --- /var/tmp/diff_new_pack.ex2YPo/_old 2017-08-24 18:00:08.542985113 +0200 +++ /var/tmp/diff_new_pack.ex2YPo/_new 2017-08-24 18:00:08.554983423 +0200 @@ -17,9 +17,9 @@ %bcond_without lang -%define _tar_path 5.36 +%define _tar_path 5.37 Name: plasma-framework -Version: 5.36.0 +Version: 5.37.0 Release: 0 %define kf5_version %{version} Summary: Plasma library and runtime components based upon KF5 and Qt5 @@ -28,8 +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 +# PATCH-FIX-UPSTREAM +Patch0: 0001-ignore-spurious-resize-events-to-empty-sizes.patch BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes BuildRequires: kactivities5-devel >= 5.19.0 @@ -112,6 +112,7 @@ Requires: kf5-filesystem Requires: kpackage-devel >= %{_tar_path} Requires: kservice-devel >= %{_tar_path} +Requires: kwindowsystem-devel >= %{_tar_path} Requires: cmake(Qt5Gui) >= 5.6.0 Requires: cmake(Qt5Qml) >= 5.6.0 Requires: cmake(Qt5Quick) >= 5.6.0 @@ -123,7 +124,7 @@ %lang_package %prep %setup -q -%patch1 -p1 +%patch0 -p1 %build %cmake_kf5 -d build ++++++ 0001-ignore-spurious-resize-events-to-empty-sizes.patch ++++++ >From 0c27df529d80e0449cfdc6352ad46c904f38c634 Mon Sep 17 00:00:00 2001 From: Marco Martin <notm...@gmail.com> Date: Fri, 4 Aug 2017 13:39:36 +0200 Subject: [PATCH] ignore spurious resize events to empty sizes Summary: on multiscreen systems, the notification dialog gets resized to 0x0 right after componentcomplete by someone else (either kwin, notification applet or Qt code) causing 382340, resizing a window to a null size is not correct anyways and should never happen. with this, all other resize events are correct and notifications are ok on multiscreen systems BUG:382340 Test Plan: system with primary monitor and panel in the external monitor at the right of a panel, notifications are fine Reviewers: #plasma, davidedmundson Reviewed By: #plasma, davidedmundson Subscribers: davidedmundson, broulik, plasma-devel, #frameworks Tags: #plasma, #frameworks Differential Revision: https://phabricator.kde.org/D7127 --- src/plasmaquick/dialog.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 43fc19600..6ec55b236 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -1042,6 +1042,16 @@ void Dialog::resizeEvent(QResizeEvent* re) { QQuickWindow::resizeEvent(re); + //it's a spontaneous event generated in qguiapplication.cpp QGuiApplicationPrivate::processWindowScreenChangedEvent + //QWindowSystemInterfacePrivate::GeometryChangeEvent gce(window, QHighDpi::fromNativePixels(window->handle()->geometry(), window), QRect()); + //This happens before the first show event when there is more than one screen, + //right after the window has been created, the window is still 0x0, + //but the resize event gets delivered with 0x0 again and executed with all the bad side effects + //this seems to happen for every window when there are multiple screens, so something we have probably to watch out for in the future + if (re->size().isEmpty() || re->size() == re->oldSize()) { + return; + } + //A dialog can be resized even if no mainItem has ever been set if (!d->mainItem) { return; ++++++ plasma-framework-5.36.0.tar.xz -> plasma-framework-5.37.0.tar.xz ++++++ ++++ 2481 lines of diff (skipped)