Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package plasma5-workspace for 
openSUSE:Factory checked in at 2023-08-02 16:48:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-workspace (Old)
 and      /work/SRC/openSUSE:Factory/.plasma5-workspace.new.22712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma5-workspace"

Wed Aug  2 16:48:59 2023 rev:216 rq:1101853 version:5.27.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-workspace/plasma5-workspace.changes      
2023-06-25 21:42:03.916977626 +0200
+++ 
/work/SRC/openSUSE:Factory/.plasma5-workspace.new.22712/plasma5-workspace.changes
   2023-08-02 16:50:35.277549227 +0200
@@ -1,0 +2,39 @@
+Tue Aug  1 20:07:29 UTC 2023 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Add patch to fix line wrapping of "100 %" in OSDs (kde#469576):
+  * 0001-OSD-Fix-size-calculation-for-progress-value.patch
+
+-------------------------------------------------------------------
+Tue Aug  1 11:19:31 UTC 2023 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Update to 5.27.7
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/plasma/5/5.27.7
+- Changes since 5.27.6:
+  * libtaskmanager: fix unable to change order of launchers (kde#472812)
+  * Reorder removals to ensure launcher url is deallocated after last use
+  * Fix crash in 
LauncherTasksModel::Private::requestRemoveLauncherFromActivities (kde#472378)
+  * libtaskmanager: skip empty appId when matching '*.appId.desktop' 
(kde#472576,kde#428559)
+  * Do not write empty path to desktop file (kde#433304)
+  * Fix crash in TasksModel::move (kde#472524)
+  * kcm/region_language: fix enum order (kde#472108)
+  * kcms/region_language: Read from $LANGUAGE in options model
+  * kcms/region_language: Improve isSupportedLanguage detection
+  * kcms/region_language: Chop off the UTF-8 codepoint again
+  * kcms/region_language: Check if the language setting is default as well
+  * kcms/region_language: Simplify the language settings read
+  * kcms/region_language: Read the LANGUAGE environment variable for the 
default language value
+  * TriangleMouseFilter: remove unnecessary return
+  * TriangleMouseFilter: make `resendHoverEvents` actually work
+  * TriangleMouseFilter: fix incorrect handling of hover events and inactive 
state (kde#467426)
+  * TriangularMouseFilter: Filter event everytime when there was no movement 
at all
+  * Improve responsiveness of triangular filter
+  * shell: move `forceActiveFocus` to `PanelView`
+  * applets/mediacontroller: use PauseAnimation to delay showing busy indicator
+  * applets/mediacontroller: remove duplicate opacity animation
+  * applets/notifications: add workaround for QTBUG-100392 (kde#468180)
+  * Notifications: Also try X-SnapInstanceName for desktop file resolution
+  * libtaskmanager: fix a potential leak
+
+-------------------------------------------------------------------

Old:
----
  plasma-workspace-5.27.6.tar.xz
  plasma-workspace-5.27.6.tar.xz.sig

New:
----
  0001-OSD-Fix-size-calculation-for-progress-value.patch
  plasma-workspace-5.27.7.tar.xz
  plasma-workspace-5.27.7.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ plasma5-workspace.spec ++++++
--- /var/tmp/diff_new_pack.sAmTce/_old  2023-08-02 16:50:36.245556811 +0200
+++ /var/tmp/diff_new_pack.sAmTce/_new  2023-08-02 16:50:36.249556842 +0200
@@ -30,7 +30,7 @@
 %{!?_plasma5_bugfix: %global _plasma5_bugfix %{version}}
 # Latest ABI-stable Plasma (e.g. 5.8 in KF5, but 5.9.1 in KUF)
 %{!?_plasma5_version: %define _plasma5_version %(echo %{_plasma5_bugfix} | awk 
-F. '{print $1"."$2}')}
-Version:        5.27.6
+Version:        5.27.7
 Release:        0
 Summary:        The KDE Plasma Workspace Components
 License:        GPL-2.0-or-later
@@ -42,6 +42,8 @@
 Source2:        plasma.keyring
 %endif
 Source3:        xprop-kde-full-session.desktop
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-OSD-Fix-size-calculation-for-progress-value.patch
 # PATCHES 501-??? are PATCH-FIX-OPENSUSE
 Patch501:       0001-Use-qdbus-qt5.patch
 Patch502:       0001-Ignore-default-sddm-face-icons.patch

++++++ 0001-OSD-Fix-size-calculation-for-progress-value.patch ++++++
>From 94b2c3d1d4a72d70d487513954601c2cf723e673 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <k...@privat.broulik.de>
Date: Tue, 1 Aug 2023 19:47:52 +0200
Subject: [PATCH] OSD: Fix size calculation for progress value

Use a common function for formatting the percent, so placeholder 100% label will
use the exact formatting used by the label next to the progress bar.

Also use font advanceWidth, which is the appropriate means of calculating the
bounding box of text in this case. Also ceil it to avoid subpixel alignment.

And to be absolutely sure disable word wrapping.

BUG: 469576
(cherry picked from commit 9737efa79440b65db303030f34f0039f1c9cd6a0)
---
 lookandfeel/org.kde.breeze/contents/osd/OsdItem.qml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/lookandfeel/org.kde.breeze/contents/osd/OsdItem.qml 
b/lookandfeel/org.kde.breeze/contents/osd/OsdItem.qml
index fa892cb23..bc60efc15 100644
--- a/lookandfeel/org.kde.breeze/contents/osd/OsdItem.qml
+++ b/lookandfeel/org.kde.breeze/contents/osd/OsdItem.qml
@@ -26,6 +26,10 @@ RowLayout {
     // false for displaying the value as normal text
     property bool showingProgress: false
 
+    function formatPercent(number) {
+        return i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "Percentage 
value", "%1%", number);
+    }
+
     spacing: PlasmaCore.Units.smallSpacing
 
     Layout.preferredWidth: Math.max(Math.min(Screen.desktopAvailableWidth / 2, 
implicitWidth), PlasmaCore.Units.gridUnit * 15)
@@ -63,7 +67,7 @@ RowLayout {
     // to the maximum width to avoid the progress bad resizing itself
     TextMetrics {
         id: widestLabelSize
-        text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "100%")
+        text: formatPercent(100)
         font: percentageLabel.font
     }
 
@@ -71,13 +75,14 @@ RowLayout {
     PlasmaExtra.Heading {
         id: percentageLabel
         Layout.fillHeight: true
-        Layout.preferredWidth: widestLabelSize.width
+        Layout.preferredWidth: Math.ceil(widestLabelSize.advanceWidth)
         Layout.rightMargin: PlasmaCore.Units.smallSpacing
         Layout.alignment: Qt.AlignVCenter
         level: 3
         horizontalAlignment: Text.AlignHCenter
         verticalAlignment: Text.AlignVCenter
-        text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "Percentage 
value", "%1%", progressBar.value)
+        text: formatPercent(progressBar.value)
+        wrapMode: Text.NoWrap
         visible: showingProgress
         // Display a subtle visual indication that the volume might be
         // dangerously high
-- 
2.41.0


++++++ plasma-workspace-5.27.6.tar.xz -> plasma-workspace-5.27.7.tar.xz ++++++
/work/SRC/openSUSE:Factory/plasma5-workspace/plasma-workspace-5.27.6.tar.xz 
/work/SRC/openSUSE:Factory/.plasma5-workspace.new.22712/plasma-workspace-5.27.7.tar.xz
 differ: char 27, line 1

Reply via email to