Hello community, here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2019-04-19 21:25:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old) and /work/SRC/openSUSE:Factory/.plasma-framework.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-framework" Fri Apr 19 21:25:17 2019 rev:74 rq:695262 version:5.57.0 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes 2019-03-21 09:49:41.882847302 +0100 +++ /work/SRC/openSUSE:Factory/.plasma-framework.new.5536/plasma-framework.changes 2019-04-19 21:25:19.331945905 +0200 @@ -1,0 +2,25 @@ +Sun Apr 14 20:21:45 UTC 2019 - lbeltr...@kde.org + +- Update to 5.57.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.57.0.php +- Changes since 5.56.0: + * [AppletInterface] Check for corona before accessing it + * [Dialog] Don't forward hover event when there is nowhere to forward it to + * [Menu] Fix triggered signal + * Reduce the importance of some debug information so actual warnings can be seen. + * Fix qml warning + * [PlasmaComponents3 ComboBox] Fix textColor + * autotests: don't fail if an unrelated window shows up. + * FrameSvgItem: catch margin changes of FrameSvg also outside own methods + * Add Theme::blurBehindEnabled() + * FrameSvgItem: fix textureRect for tiled subitems to not shrink to 0 + * Fix breeze dialog background with Qt 5.12.2 (kde#405548) + * [Icon Item] Also clear image icon when using Plasma Svg (kde#405298) + * textfield height based only on clear text (kde#399155) + * bind alternateBackgroundColor +- Dropped patches, now upstream: + * 0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch + +------------------------------------------------------------------- Old: ---- 0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch plasma-framework-5.56.1.tar.xz New: ---- plasma-framework-5.57.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-framework.spec ++++++ --- /var/tmp/diff_new_pack.YdO4uw/_old 2019-04-19 21:25:20.747947709 +0200 +++ /var/tmp/diff_new_pack.YdO4uw/_new 2019-04-19 21:25:20.783947755 +0200 @@ -17,14 +17,14 @@ %define lname libKF5Plasma5 -%define _tar_path 5.56 +%define _tar_path 5.57 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: plasma-framework -Version: 5.56.1 +Version: 5.57.0 Release: 0 Summary: Plasma library and runtime components based upon KF5 and Qt5 License: GPL-2.0-or-later AND LGPL-2.0-or-later @@ -34,12 +34,8 @@ Source1: baselibs.conf # PATCH-FIX-OPENSUSE Patch0: 0001-Revert-Remove-Qt-version-check.patch -# PATCH-FIX-UPSTREAM (warning: binary) -Patch1: 0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes -# Just for Patch1 -BuildRequires: git-core BuildRequires: kactivities5-devel >= 5.19.0 BuildRequires: karchive-devel >= %{_kf5_bugfix_version} BuildRequires: kconfig-devel >= %{_kf5_bugfix_version} @@ -134,9 +130,8 @@ %lang_package %prep -# Use git, Patch1 is binary -%autosetup -p1 -S git - +%setup -q +%autopatch -p1 %if 0%{?suse_version} == 1500 sed -i -e "s/^set *(REQUIRED_QT_VERSION 5.10.0)$/set(REQUIRED_QT_VERSION 5.9.0)/" CMakeLists.txt %endif ++++++ plasma-framework-5.56.1.tar.xz -> plasma-framework-5.57.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/.gitignore new/plasma-framework-5.57.0/.gitignore --- old/plasma-framework-5.56.1/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/plasma-framework-5.57.0/.gitignore 2019-04-07 09:34:27.000000000 +0200 @@ -0,0 +1,21 @@ +# Ignore the following files +*~ +*.[oa] +*.diff +*.kate-swp +*.kdev4 +.kdev_include_paths +*.kdevelop.pcs +*.moc +*.moc.cpp +*.orig +*.user +.*.swp +.swp.* +Doxyfile +Makefile +avail +random_seed +/build*/ +CMakeLists.txt.user* +*.unc-backup* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/CMakeLists.txt new/plasma-framework-5.57.0/CMakeLists.txt --- old/plasma-framework-5.56.1/CMakeLists.txt 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/CMakeLists.txt 2019-04-07 09:34:27.000000000 +0200 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.56.0") # handled by release scripts -set(KF5_DEP_VERSION "5.56.0") # handled by release scripts +set(KF5_VERSION "5.57.0") # handled by release scripts +set(KF5_DEP_VERSION "5.57.0") # handled by release scripts project(Plasma VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.56.0 NO_MODULE) +find_package(ECM 5.57.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/autotests/dialogstatetest.cpp new/plasma-framework-5.57.0/autotests/dialogstatetest.cpp --- old/plasma-framework-5.56.1/autotests/dialogstatetest.cpp 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/autotests/dialogstatetest.cpp 2019-04-07 09:34:27.000000000 +0200 @@ -53,6 +53,9 @@ windowAdded = true; break; } + if (windowAddedSpy.isEmpty()) { + QVERIFY(windowAddedSpy.wait()); + } } QVERIFY(windowAdded); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/po/id/libplasma5.po new/plasma-framework-5.57.0/po/id/libplasma5.po --- old/plasma-framework-5.56.1/po/id/libplasma5.po 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/po/id/libplasma5.po 2019-04-07 09:34:27.000000000 +0200 @@ -16,7 +16,7 @@ "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Lokalize 18.12.1\n" #: declarativeimports/calendar/eventdatadecorator.cpp:64 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/po/zh_CN/libplasma5.po new/plasma-framework-5.57.0/po/zh_CN/libplasma5.po --- old/plasma-framework-5.56.1/po/zh_CN/libplasma5.po 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/po/zh_CN/libplasma5.po 2019-04-07 09:34:27.000000000 +0200 @@ -9,7 +9,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2019-01-04 03:05+0100\n" -"PO-Revision-Date: 2019-02-20 23:15\n" +"PO-Revision-Date: 2019-03-07 09:22\n" "Last-Translator: guoyunhe <i...@guoyunhe.me>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/core/framesvgitem.cpp new/plasma-framework-5.57.0/src/declarativeimports/core/framesvgitem.cpp --- old/plasma-framework-5.56.1/src/declarativeimports/core/framesvgitem.cpp 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/declarativeimports/core/framesvgitem.cpp 2019-04-07 09:34:27.000000000 +0200 @@ -145,11 +145,13 @@ //if tiling horizontally if (m_border == FrameSvg::TopBorder || m_border == FrameSvg::BottomBorder || m_border == FrameSvg::NoBorder) { - textureRect.setWidth(nodeRect.width() / m_elementNativeSize.width()); + // cmp. CSS3's border-image-repeat: "repeat", though with first tile not centered, but aligned to left + textureRect.setWidth((qreal) nodeRect.width() / m_elementNativeSize.width()); } //if tiling vertically if (m_border == FrameSvg::LeftBorder || m_border == FrameSvg::RightBorder || m_border == FrameSvg::NoBorder) { - textureRect.setHeight(nodeRect.height() / m_elementNativeSize.height()); + // cmp. CSS3's border-image-repeat: "repeat", though with first tile not centered, but aligned to top + textureRect.setHeight((qreal) nodeRect.height() / m_elementNativeSize.height()); } } else if (m_fitMode == Stretch) { QString prefix = m_frameSvg->frameSvg()->actualPrefix(); @@ -279,18 +281,23 @@ class CheckMarginsChange { public: - CheckMarginsChange(FrameSvgItemMargins *margins) - : m_oldMargins(margins ? margins->margins() : QVector<qreal>()), m_margins(margins) + CheckMarginsChange(QVector<qreal>& oldMargins, FrameSvgItemMargins *marginsObject) + : m_oldMargins(oldMargins), m_marginsObject(marginsObject) {} - ~CheckMarginsChange() { - if (m_margins && m_margins->margins() != m_oldMargins) { - m_margins->update(); + ~CheckMarginsChange() + { + const QVector<qreal> oldMarginsBefore = m_oldMargins; + m_oldMargins = m_marginsObject ? m_marginsObject->margins() : QVector<qreal>(); + + if (oldMarginsBefore != m_oldMargins) { + m_marginsObject->update(); } } - const QVector<qreal> m_oldMargins; - FrameSvgItemMargins *const m_margins; +private: + QVector<qreal>& m_oldMargins; + FrameSvgItemMargins *const m_marginsObject; }; void FrameSvgItem::setImagePath(const QString &path) @@ -299,8 +306,8 @@ return; } - CheckMarginsChange checkMargins(m_margins); - CheckMarginsChange checkFixedMargins(m_fixedMargins); + CheckMarginsChange checkMargins(m_oldMargins, m_margins); + CheckMarginsChange checkFixedMargins(m_oldFixedMargins, m_fixedMargins); updateDevicePixelRatio(); m_frameSvg->setImagePath(path); @@ -343,8 +350,8 @@ return; } - CheckMarginsChange checkMargins(m_margins); - CheckMarginsChange checkFixedMargins(m_fixedMargins); + CheckMarginsChange checkMargins(m_oldMargins, m_margins); + CheckMarginsChange checkFixedMargins(m_oldFixedMargins, m_fixedMargins); m_prefixes = prefixList; applyPrefixes(); @@ -430,7 +437,7 @@ return; } - CheckMarginsChange checkMargins(m_margins); + CheckMarginsChange checkMargins(m_oldMargins, m_margins); m_frameSvg->setEnabledBorders(borders); emit enabledBordersChanged(); @@ -464,8 +471,8 @@ return; } - CheckMarginsChange checkMargins(m_margins); - CheckMarginsChange checkFixedMargins(m_fixedMargins); + CheckMarginsChange checkMargins(m_oldMargins, m_margins); + CheckMarginsChange checkFixedMargins(m_oldFixedMargins, m_fixedMargins); //if the theme changed, the available prefix may have changed as well applyPrefixes(); @@ -599,8 +606,8 @@ void FrameSvgItem::componentComplete() { - CheckMarginsChange checkMargins(m_margins); - CheckMarginsChange checkFixedMargins(m_fixedMargins); + CheckMarginsChange checkMargins(m_oldMargins, m_margins); + CheckMarginsChange checkFixedMargins(m_oldFixedMargins, m_fixedMargins); QQuickItem::componentComplete(); m_frameSvg->resizeFrame(QSize(width(), height())); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/core/framesvgitem.h new/plasma-framework-5.57.0/src/declarativeimports/core/framesvgitem.h --- old/plasma-framework-5.56.1/src/declarativeimports/core/framesvgitem.h 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/declarativeimports/core/framesvgitem.h 2019-04-07 09:34:27.000000000 +0200 @@ -255,6 +255,9 @@ Plasma::FrameSvg *m_frameSvg; FrameSvgItemMargins *m_margins; FrameSvgItemMargins *m_fixedMargins; + // logged margins to check for changes + QVector<qreal> m_oldMargins; + QVector<qreal> m_oldFixedMargins; QStringList m_prefixes; bool m_textureChanged; bool m_sizeChanged; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/core/iconitem.cpp new/plasma-framework-5.57.0/src/declarativeimports/core/iconitem.cpp --- old/plasma-framework-5.56.1/src/declarativeimports/core/iconitem.cpp 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/declarativeimports/core/iconitem.cpp 2019-04-07 09:34:27.000000000 +0200 @@ -187,6 +187,7 @@ //success? if (m_usesPlasmaTheme && m_svgIcon->isValid() && m_svgIcon->hasElement(sourceString)) { m_icon = QIcon(); + m_imageIcon = QImage(); m_svgIconName = sourceString; //ok, svg not available from the plasma theme } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/kirigamiplasmastyle/Theme.qml new/plasma-framework-5.57.0/src/declarativeimports/kirigamiplasmastyle/Theme.qml --- old/plasma-framework-5.56.1/src/declarativeimports/kirigamiplasmastyle/Theme.qml 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/declarativeimports/kirigamiplasmastyle/Theme.qml 2019-04-07 09:34:27.000000000 +0200 @@ -30,6 +30,7 @@ property color highlightColor: theme.highlightColor property color highlightedTextColor: theme.highlightedTextColor property color backgroundColor: theme.backgroundColor + property color alternateBackgroundColor: Qt.darker(theme.backgroundColor, 1.05) //TODO: don't make this invisible property color activeTextColor: theme.highlightColor property color linkColor: theme.linkColor @@ -40,26 +41,31 @@ property color buttonTextColor: theme.buttonTextColor property color buttonBackgroundColor: theme.buttonBackgroundColor + property color buttonAlternateBackgroundColor: Qt.darker(theme.buttonBackgroundColor, 1.05) property color buttonHoverColor: theme.buttonHoverColor property color buttonFocusColor: theme.buttonFocusColor property color viewTextColor: theme.viewTextColor property color viewBackgroundColor: theme.viewBackgroundColor + property color viewAlternateBackgroundColor: Qt.darker(theme.viewBackgroundColor, 1.05) property color viewHoverColor: theme.viewHoverColor property color viewFocusColor: theme.viewFocusColor property color selectionTextColor: theme.highlightedTextColor property color selectionBackgroundColor: theme.highlightColor + property color selectionAlternateBackgroundColor: Qt.darker(theme.selectionBackgroundColor, 1.05) property color selectionHoverColor: theme.buttonHoverColor property color selectionFocusColor: theme.buttonFocusColor property color tooltipTextColor: theme.complementaryTextColor property color tooltipBackgroundColor: theme.complementaryBackgroundColor + property color tooltipAlternateBackgroundColor: Qt.darker(theme.tooltipBackgroundColor, 1.05) property color tooltipHoverColor: theme.complementaryHoverColor property color tooltipFocusColor: theme.complementaryFocusColor property color complementaryTextColor: theme.complementaryTextColor property color complementaryBackgroundColor: theme.complementaryBackgroundColor + property color complementaryAlternateBackgroundColor: Qt.darker(theme.complementaryBackgroundColor, 1.05) property color complementaryHoverColor: theme.complementaryHoverColor property color complementaryFocusColor: theme.complementaryFocusColor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents/qmenu.cpp new/plasma-framework-5.57.0/src/declarativeimports/plasmacomponents/qmenu.cpp --- old/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents/qmenu.cpp 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/declarativeimports/plasmacomponents/qmenu.cpp 2019-04-07 09:34:27.000000000 +0200 @@ -274,13 +274,14 @@ void QMenuProxy::itemTriggered(QAction *action) { - QMenuItem *item = qobject_cast<QMenuItem *>(action); - if (item) { - emit triggered(item); - int index = m_items.indexOf(item); - if (index > -1) { - emit triggeredIndex(index); + for (int i = 0; i < m_items.count(); ++i) { + QMenuItem *item = m_items.at(i); + if (item->action() == action) { + emit triggered(item); + emit triggeredIndex(i); + break; } + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents3/ComboBox.qml new/plasma-framework-5.57.0/src/declarativeimports/plasmacomponents3/ComboBox.qml --- old/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents3/ComboBox.qml 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/declarativeimports/plasmacomponents3/ComboBox.qml 2019-04-07 09:34:27.000000000 +0200 @@ -141,7 +141,7 @@ // Work around Qt bug where NativeRendering breaks for non-integer scale factors // https://bugreports.qt.io/browse/QTBUG-67007 renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering - color: control.enabled ? Kirigami.Theme.textColor : Kirigami.Theme.disabledTextColor + color: PlasmaCore.ColorScope.textColor selectionColor: Kirigami.Theme.highlightColor selectedTextColor: Kirigami.Theme.highlightedTextColor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents3/TextField.qml new/plasma-framework-5.57.0/src/declarativeimports/plasmacomponents3/TextField.qml --- old/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents3/TextField.qml 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/declarativeimports/plasmacomponents3/TextField.qml 2019-04-07 09:34:27.000000000 +0200 @@ -48,7 +48,7 @@ selectByMouse: !Kirigami.Settings.tabletMode - cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : undefined + cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : null Component { id: mobileCursor Private.MobileCursor { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/plasmastyle/TextFieldStyle.qml new/plasma-framework-5.57.0/src/declarativeimports/plasmastyle/TextFieldStyle.qml --- old/plasma-framework-5.56.1/src/declarativeimports/plasmastyle/TextFieldStyle.qml 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/declarativeimports/plasmastyle/TextFieldStyle.qml 2019-04-07 09:34:27.000000000 +0200 @@ -17,7 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. */ -import QtQuick 2.0 +import QtQuick 2.6 import QtQuick.Window 2.2 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle @@ -57,10 +57,17 @@ //In order to get the same height in both buttons and lineedits we need to apply the same rule here - implicitHeight: Math.max(control.cursorRectangle.height * 1.6, control.cursorRectangle.height + base.margins.top + base.margins.bottom) + implicitHeight: Math.max(metrics.height * 1.6, + metrics.height + base.margins.top + base.margins.bottom) implicitWidth: theme.mSize(theme.defaultFont).width * 12 opacity: control.enabled ? 1 : 0.6 + TextMetrics { + id: metrics + text: "M" + font: control.font + } + Private.TextFieldFocus { id: hover state: control.activeFocus ? "focus" : (control.hovered ? "hover" : "hidden") Binary files old/plasma-framework-5.56.1/src/desktoptheme/breeze/dialogs/background.svgz and new/plasma-framework-5.57.0/src/desktoptheme/breeze/dialogs/background.svgz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/desktoptheme/breeze/metadata.desktop new/plasma-framework-5.57.0/src/desktoptheme/breeze/metadata.desktop --- old/plasma-framework-5.56.1/src/desktoptheme/breeze/metadata.desktop 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/desktoptheme/breeze/metadata.desktop 2019-04-07 09:34:27.000000000 +0200 @@ -44,12 +44,16 @@ Comment[ca]=Brisa pel VDG del KDE Comment[ca@valencia]=Brisa pel VDG del KDE Comment[de]=Breeze von der KDE VDG +Comment[en_GB]=Breeze by the KDE VDG Comment[es]=Brisa por KDE VDG Comment[fi]=Breeze KDE VDG:ltä +Comment[fr]=Breeze, par KDE VDG Comment[gl]=Breeze de KDE VDG Comment[id]=Breeze oleh KDE VDG Comment[it]=Brezza del KDE VDG Comment[nl]=Breeze door de KDE VDG +Comment[nn]=Breeze frå KDE VDG +Comment[pl]=Bryza autorstwa KDE VDG Comment[pt]=Brisa da VDG do KDE Comment[pt_BR]=Breeze pelo KDE VDG Comment[ru]=Breeze от KDE VDG Binary files old/plasma-framework-5.56.1/src/desktoptheme/breeze/translucent/dialogs/background.svgz and new/plasma-framework-5.57.0/src/desktoptheme/breeze/translucent/dialogs/background.svgz differ Binary files old/plasma-framework-5.56.1/src/desktoptheme/breeze/translucent/widgets/tooltip.svgz and new/plasma-framework-5.57.0/src/desktoptheme/breeze/translucent/widgets/tooltip.svgz differ Binary files old/plasma-framework-5.56.1/src/desktoptheme/breeze/widgets/tooltip.svgz and new/plasma-framework-5.57.0/src/desktoptheme/breeze/widgets/tooltip.svgz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/desktoptheme/breeze-dark/metadata.desktop new/plasma-framework-5.57.0/src/desktoptheme/breeze-dark/metadata.desktop --- old/plasma-framework-5.56.1/src/desktoptheme/breeze-dark/metadata.desktop 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/desktoptheme/breeze-dark/metadata.desktop 2019-04-07 09:34:27.000000000 +0200 @@ -11,7 +11,7 @@ Name[et]=Breeze Dark Name[eu]=Breeze iluna Name[fi]=Breeze Dark -Name[fr]=Breeze foncé +Name[fr]=Breeze sombre Name[gd]=Dorch-oiteag Name[gl]=Breeze escuro Name[hu]=Breeze Dark @@ -44,12 +44,16 @@ Comment[ca]=Brisa fosca pel VDG del KDE Comment[ca@valencia]=Brisa fosca pel VDG del KDE Comment[de]=Breeze-Dunkel von der KDE VDG +Comment[en_GB]=Breeze Dark by the KDE VDG Comment[es]=Brisa oscuro por KDE VDG Comment[fi]=Breeze Dark KDE VDG:ltä +Comment[fr]=Breeze sombre, par KDE VDG Comment[gl]=Breeze escuro de KDE VDG Comment[id]=Breeze Dark oleh KDE VDG Comment[it]=Brezza scuro del KDE VDG Comment[nl]=Breeze Dark door de KDE VDG +Comment[nn]=Breeze mørk frå KDE VDG +Comment[pl]=Ciemna bryza autorstwa KDE VDG Comment[pt]=Brisa Escuro da VDG do KDE Comment[pt_BR]=Breeze Dark pelo KDE VDG Comment[ru]=Тёмный вариант Breeze от KDE VDG diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/desktoptheme/breeze-light/metadata.desktop new/plasma-framework-5.57.0/src/desktoptheme/breeze-light/metadata.desktop --- old/plasma-framework-5.56.1/src/desktoptheme/breeze-light/metadata.desktop 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/desktoptheme/breeze-light/metadata.desktop 2019-04-07 09:34:27.000000000 +0200 @@ -11,7 +11,7 @@ Name[et]=Breeze Light Name[eu]=Breeze argia Name[fi]=Breeze Light -Name[fr]=Brise claire +Name[fr]=Breeze clair Name[gd]=Oiteag shoilleir Name[gl]=Breeze claro Name[hu]=Breeze Light @@ -41,12 +41,16 @@ Comment[ca]=Brisa clara pel VDG del KDE Comment[ca@valencia]=Brisa clara pel VDG del KDE Comment[de]=Breeze-Hell von der KDE VDG +Comment[en_GB]=Breeze Light by the KDE VDG Comment[es]=Brisa claro por KDE VDG Comment[fi]=Breeze Light KDE VDG:ltä +Comment[fr]=Breeze clair, par KDE VDG Comment[gl]=Breeze claro de KDE VDG Comment[id]=Breeze Light oleh KDE VDG Comment[it]=Brezza chiaro del KDE VDG Comment[nl]=Breeze Light door de KDE VDG +Comment[nn]=Breeze lys frå KDE VDG +Comment[pl]=Lekka Bryza autorstwa KDE VDG Comment[pt]=Brisa Claro da VDG do KDE Comment[pt_BR]=Breeze Light pelo KDE VDG Comment[ru]=Светлый вариант Breeze от KDE VDG diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/plasma/private/theme_p.cpp new/plasma-framework-5.57.0/src/plasma/private/theme_p.cpp --- old/plasma-framework-5.56.1/src/plasma/private/theme_p.cpp 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/plasma/private/theme_p.cpp 2019-04-07 09:34:27.000000000 +0200 @@ -75,6 +75,7 @@ backgroundIntensity(qQNaN()), backgroundSaturation(qQNaN()), backgroundContrastEnabled(true), + blurBehindEnabled(true), apiMajor(1), apiMinor(0), apiRevision(0) @@ -736,6 +737,17 @@ } } +void ThemePrivate::processBlurBehindSettings(KConfigBase *metadata) +{ + KConfigGroup cg; + if (metadata->hasGroup("BlurBehindEffect")) { + cg = KConfigGroup(metadata, "BlurBehindEffect"); + blurBehindEnabled = cg.readEntry("enabled", true); + } else { + blurBehindEnabled = true; + } +} + void ThemePrivate::setThemeName(const QString &tempThemeName, bool writeSettings, bool emitChanged) { QString theme = tempThemeName; @@ -800,6 +812,7 @@ pluginInfo = KPluginInfo(metadataPath); processContrastSettings(&metadata); + processBlurBehindSettings(&metadata); processWallpaperSettings(&metadata); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/plasma/private/theme_p.h new/plasma-framework-5.57.0/src/plasma/private/theme_p.h --- old/plasma-framework-5.56.1/src/plasma/private/theme_p.h 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/plasma/private/theme_p.h 2019-04-07 09:34:27.000000000 +0200 @@ -76,6 +76,7 @@ void setThemeName(const QString &themeName, bool writeSettings, bool emitChanged); void processWallpaperSettings(KConfigBase *metadata); void processContrastSettings(KConfigBase *metadata); + void processBlurBehindSettings(KConfigBase *metadata); const QString processStyleSheet(const QString &css, Plasma::Svg::Status status); const QString svgStyleSheet(Plasma::Theme::ColorGroup group, Plasma::Svg::Status status); @@ -156,6 +157,7 @@ qreal backgroundIntensity; qreal backgroundSaturation; bool backgroundContrastEnabled; + bool blurBehindEnabled; //Version number of Plasma the Theme has been designed for int apiMajor; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/plasma/theme.cpp new/plasma-framework-5.57.0/src/plasma/theme.cpp --- old/plasma-framework-5.56.1/src/plasma/theme.cpp 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/plasma/theme.cpp 2019-04-07 09:34:27.000000000 +0200 @@ -510,6 +510,11 @@ return d->backgroundSaturation; } +bool Theme::blurBehindEnabled() const +{ + return d->blurBehindEnabled; +} + } #include "moc_theme.cpp" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/plasma/theme.h new/plasma-framework-5.57.0/src/plasma/theme.h --- old/plasma-framework-5.56.1/src/plasma/theme.h 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/plasma/theme.h 2019-04-07 09:34:27.000000000 +0200 @@ -380,6 +380,22 @@ */ qreal backgroundSaturation() const; + /** This method allows Plasma to enable and disable the blurring + * of what is behind the background for a given theme. The + * value is read from the "enabled" key in the "BlurBehindEffect" + * group in the Theme's metadata file. Default is @c true. + * + * The configuration in the metadata.desktop file of the theme + * could look like this: + * \code + * [BlurBehindEffect] + * enabled=false + * \endcode + * @return Whether or not to enable blurring of what is behind + * @since 5.57 + */ + bool blurBehindEnabled() const; + /** * Returns the size of the letter "M" as rendered on the screen with the given font. * This values gives you a base size that: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/plasmaquick/appletquickitem.cpp new/plasma-framework-5.57.0/src/plasmaquick/appletquickitem.cpp --- old/plasma-framework-5.56.1/src/plasmaquick/appletquickitem.cpp 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/plasmaquick/appletquickitem.cpp 2019-04-07 09:34:27.000000000 +0200 @@ -328,7 +328,7 @@ if (!appletShouldBeExpanded() && compactRepresentationExpanderItem) { compactRepresentationExpanderItem->setProperty("fullRepresentation", QVariant::fromValue<QObject*>(createFullRepresentationItem())); - } else { + } else if (fullRepresentationItem) { fullRepresentationItem->setProperty("parent", QVariant::fromValue<QObject*>(q)); } @@ -337,7 +337,7 @@ fullRepresentationItem->window()->create(); } - qCInfo(LOG_PLASMAQUICK) << "Applet" << applet->title() << "loaded after" << ( QDateTime::currentMSecsSinceEpoch() - time) << "msec"; + qCDebug(LOG_PLASMAQUICK) << "Applet" << applet->title() << "loaded after" << ( QDateTime::currentMSecsSinceEpoch() - time) << "msec"; } void AppletQuickItemPrivate::compactRepresentationCheck() @@ -685,7 +685,7 @@ this, [this](bool uiReady) { if (uiReady && d->s_preloadPolicy >= AppletQuickItemPrivate::Adaptive) { const int preloadWeight = d->preloadWeight(); - qCInfo(LOG_PLASMAQUICK) << "New Applet " << d->applet->title() << "with a weight of" << preloadWeight; + qCDebug(LOG_PLASMAQUICK) << "New Applet " << d->applet->title() << "with a weight of" << preloadWeight; //don't preload applets less then a certain weight if (d->s_preloadPolicy >= AppletQuickItemPrivate::Aggressive || preloadWeight >= AppletQuickItemPrivate::DelayedPreloadWeight) { @@ -697,7 +697,7 @@ const int max = (100 - preloadWeight) * 100; const int delay = qrand() % ((max + 1) - min) + min; QTimer::singleShot(delay, this, [this, delay]() { - qCInfo(LOG_PLASMAQUICK) << "Delayed preload of " << d->applet->title() << "after" << (qreal)delay/1000 << "seconds"; + qCDebug(LOG_PLASMAQUICK) << "Delayed preload of " << d->applet->title() << "after" << (qreal)delay/1000 << "seconds"; d->preloadForExpansion(); }); } @@ -837,7 +837,7 @@ if (d->s_preloadPolicy >= AppletQuickItemPrivate::Adaptive && !d->applet->isContainment()) { const int newWeight = qMin(d->preloadWeight() + AppletQuickItemPrivate::PreloadWeightIncrement, 100); d->applet->config().writeEntry(QStringLiteral("PreloadWeight"), newWeight); - qCInfo(LOG_PLASMAQUICK) << "Increasing score for" << d->applet->title() << "to" << newWeight; + qCDebug(LOG_PLASMAQUICK) << "Increasing score for" << d->applet->title() << "to" << newWeight; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/plasmaquick/dialog.cpp new/plasma-framework-5.57.0/src/plasmaquick/dialog.cpp --- old/plasma-framework-5.56.1/src/plasmaquick/dialog.cpp 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/plasmaquick/dialog.cpp 2019-04-07 09:34:27.000000000 +0200 @@ -241,7 +241,7 @@ frameSvgItem->setImagePath(QStringLiteral("dialogs/background")); } - KWindowEffects::enableBlurBehind(q->winId(), true, frameSvgItem->frameSvg()->mask()); + KWindowEffects::enableBlurBehind(q->winId(), theme.blurBehindEnabled(), frameSvgItem->frameSvg()->mask()); KWindowEffects::enableBackgroundContrast(q->winId(), theme.backgroundContrastEnabled(), theme.backgroundContrast(), @@ -1208,7 +1208,7 @@ /*Fitt's law: if the containment has margins, and the mouse cursor clicked * on the mouse edge, forward the click in the containment boundaries */ - if (d->mainItem) { + if (d->mainItem && !d->mainItem->size().isEmpty()) { switch (event->type()) { case QEvent::MouseMove: case QEvent::MouseButtonPress: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/scriptengines/qml/plasmoid/appletinterface.cpp new/plasma-framework-5.57.0/src/scriptengines/qml/plasmoid/appletinterface.cpp --- old/plasma-framework-5.56.1/src/scriptengines/qml/plasmoid/appletinterface.cpp 2019-03-13 11:47:12.000000000 +0100 +++ new/plasma-framework-5.57.0/src/scriptengines/qml/plasmoid/appletinterface.cpp 2019-04-07 09:34:27.000000000 +0200 @@ -574,7 +574,7 @@ QRect AppletInterface::screenGeometry() const { - if (!applet() || !applet()->containment()) { + if (!applet() || !applet()->containment() || !applet()->containment()->corona()) { return QRect(); } return applet()->containment()->corona()->screenGeometry(applet()->containment()->screen());