Hello community, here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2015-07-14 17:30:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old) and /work/SRC/openSUSE:Factory/.plasma-framework.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-framework" Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes 2015-06-23 12:13:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.plasma-framework.new/plasma-framework.changes 2015-07-14 17:30:09.000000000 +0200 @@ -1,0 +2,25 @@ +Sun Jul 5 18:45:30 UTC 2015 - [email protected] + +- Update to 5.12.0 + * Make the dark theme completely dark, also the + complementary group + * Cache naturalsize separately by scalefactor + * ContainmentView: Do not crash on an invalid corona metadata + * AppletQuickItem: Do not access KPluginInfo if not valid + * Fix occasional empty applet config pages (kde#349250) + * Improve hidpi support in the Calendar grid component + * Verify KService has valid plugin info before using it + * [calendar] Ensure the grid is repainted on theme changes + * [calendar] Always start counting weeks from Monday + (kde#349044) + * [calendar] Repaint the grid when show week numbers + setting changes + * An opaque theme is now used when only the blur effect is + available (kde#348154) + * Whitelist applets/versions for separate engine + * Introduce a new class ContainmentView + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.12.0.php +- Added 0001-Also-check-for-SharedEngineView.patch (kde#349172) + +------------------------------------------------------------------- Old: ---- plasma-framework-5.11.0.tar.xz New: ---- 0001-Also-check-for-SharedEngineView.patch plasma-framework-5.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-framework.spec ++++++ --- /var/tmp/diff_new_pack.yIBYk7/_old 2015-07-14 17:30:10.000000000 +0200 +++ /var/tmp/diff_new_pack.yIBYk7/_new 2015-07-14 17:30:10.000000000 +0200 @@ -17,9 +17,9 @@ %bcond_without lang -%define _tar_path 5.11 +%define _tar_path 5.12 Name: plasma-framework -Version: 5.11.0 +Version: 5.12.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-UPSTREAM 0001-Also-check-for-SharedEngineView.patch +Patch0: 0001-Also-check-for-SharedEngineView.patch BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes BuildRequires: kactivities5-devel >= %{_tar_path} @@ -117,6 +119,7 @@ %lang_package %prep %setup -q +%patch0 -p1 %build %cmake_kf5 -d build ++++++ 0001-Also-check-for-SharedEngineView.patch ++++++ >From 5cf9c04ff5a6809bf67fa27c86f5393d1ba9d08b Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik <[email protected]> Date: Sun, 5 Jul 2015 15:21:04 +0200 Subject: [PATCH 1/1] Also check for SharedEngineView With the move to a shared QML engine infrastructure, the check for whether the focus item is a View no longer held and thus Plasma dialogs stayed opened when clicking the Desktop to dismiss them. CHANGELOG: Dialogs like Kickoff now properly close when clicking the Desktop BUG: 349172 REVIEW: 124260 FIXED-IN: 5.13 --- src/plasmaquick/dialog.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 216688025185592f3b91707e87ca9733129dca45..82311c75be4140873960d72910a0c25248bad1ec 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -35,6 +35,8 @@ #include <kwindowsystem.h> #include <KWindowSystem/KWindowInfo> +#include <kquickaddons/quickviewsharedengine.h> + #include <kwindoweffects.h> #include <Plasma/Plasma> #include <Plasma/Corona> @@ -1038,7 +1040,9 @@ void Dialog::focusOutEvent(QFocusEvent *ev) const QWindow *focusWindow = QGuiApplication::focusWindow(); bool childHasFocus = focusWindow && ((focusWindow->isActive() && isAncestorOf(focusWindow)) || focusWindow->type() & Qt::Popup); - if (qobject_cast<const View *>(focusWindow) || (!parentHasFocus && !childHasFocus)) { + const bool viewClicked = qobject_cast<const KQuickAddons::QuickViewSharedEngine *>(focusWindow) || qobject_cast<const View *>(focusWindow); + + if (viewClicked || (!parentHasFocus && !childHasFocus)) { setVisible(false); emit windowDeactivated(); } -- 2.4.3 ++++++ plasma-framework-5.11.0.tar.xz -> plasma-framework-5.12.0.tar.xz ++++++ ++++ 4468 lines of diff (skipped)
