Script 'mail_helper' called by obssrc
Hello community,

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

Package is "plasma-framework"

Sun Apr 17 23:49:45 2022 rev:123 rq:970325 version:5.93.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes        
2022-04-11 23:49:25.626944815 +0200
+++ 
/work/SRC/openSUSE:Factory/.plasma-framework.new.1941/plasma-framework.changes  
    2022-04-17 23:50:00.522320904 +0200
@@ -1,0 +2,6 @@
+Thu Apr 14 21:54:44 UTC 2022 - Hans-Peter Jansen <h...@urpla.net>
+
+- Apply b62d83bef7733e4943e6f66787166b41198d1359.patch 
+  fixes plasmoid layout regression (kde#452512)
+
+-------------------------------------------------------------------

New:
----
  b62d83bef7733e4943e6f66787166b41198d1359.patch

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

Other differences:
------------------
++++++ plasma-framework.spec ++++++
--- /var/tmp/diff_new_pack.Mehwlx/_old  2022-04-17 23:50:01.138321748 +0200
+++ /var/tmp/diff_new_pack.Mehwlx/_new  2022-04-17 23:50:01.142321754 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package plasma-framework
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,8 @@
 Source1:        %{name}-%{version}.tar.xz.sig
 Source2:        frameworks.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch0:         b62d83bef7733e4943e6f66787166b41198d1359.patch
 BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem

++++++ b62d83bef7733e4943e6f66787166b41198d1359.patch ++++++
>From b62d83bef7733e4943e6f66787166b41198d1359 Mon Sep 17 00:00:00 2001
From: Aleix Pol <aleix...@kde.org>
Date: Wed, 13 Apr 2022 16:05:32 +0200
Subject: [PATCH] Dialog: Do not update layout parameters while hidden

Wait until the dialog it's shown to position the components within.
Otherwise we do it based on a random size.

BUG: 452512
---
 src/plasmaquick/dialog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp
index 09937ef0f..9ca2c8a66 100644
--- a/src/plasmaquick/dialog.cpp
+++ b/src/plasmaquick/dialog.cpp
@@ -475,7 +475,7 @@ void DialogPrivate::getSizeHints(QSize &min, QSize &max) 
const
 
 void DialogPrivate::updateLayoutParameters()
 {
-    if (!componentComplete || !mainItem || !mainItemLayout) {
+    if (!componentComplete || !mainItem || !mainItemLayout || q->visibility() 
== QWindow::Hidden) {
         return;
     }
 
-- 
GitLab

Reply via email to