Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package plasma5-mobile for openSUSE:Factory checked in at 2022-11-10 14:21:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma5-mobile (Old) and /work/SRC/openSUSE:Factory/.plasma5-mobile.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma5-mobile" Thu Nov 10 14:21:37 2022 rev:10 rq:1034783 version:5.26.3 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma5-mobile/plasma5-mobile.changes 2022-10-29 20:17:34.766361771 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-mobile.new.1597/plasma5-mobile.changes 2022-11-10 14:22:04.490278493 +0100 @@ -1,0 +2,15 @@ +Tue Nov 8 17:25:24 UTC 2022 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 5.26.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/plasma/5/5.26.3 +- Changes since 5.26.2: + * homescreens/halcyon: Fix horizontal scrollbar being shown on app list + * lockscreen: Refactor and cleanup keypad + * components: Fix MarqueeLabel behaviour with new line characters + * statusbar: Don't use fractional font sizes + * lockscreen: Use bold text for clock to improve contrast + * shell: Fix accent color from wallpaper not working + +------------------------------------------------------------------- Old: ---- plasma-mobile-5.26.2.tar.xz plasma-mobile-5.26.2.tar.xz.sig New: ---- plasma-mobile-5.26.3.tar.xz plasma-mobile-5.26.3.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma5-mobile.spec ++++++ --- /var/tmp/diff_new_pack.7BKGiF/_old 2022-11-10 14:22:04.998281368 +0100 +++ /var/tmp/diff_new_pack.7BKGiF/_new 2022-11-10 14:22:05.002281391 +0100 @@ -24,7 +24,7 @@ %bcond_without released Name: plasma5-mobile -Version: 5.26.2 +Version: 5.26.3 Release: 0 # Full Plasma 5 version (e.g. 5.9.3) %{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}} ++++++ plasma-mobile-5.26.2.tar.xz -> plasma-mobile-5.26.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/CMakeLists.txt new/plasma-mobile-5.26.3/CMakeLists.txt --- old/plasma-mobile-5.26.2/CMakeLists.txt 2022-10-26 12:11:33.000000000 +0200 +++ new/plasma-mobile-5.26.3/CMakeLists.txt 2022-11-08 13:16:08.000000000 +0100 @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.16) project(plasma-mobile) -set(PROJECT_VERSION "5.26.2") +set(PROJECT_VERSION "5.26.3") set(PROJECT_VERSION_MAJOR 5) set(QT_MIN_VERSION "5.15.2") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/components/mobileshell/qml/components/MarqueeLabel.qml new/plasma-mobile-5.26.3/components/mobileshell/qml/components/MarqueeLabel.qml --- old/plasma-mobile-5.26.2/components/mobileshell/qml/components/MarqueeLabel.qml 2022-10-26 12:11:33.000000000 +0200 +++ new/plasma-mobile-5.26.3/components/mobileshell/qml/components/MarqueeLabel.qml 2022-11-08 13:16:08.000000000 +0100 @@ -14,16 +14,17 @@ id: root required property string inputText + readonly property string filteredText: inputText.replace(/\n/g, ' ') // remove new line characters property int interval: PlasmaCore.Units.longDuration - readonly property int charactersOverflow: Math.ceil((txtMeter.advanceWidth - root.width) / (txtMeter.advanceWidth / inputText.length)) + readonly property int charactersOverflow: Math.ceil((txtMeter.advanceWidth - root.width) / (txtMeter.advanceWidth / filteredText.length)) property int step: 0 TextMetrics { id: txtMeter font: root.font - text: inputText + text: filteredText } Timer { @@ -42,7 +43,7 @@ paused = false; } } else { - step = (step + 1) % inputText.length; + step = (step + 1) % filteredText.length; if (step === charactersOverflow) { interval = PlasmaCore.Units.veryLongDuration * 3; paused = true; @@ -57,5 +58,5 @@ } } - text: inputText.substring(step, step + inputText.length - charactersOverflow) + text: filteredText.substring(step, step + filteredText.length - charactersOverflow) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/components/mobileshell/qml/statusbar/StatusBar.qml new/plasma-mobile-5.26.3/components/mobileshell/qml/statusbar/StatusBar.qml --- old/plasma-mobile-5.26.2/components/mobileshell/qml/statusbar/StatusBar.qml 2022-10-26 12:11:33.000000000 +0200 +++ new/plasma-mobile-5.26.3/components/mobileshell/qml/statusbar/StatusBar.qml 2022-11-08 13:16:08.000000000 +0100 @@ -54,7 +54,8 @@ property alias colorScopeColor: icons.backgroundColor property alias applets: appletIconsRow - readonly property real textPixelSize: PlasmaCore.Units.gridUnit * 0.6 + readonly property real textPixelSize: 11 + readonly property real smallerTextPixelSize: 9 readonly property real elementSpacing: PlasmaCore.Units.smallSpacing * 1.5 PlasmaCore.DataSource { @@ -208,14 +209,14 @@ PlasmaComponents.Label { text: Qt.formatDate(timeSource.data.Local.DateTime, "ddd. MMMM d") color: PlasmaCore.ColorScope.disabledTextColor - font.pixelSize: root.textPixelSize * 0.8 + font.pixelSize: root.smallerTextPixelSize } Item { Layout.fillWidth: true } PlasmaComponents.Label { visible: root.showTime text: MobileShell.SignalStrengthProvider.label color: PlasmaCore.ColorScope.disabledTextColor - font.pixelSize: root.textPixelSize * 0.8 + font.pixelSize: root.smallerTextPixelSize horizontalAlignment: Qt.AlignRight } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/containments/homescreens/halcyon/package/contents/ui/HomeScreen.qml new/plasma-mobile-5.26.3/containments/homescreens/halcyon/package/contents/ui/HomeScreen.qml --- old/plasma-mobile-5.26.2/containments/homescreens/halcyon/package/contents/ui/HomeScreen.qml 2022-10-26 12:11:33.000000000 +0200 +++ new/plasma-mobile-5.26.3/containments/homescreens/halcyon/package/contents/ui/HomeScreen.qml 2022-11-08 13:16:08.000000000 +0100 @@ -68,7 +68,10 @@ QQC2.ScrollView { width: swipeView.width height: swipeView.height - + + // disable horizontal scrollbar + QQC2.ScrollBar.horizontal: QQC2.ScrollBar { policy: QQC2.ScrollBar.AlwaysOff } + GridAppList { id: gridAppList diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/look-and-feel/contents/lockscreen/Clock.qml new/plasma-mobile-5.26.3/look-and-feel/contents/lockscreen/Clock.qml --- old/plasma-mobile-5.26.2/look-and-feel/contents/lockscreen/Clock.qml 2022-10-26 12:11:33.000000000 +0200 +++ new/plasma-mobile-5.26.3/look-and-feel/contents/lockscreen/Clock.qml 2022-11-08 13:16:08.000000000 +0100 @@ -1,67 +1,68 @@ /* * SPDX-FileCopyrightText: 2019 Nicolas Fella <nicolas.fe...@gmx.de> + * SPDX-FileCopyrightText: 2020-2022 Devin Lin <de...@kde.org> * SPDX-License-Identifier: GPL-2.0-or-later */ -import QtQuick 2.8 -import QtQuick.Layouts 1.1 -import QtQuick.Controls 2.5 +import QtQuick 2.15 +import QtQuick.Layouts 1.15 +import QtQuick.Controls 2.15 import QtGraphicalEffects 1.12 -import org.kde.plasma.core 2.0 - +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 3.0 as PC3 import org.kde.plasma.private.mobileshell 1.0 as MobileShell -ColumnLayout { +Item { id: root + implicitHeight: clockColumn.implicitHeight + implicitWidth: clockColumn.implicitWidth + property int layoutAlignment - readonly property bool softwareRendering: GraphicsInfo.api === GraphicsInfo.Software - readonly property bool is24HourTime: MobileShell.ShellUtil.isSystem24HourFormat + PlasmaCore.DataSource { + id: timeSource + engine: "time" + connectedSources: ["Local"] + interval: 60000 + intervalAlignment: PlasmaCore.Types.AlignToMinute + } - Layout.alignment: layoutAlignment - spacing: Units.gridUnit + DropShadow { + anchors.fill: parent + source: clockColumn + cached: true + verticalOffset: 1 + radius: 4 + samples: 6 + color: Qt.rgba(0, 0, 0, 0.4) + } - Label { - text: Qt.formatTime(timeSource.data["Local"]["DateTime"], root.is24HourTime ? "h:mm" : "h:mm ap") - color: ColorScope.textColor - style: softwareRendering ? Text.Outline : Text.Normal - styleColor: softwareRendering ? ColorScope.backgroundColor : "transparent" // no outline, doesn't matter + ColumnLayout { + id: clockColumn + opacity: 0.8 + spacing: PlasmaCore.Units.gridUnit + + anchors.top: parent.top + anchors.left: parent.left + anchors.right: parent.right - Layout.alignment: root.layoutAlignment - font.weight: Font.Light // this font weight may switch to regular on distros that don't have a light variant - font.pointSize: 36 - layer.enabled: true - layer.effect: DropShadow { - verticalOffset: 1 - radius: 4 - samples: 6 - color: "#757575" + PC3.Label { + text: Qt.formatTime(timeSource.data["Local"]["DateTime"], MobileShell.ShellUtil.isSystem24HourFormat ? "h:mm" : "h:mm ap") + color: "white" + + Layout.alignment: root.layoutAlignment + font.weight: Font.Bold + font.pointSize: 36 } - } - - Label { - text: Qt.formatDate(timeSource.data["Local"]["DateTime"], "ddd, MMM d") - color: ColorScope.textColor - style: softwareRendering ? Text.Outline : Text.Normal - styleColor: softwareRendering ? ColorScope.backgroundColor : "transparent" // no outline, doesn't matter - Layout.alignment: root.layoutAlignment - font.pointSize: 10 - layer.enabled: true - layer.effect: DropShadow { - verticalOffset: 1 - radius: 4 - samples: 6 - color: "#757575" + PC3.Label { + text: Qt.formatDate(timeSource.data["Local"]["DateTime"], "ddd, MMM d") + color: "white" + + Layout.alignment: root.layoutAlignment + font.weight: Font.Bold + font.pointSize: 10 } } - - DataSource { - id: timeSource - engine: "time" - connectedSources: ["Local"] - interval: 60000 - intervalAlignment: Types.AlignToMinute - } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/look-and-feel/contents/lockscreen/Keypad.qml new/plasma-mobile-5.26.3/look-and-feel/contents/lockscreen/Keypad.qml --- old/plasma-mobile-5.26.2/look-and-feel/contents/lockscreen/Keypad.qml 2022-10-26 12:11:33.000000000 +0200 +++ new/plasma-mobile-5.26.3/look-and-feel/contents/lockscreen/Keypad.qml 2022-11-08 13:16:08.000000000 +0100 @@ -46,6 +46,7 @@ PlasmaCore.Units.smallSpacing * 2 + Qt.inputMethod.keyboardRectangle.height + passwordBar.implicitHeight); } } + Behavior on implicitHeight { NumberAnimation { duration: Kirigami.Units.longDuration @@ -103,92 +104,90 @@ spacing: PlasmaCore.Units.gridUnit GridLayout { - property string thePw + id: grid Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.leftMargin: PlasmaCore.Units.gridUnit * 0.5 Layout.rightMargin: PlasmaCore.Units.gridUnit * 0.5 Layout.maximumWidth: PlasmaCore.Units.gridUnit * 22 Layout.maximumHeight: PlasmaCore.Units.gridUnit * 12.5 + opacity: (Math.sin(2*((Math.PI / 2) * keypadRoot.swipeProgress + 1.5 * Math.PI)) + 1) + columns: 4 - + + readonly property real keyRadius: 5 + // numpad keys Repeater { model: ["1", "2", "3", "R", "4", "5", "6", "0", "7", "8", "9", "E"] - delegate: Item { + delegate: AbstractButton { + id: button Layout.fillWidth: true Layout.fillHeight: true + visible: modelData.length > 0 + opacity: (Math.sin(2*((Math.PI / 2) * keypadRoot.swipeProgress + 1.5 * Math.PI)) + 1) - RectangularGlow { - anchors.topMargin: 1 - anchors.fill: keyRect - cornerRadius: keyRect.radius * 2 - cached: true - glowRadius: 2 - spread: 0.2 - color: keypadRoot.dropShadowColor - opacity: (Math.sin(2*((Math.PI / 2) * keypadRoot.swipeProgress + 1.5 * Math.PI)) + 1) - } - - Rectangle { + background: Rectangle { id: keyRect - anchors.centerIn: parent - width: parent.width - height: parent.height - radius: 5 - color: keypadRoot.buttonColor + radius: grid.keyRadius + color: button.pressed ? keypadRoot.buttonPressedColor : keypadRoot.buttonColor - visible: modelData.length > 0 - opacity: (Math.sin(2*((Math.PI / 2) * keypadRoot.swipeProgress + 1.5 * Math.PI)) + 1) - - AbstractButton { + RectangularGlow { + anchors.topMargin: 1 anchors.fill: parent - onPressedChanged: { - if (pressed) { - MobileShell.Haptics.buttonVibrate(); - parent.color = keypadRoot.buttonPressedColor; - } else { - parent.color = keypadRoot.buttonColor; - } - } - - onClicked: { - if (modelData === "R") { - passwordBar.backspace(); - } else if (modelData === "E") { - passwordBar.enter(); - } else { - passwordBar.keyPress(modelData); - } - } - onPressAndHold: { - if (modelData === "R") { - MobileShell.Haptics.buttonVibrate(); - passwordBar.clear(); - } - } + + z: -1 + cornerRadius: keyRect.radius * 2 + cached: true + glowRadius: 2 + spread: 0.2 + color: button.pressed ? keypadRoot.buttonPressedColor : keypadRoot.dropShadowColor } } - PlasmaComponents.Label { - visible: modelData !== "R" && modelData !== "E" - text: modelData - anchors.centerIn: parent - font.pointSize: 18 - font.weight: Font.Light - color: keypadRoot.buttonTextColor + onPressedChanged: { + if (pressed) { + MobileShell.Haptics.buttonVibrate(); + } } - PlasmaCore.IconItem { - visible: modelData === "R" - anchors.centerIn: parent - source: "edit-clear" + onClicked: { + if (modelData === "R") { + passwordBar.backspace(); + } else if (modelData === "E") { + passwordBar.enter(); + } else { + passwordBar.keyPress(modelData); + } } + onPressAndHold: { + if (modelData === "R") { + MobileShell.Haptics.buttonVibrate(); + passwordBar.clear(); + } + } + + contentItem: Item { + PlasmaComponents.Label { + visible: modelData !== "R" && modelData !== "E" + text: modelData + anchors.centerIn: parent + font.pointSize: 18 + font.weight: Font.Light + color: keypadRoot.buttonTextColor + } - PlasmaCore.IconItem { - visible: modelData === "E" - anchors.centerIn: parent - source: "go-next" + PlasmaCore.IconItem { + visible: modelData === "R" + anchors.centerIn: parent + source: "edit-clear" + } + + PlasmaCore.IconItem { + visible: modelData === "E" + anchors.centerIn: parent + source: "go-next" + } } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/look-and-feel/contents/lockscreen/LockScreenNarrowContent.qml new/plasma-mobile-5.26.3/look-and-feel/contents/lockscreen/LockScreenNarrowContent.qml --- old/plasma-mobile-5.26.2/look-and-feel/contents/lockscreen/LockScreenNarrowContent.qml 2022-10-26 12:11:33.000000000 +0200 +++ new/plasma-mobile-5.26.3/look-and-feel/contents/lockscreen/LockScreenNarrowContent.qml 2022-11-08 13:16:08.000000000 +0100 @@ -54,6 +54,7 @@ Clock { layoutAlignment: Qt.AlignHCenter + Layout.alignment: Qt.AlignHCenter Layout.bottomMargin: PlasmaCore.Units.gridUnit * 2 // keep spacing even if media controls are gone } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/look-and-feel/contents/lockscreen/LockScreenWideScreenContent.qml new/plasma-mobile-5.26.3/look-and-feel/contents/lockscreen/LockScreenWideScreenContent.qml --- old/plasma-mobile-5.26.2/look-and-feel/contents/lockscreen/LockScreenWideScreenContent.qml 2022-10-26 12:11:33.000000000 +0200 +++ new/plasma-mobile-5.26.3/look-and-feel/contents/lockscreen/LockScreenWideScreenContent.qml 2022-11-08 13:16:08.000000000 +0100 @@ -40,6 +40,7 @@ Clock { layoutAlignment: Qt.AlignLeft + Layout.alignment: Qt.AlignLeft Layout.fillWidth: true Layout.minimumWidth: PlasmaCore.Units.gridUnit * 20 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/po/zh_CN/plasma_applet_org.kde.phone.homescreen.po new/plasma-mobile-5.26.3/po/zh_CN/plasma_applet_org.kde.phone.homescreen.po --- old/plasma-mobile-5.26.2/po/zh_CN/plasma_applet_org.kde.phone.homescreen.po 2022-10-26 12:11:52.000000000 +0200 +++ new/plasma-mobile-5.26.3/po/zh_CN/plasma_applet_org.kde.phone.homescreen.po 2022-11-08 13:16:11.000000000 +0100 @@ -3,7 +3,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2022-05-28 01:02+0000\n" -"PO-Revision-Date: 2022-10-22 05:32\n" +"PO-Revision-Date: 2022-11-06 01:09\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/po/zh_CN/plasma_applet_org.kde.phone.homescreen.simple.po new/plasma-mobile-5.26.3/po/zh_CN/plasma_applet_org.kde.phone.homescreen.simple.po --- old/plasma-mobile-5.26.2/po/zh_CN/plasma_applet_org.kde.phone.homescreen.simple.po 2022-10-26 12:11:52.000000000 +0200 +++ new/plasma-mobile-5.26.3/po/zh_CN/plasma_applet_org.kde.phone.homescreen.simple.po 2022-11-08 13:16:11.000000000 +0100 @@ -3,7 +3,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2022-09-19 02:14+0000\n" -"PO-Revision-Date: 2022-10-22 05:32\n" +"PO-Revision-Date: 2022-11-06 01:09\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/po/zh_CN/plasma_shell_org.kde.plasma.phone.po new/plasma-mobile-5.26.3/po/zh_CN/plasma_shell_org.kde.plasma.phone.po --- old/plasma-mobile-5.26.2/po/zh_CN/plasma_shell_org.kde.plasma.phone.po 2022-10-26 12:11:52.000000000 +0200 +++ new/plasma-mobile-5.26.3/po/zh_CN/plasma_shell_org.kde.plasma.phone.po 2022-11-08 13:16:11.000000000 +0100 @@ -3,7 +3,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2022-09-11 00:46+0000\n" -"PO-Revision-Date: 2022-10-22 05:32\n" +"PO-Revision-Date: 2022-11-06 01:09\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-mobile-5.26.2/shell/contents/views/Desktop.qml new/plasma-mobile-5.26.3/shell/contents/views/Desktop.qml --- old/plasma-mobile-5.26.2/shell/contents/views/Desktop.qml 2022-10-26 12:11:33.000000000 +0200 +++ new/plasma-mobile-5.26.3/shell/contents/views/Desktop.qml 2022-11-08 13:16:08.000000000 +0100 @@ -5,13 +5,12 @@ * SPDX-License-Identifier: LGPL-2.0-or-later */ -import QtQuick 2.7 -import QtGraphicalEffects 1.0 -import QtQuick.Controls 2.3 +import QtQuick 2.15 + import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.shell 2.0 as Shell -import org.kde.plasma.workspace.components 2.0 as PlasmaWorkspace import org.kde.kquickcontrolsaddons 2.0 +import org.kde.kirigami 2.20 as Kirigami Rectangle { id: root @@ -62,4 +61,48 @@ Component.onCompleted: { visible = true } + + // This is taken from plasma-desktop's shell package, try to keep it in sync + Loader { + id: wallpaperColors + + active: desktop.usedInAccentColor && root.containment && root.containment.wallpaper + asynchronous: true + + sourceComponent: Kirigami.ImageColors { + id: imageColors + source: root.containment.wallpaper + + readonly property color backgroundColor: PlasmaCore.Theme.backgroundColor + readonly property color textColor: PlasmaCore.Theme.textColor + + Kirigami.Theme.inherit: false + Kirigami.Theme.backgroundColor: backgroundColor + Kirigami.Theme.textColor: textColor + + onBackgroundColorChanged: Qt.callLater(update) + onTextColorChanged: Qt.callLater(update) + + property Binding colorBinding: Binding { + target: desktop + property: "accentColor" + value: { + if (imageColors.palette.length === 0) { + return "#00000000"; + } + return imageColors.dominant; + } + } + + property Connections repaintConnection: Connections { + target: root.containment.wallpaper + function onRepaintNeeded() { + imageColors.update(); + } + } + } + + onLoaded: item.update() + } + }