Hello community, here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2015-01-23 15:47:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2014-12-21 11:59:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.plasma-framework.new/plasma-framework.changes 2015-01-23 15:47:15.000000000 +0100 @@ -1,0 +2,35 @@ +Tue Jan 13 16:16:28 UTC 2015 - [email protected] + +- Added patches from upstream: + 0001-Fix-errorneously-opening-a-broken-context-menu-when-.patch + (kde#342702), + 0002-reset-the-internal-size-copy-when-the-theme-changes.patch + (kde#337704), + 0003-trigger-button-switch-on-mouse-wheel.patch (kde#342778), + 0004-don-t-forward-events-if-not-visible-anymore.patch (kde#342444) + and 0005-a-check-more-on-centering.patch (kde#342537) + +------------------------------------------------------------------- +Sat Jan 3 18:03:35 UTC 2015 - [email protected] + +- Update to 5.6.0 + * Let month menu navigate in current year (kde#342327) + * Expose new OnScreenDisplay window type in Dialog + * Migrate Plasma::Package to KPackage + * Fix labels not picking up changes to font settings at runtime + * Fix text not properly updating its color when switching themes + (especially dark<-->light) + * Fix placeholder text in textfields being too strong when + using a light theme + * Set visibility on mainItem to match Dialog + * Load IconItem immediately upon componentComplete() + * Use the same text colour for comboboxes as buttons + * Performance improvements (less config-file reparsing, use + shared config...) + * roundToIconSize(0) now returns 0 + * Give undo notifications a title + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.6.0.php +- (Build)Require kpackage-devel + +------------------------------------------------------------------- Old: ---- plasma-framework-5.5.0.tar.xz New: ---- 0001-Fix-errorneously-opening-a-broken-context-menu-when-.patch 0002-reset-the-internal-size-copy-when-the-theme-changes.patch 0003-trigger-button-switch-on-mouse-wheel.patch 0004-don-t-forward-events-if-not-visible-anymore.patch 0005-a-check-more-on-centering.patch plasma-framework-5.6.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-framework.spec ++++++ --- /var/tmp/diff_new_pack.9OTAeL/_old 2015-01-23 15:47:16.000000000 +0100 +++ /var/tmp/diff_new_pack.9OTAeL/_new 2015-01-23 15:47:16.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package plasma-framework # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,26 @@ Name: plasma-framework -Version: 5.5.0 +Version: 5.6.0 Release: 0 %define kf5_version %{version} Summary: Plasma library and runtime components based upon KF5 and Qt5 License: GPL-2.0+ and LGPL-2.0+ Group: System/GUI/KDE Url: https://projects.kde.org/plasma-framework -Source: http://download.kde.org/stable/frameworks/5.5/%{name}-%{version}.tar.xz +Source: http://download.kde.org/stable/frameworks/5.6/%{name}-%{version}.tar.xz Source1: baselibs.conf -BuildRequires: extra-cmake-modules >= 1.5.0 +# PATCH-FIX-UPSTREAM 0001-Fix-errorneously-opening-a-broken-context-menu-when-.patch +Patch0: 0001-Fix-errorneously-opening-a-broken-context-menu-when-.patch +# PATCH-FIX-UPSTREAM 0002-reset-the-internal-size-copy-when-the-theme-changes.patch +Patch1: 0002-reset-the-internal-size-copy-when-the-theme-changes.patch +# PATCH-FIX-UPSTREAM 0003-trigger-button-switch-on-mouse-wheel.patch +Patch2: 0003-trigger-button-switch-on-mouse-wheel.patch +# PATCH-FIX-UPSTREAM 0004-don-t-forward-events-if-not-visible-anymore.patch +Patch3: 0004-don-t-forward-events-if-not-visible-anymore.patch +# PATCH-FIX-UPSTREAM 0005-a-check-more-on-centering.patch +Patch4: 0005-a-check-more-on-centering.patch +BuildRequires: extra-cmake-modules >= 1.6.0 BuildRequires: fdupes BuildRequires: kactivities5-devel >= %{kf5_version} BuildRequires: karchive-devel >= %{kf5_version} @@ -42,6 +52,7 @@ BuildRequires: ki18n-devel >= %{kf5_version} BuildRequires: kiconthemes-devel >= %{kf5_version} BuildRequires: kio-devel >= %{kf5_version} +BuildRequires: kpackage-devel >= %{kf5_version} BuildRequires: kparts-devel >= %{kf5_version} BuildRequires: kservice-devel >= %{kf5_version} BuildRequires: kwindowsystem-devel >= %{kf5_version} @@ -97,8 +108,9 @@ Requires: %{name} = %{version} Requires: %{name}-components = %{version} Requires: %{name}-private = %{version} -Requires: extra-cmake-modules >= 1.5.0 +Requires: extra-cmake-modules >= 1.6.0 Requires: kf5-filesystem +Requires: kpackage-devel >= %{kf5_version} Requires: kservice-devel >= %{kf5_version} Requires: pkgconfig(Qt5Gui) >= 5.2.0 Requires: pkgconfig(Qt5Qml) >= 5.2.0 @@ -110,6 +122,11 @@ %lang_package %prep %setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build %cmake_kf5 -d build @@ -130,6 +147,7 @@ %postun private -p /sbin/ldconfig %files lang -f %{name}.lang +%doc %lang(lt) %{_kf5_sharedir}/locale/lt %files %defattr(-,root,root) @@ -151,13 +169,6 @@ %defattr(-,root,root) %doc COPYING* %{_kf5_libdir}/libKF5PlasmaQuick.so.* -%dir %{_kf5_libdir}/qt5/platformqml/touch/org/kde/plasma/components -%dir %{_kf5_libdir}/qt5/platformqml/touch/org/kde/plasma -%dir %{_kf5_libdir}/qt5/platformqml/touch/org/kde -%dir %{_kf5_libdir}/qt5/platformqml/touch/org -%dir %{_kf5_libdir}/qt5/platformqml/touch -%dir %{_kf5_libdir}/qt5/platformqml -%{_kf5_libdir}/qt5/platformqml/touch/org/kde/plasma/components/private/ %dir %{_kf5_qmldir}/org/kde/plasma/components %dir %{_kf5_qmldir}/org/kde/plasma/core %dir %{_kf5_qmldir}/org/kde/plasma @@ -173,8 +184,6 @@ %defattr(-,root,root) %doc COPYING* %{_kf5_qmldir}/ -%{_kf5_libdir}/qt5/platformqml/ -%exclude %{_kf5_libdir}/qt5/platformqml/touch/org/kde/plasma/components/private/ %exclude %{_kf5_qmldir}/org/kde/plasma/components/private/ %exclude %{_kf5_qmldir}/org/kde/plasma/core/private/ ++++++ 0001-Fix-errorneously-opening-a-broken-context-menu-when-.patch ++++++ >From 7476decf2987e3f6f1a1c5840fad37d12090facc Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik <[email protected]> Date: Sun, 11 Jan 2015 17:50:52 +0100 Subject: [PATCH 1/5] Fix errorneously opening a broken context menu when middle clicking Plasma popup BUG: 342702 --- src/scriptengines/qml/plasmoid/appletinterface.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/scriptengines/qml/plasmoid/appletinterface.cpp b/src/scriptengines/qml/plasmoid/appletinterface.cpp index ec9622424da9ad6c69dfda82be5f8e7dc66f93a4..a27258b14f34508039669abd371e1a88e380237a 100644 --- a/src/scriptengines/qml/plasmoid/appletinterface.cpp +++ b/src/scriptengines/qml/plasmoid/appletinterface.cpp @@ -602,6 +602,8 @@ void AppletInterface::executeAction(const QString &name) bool AppletInterface::eventFilter(QObject *watched, QEvent *event) { if (event->type() == QEvent::MouseButtonPress) { + QMouseEvent *e = static_cast<QMouseEvent *>(event); + //pass it up to the applet //well, actually we have to pass it to the *containment* //because all the code for showing an applet's contextmenu is actually in Containment. @@ -612,13 +614,24 @@ bool AppletInterface::eventFilter(QObject *watched, QEvent *event) if (!plugin) { return false; } + + //the plugin can be a single action or a context menu + //Don't have an action list? execute as single action + //and set the event position as action data + if (plugin->contextualActions().length() == 1) { + QAction *action = plugin->contextualActions().first(); + action->setData(e->globalPos()); + action->trigger(); + return true; + } + ContainmentInterface *ci = c->property("_plasma_graphicObject").value<ContainmentInterface *>(); QMenu desktopMenu; ci->addAppletActions(desktopMenu, applet(), event); if (!desktopMenu.isEmpty()) { - desktopMenu.exec(static_cast<QMouseEvent*>(event)->globalPos()); + desktopMenu.exec(e->globalPos()); return true; } -- 2.2.1 ++++++ 0002-reset-the-internal-size-copy-when-the-theme-changes.patch ++++++ >From 7d00d30f44b44dd34cfd02ff4b5f23c1691121d7 Mon Sep 17 00:00:00 2001 From: Marco Martin <[email protected]> Date: Tue, 13 Jan 2015 10:49:13 +0100 Subject: [PATCH 2/5] reset the internal size copy when the theme changes Change-Id: I1800076e98bc543ffdea3f4c92d5a08f934f7573 --- src/plasma/svg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plasma/svg.cpp b/src/plasma/svg.cpp index 2a0fe8d9da4801f6f3d26855f2181f4b2dd74d7f..3e609a50546876a3e853073588ab41e4c9f9b80e 100644 --- a/src/plasma/svg.cpp +++ b/src/plasma/svg.cpp @@ -644,6 +644,7 @@ void SvgPrivate::themeChanged() themePath.clear(); eraseRenderer(); setImagePath(currentPath); + q->resize(); //qDebug() << themePath << ">>>>>>>>>>>>>>>>>> theme changed"; emit q->repaintNeeded(); -- 2.2.1 ++++++ 0003-trigger-button-switch-on-mouse-wheel.patch ++++++ >From c1814477fd466c1e03688abb3a0e205ab0ccb6c1 Mon Sep 17 00:00:00 2001 From: Marco Martin <[email protected]> Date: Tue, 13 Jan 2015 12:48:48 +0100 Subject: [PATCH 3/5] trigger button switch on mouse wheel BUG:342778 Change-Id: Idfa06319ac84762040eea07074042061a4bc313c --- .../plasmacomponents/qml/private/TabBarLayout.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml index c67be4d5ea3ae06a8684057e33f7866df1651ada..e39e1eb79a7c531b5c9ebef2625bbd87643a568e 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml +++ b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml @@ -132,6 +132,10 @@ Item { break } } + + if (root.children[oldIndex]) { + root.children[oldIndex].clicked(); + } } function goPreviousTab() { @@ -153,6 +157,10 @@ Item { break } } + + if (root.children[oldIndex]) { + root.children[oldIndex].clicked(); + } } function currentButtonIndex() { -- 2.2.1 ++++++ 0004-don-t-forward-events-if-not-visible-anymore.patch ++++++ >From af0dffd89bde034e903360f4dc3d2c024e6cbcd9 Mon Sep 17 00:00:00 2001 From: Marco Martin <[email protected]> Date: Tue, 13 Jan 2015 13:18:00 +0100 Subject: [PATCH 4/5] don't forward events if not visible anymore BUG:342444 Change-Id: I58bfd951e4f55d07c8f3327881354a678a7f65ba --- src/plasmaquick/dialog.cpp | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 74c68a6ec1653bb6f771955993beaf2604b5400a..8c38f474fb0ff9fc5d4bc5b8c963304d501414ae 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -1051,7 +1051,9 @@ bool Dialog::event(QEvent *event) d->positionAdjustedForMainItem(me->windowPos()) + position(), me->button(), me->buttons(), me->modifiers()); - QCoreApplication::sendEvent(this, &me2); + if (isVisible()) { + QCoreApplication::sendEvent(this, &me2); + } return true; } break; @@ -1066,7 +1068,9 @@ bool Dialog::event(QEvent *event) we->pixelDelta(), we->angleDelta(), we->delta(), we->orientation(), we->buttons(), we->modifiers(), we->phase()); - QCoreApplication::sendEvent(this, &we2); + if (isVisible()) { + QCoreApplication::sendEvent(this, &we2); + } return true; } break; @@ -1078,7 +1082,9 @@ bool Dialog::event(QEvent *event) QDragEnterEvent de2(d->positionAdjustedForMainItem(de->pos()).toPoint(), de->possibleActions(), de->mimeData(), de->mouseButtons(), de->keyboardModifiers()); - QCoreApplication::sendEvent(this, &de2); + if (isVisible()) { + QCoreApplication::sendEvent(this, &de2); + } return true; } break; @@ -1092,7 +1098,9 @@ bool Dialog::event(QEvent *event) QDragMoveEvent de2(d->positionAdjustedForMainItem(de->pos()).toPoint(), de->possibleActions(), de->mimeData(), de->mouseButtons(), de->keyboardModifiers()); - QCoreApplication::sendEvent(this, &de2); + if (isVisible()) { + QCoreApplication::sendEvent(this, &de2); + } return true; } break; @@ -1103,7 +1111,9 @@ bool Dialog::event(QEvent *event) QDropEvent de2(d->positionAdjustedForMainItem(de->pos()).toPoint(), de->possibleActions(), de->mimeData(), de->mouseButtons(), de->keyboardModifiers()); - QCoreApplication::sendEvent(this, &de2); + if (isVisible()) { + QCoreApplication::sendEvent(this, &de2); + } return true; } break; -- 2.2.1 ++++++ 0005-a-check-more-on-centering.patch ++++++ >From d96a8505d9772aee5258738ec3c484a0d70673cc Mon Sep 17 00:00:00 2001 From: Marco Martin <[email protected]> Date: Tue, 13 Jan 2015 15:59:17 +0100 Subject: [PATCH 5/5] a check more on centering Change-Id: Ib22fcc6fe727c8b2b5ddc2473663c1e56b1dad09 CCBUG:342537 --- src/declarativeimports/plasmastyle/ToolButtonStyle.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarativeimports/plasmastyle/ToolButtonStyle.qml b/src/declarativeimports/plasmastyle/ToolButtonStyle.qml index 47e9c9145b4d3ab9fde244234612abe9f6d6574c..3d4b8daabe08b53eaa0009cf9ed3bd41515e81fe 100644 --- a/src/declarativeimports/plasmastyle/ToolButtonStyle.qml +++ b/src/declarativeimports/plasmastyle/ToolButtonStyle.qml @@ -168,6 +168,7 @@ QtQuickControlStyle.ButtonStyle { elementId: (control.pressed || control.checked) ? "pressed" : "normal" width: Math.floor(parent.height/2) * 2 height: width + anchors.centerIn: parent //internal: if there is no hover status, don't paint on mouse over in touchscreens opacity: (control.pressed || control.checked || !style.flat || (roundShadow.hasOverState && control.hovered)) ? 1 : 0 Behavior on opacity { -- 2.2.1 ++++++ plasma-framework-5.5.0.tar.xz -> plasma-framework-5.6.0.tar.xz ++++++ ++++ 33129 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
