Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package plasma5-pk-updates for 
openSUSE:Factory checked in at 2022-04-17 23:49:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old)
 and      /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma5-pk-updates"

Sun Apr 17 23:49:51 2022 rev:28 rq:970384 version:0.3.2+git70

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes    
2022-03-06 18:15:29.955823753 +0100
+++ 
/work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.1941/plasma5-pk-updates.changes
  2022-04-17 23:50:06.790329493 +0200
@@ -1,0 +2,8 @@
+Thu Apr 14 13:18:16 UTC 2022 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Add patch to fix package list with newer Plasma/Frameworks
+  (a version update might be lacking some translations for string
+   changes):
+  * 0001-Set-and-use-implicitHeight-instead-of-height.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Set-and-use-implicitHeight-instead-of-height.patch

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

Other differences:
------------------
++++++ plasma5-pk-updates.spec ++++++
--- /var/tmp/diff_new_pack.5u0is4/_old  2022-04-17 23:50:07.330330234 +0200
+++ /var/tmp/diff_new_pack.5u0is4/_new  2022-04-17 23:50:07.334330240 +0200
@@ -26,6 +26,8 @@
 Source:         plasma-pk-updates-%{version}.tar.xz
 # Updated translations
 Source1:        plasma5-pk-updates-lang.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Set-and-use-implicitHeight-instead-of-height.patch
 BuildRequires:  PackageKit-Qt5-devel
 BuildRequires:  cmake >= 3.0
 BuildRequires:  extra-cmake-modules >= 1.3.0

++++++ 0001-Set-and-use-implicitHeight-instead-of-height.patch ++++++
>From 7a87a537b4f2e499ba2782a7c39223e89ba95575 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fab...@ritter-vogt.de>
Date: Mon, 11 Apr 2022 17:07:13 +0200
Subject: [PATCH] Set and use implicitHeight instead of height

"height" is the effective value and this kind of use can result in binding
loops and wrong results. Use implicitHeight instead to get correct and
reliable calculations.
---
 src/plasma/contents/ui/PackageDelegate.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plasma/contents/ui/PackageDelegate.qml 
b/src/plasma/contents/ui/PackageDelegate.qml
index 6aa2d17..dd842a1 100644
--- a/src/plasma/contents/ui/PackageDelegate.qml
+++ b/src/plasma/contents/ui/PackageDelegate.qml
@@ -34,7 +34,7 @@ PlasmaExtras.ListItem {
 
     signal checkStateChanged(bool checked)
 
-    height: innerLayout.height + (units.smallSpacing * 2)
+    implicitHeight: innerLayout.implicitHeight + (units.smallSpacing * 2)
     enabled: true
     checked: containsMouse || expanded
     // The binding is overwritten on clicks, as this is for some reason a 
Button
-- 
2.35.1

Reply via email to