Hello community,

here is the log from the commit of package kconfig for openSUSE:Factory checked 
in at 2014-09-12 17:02:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kconfig (Old)
 and      /work/SRC/openSUSE:Factory/.kconfig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kconfig"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kconfig/kconfig.changes  2014-08-16 
15:41:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kconfig.new/kconfig.changes     2014-09-12 
17:03:38.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Sep  9 09:49:17 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.2.0
+  * For more details please see:
+    http://kde.org/announcements/kde-frameworks-5.2.php
+- Added 0001-ensure-platform-window-resize-processing.patch for
+  resolving https://bugreports.qt-project.org/browse/QTBUG-40584
+  within KConfig Framework
+  
+-------------------------------------------------------------------

Old:
----
  kconfig-5.1.0.tar.xz

New:
----
  0001-ensure-platform-window-resize-processing.patch
  kconfig-5.2.0.tar.xz

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

Other differences:
------------------
++++++ kconfig.spec ++++++
--- /var/tmp/diff_new_pack.kusU0N/_old  2014-09-12 17:03:39.000000000 +0200
+++ /var/tmp/diff_new_pack.kusU0N/_new  2014-09-12 17:03:39.000000000 +0200
@@ -18,10 +18,10 @@
 
 %define sonum   5
 Name:           kconfig
-Version:        5.1.0
+Version:        5.2.0
 Release:        0
 BuildRequires:  cmake >= 2.8.12
-BuildRequires:  extra-cmake-modules >= 1.1.0
+BuildRequires:  extra-cmake-modules >= 1.2.0
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
 BuildRequires:  libqt5-linguist-devel >= 5.2.0
@@ -34,6 +34,8 @@
 Url:            http://www.kde.org
 Source:         
http://download.kde.org/stable/frameworks/%{version}/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
+# PATCH-FIX-UPSTREAM 0001-ensure-platform-window-resize-processing.patch -- 
https://git.reviewboard.kde.org/r/119593/
+Patch0:         0001-ensure-platform-window-resize-processing.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -115,6 +117,7 @@
 %lang_package -n libKF5ConfigCore%sonum
 %prep
 %setup -q
+%patch0 -p1
 
 %build
   %cmake_kf5 -d build -- -Dlconvert_executable=%{_kf5_libdir}/qt5/bin/lconvert

++++++ 0001-ensure-platform-window-resize-processing.patch ++++++
>From 06632ddebeefa97594c19fc4ede5b89ed263b917 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20L=C3=BCbking?= <thomas.luebk...@gmail.com>
Date: Sat, 2 Aug 2014 12:25:00 +0200
Subject: [PATCH] ensure platform window resize processing

---
 src/gui/kwindowconfig.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gui/kwindowconfig.cpp b/src/gui/kwindowconfig.cpp
index c3cefb7..a906cd5 100644
--- a/src/gui/kwindowconfig.cpp
+++ b/src/gui/kwindowconfig.cpp
@@ -21,6 +21,7 @@
 
 #include "kwindowconfig.h"
 
+#include <QCoreApplication>
 #include <QScreen>
 #include <QWindow>
 
@@ -63,6 +64,7 @@ void KWindowConfig::restoreWindowSize(QWindow *window, const 
KConfigGroup &confi
     if (!window) {
         return;
     }
+    window->create(); // ensure the platform window is created before 
attempting the resize
 
     const QRect desk = window->screen()->geometry();
 
@@ -80,6 +82,9 @@ void KWindowConfig::restoreWindowSize(QWindow *window, const 
KConfigGroup &confi
 
     // If window is maximized set maximized state and in all case set the size
     window->resize(width, height);
+    // restoring the size will often happen before event processing
+    // -> force processing now to have the platform window pick the new size
+    QCoreApplication::processEvents();
     if (isMaximized) {
         window->setWindowState(Qt::WindowMaximized);
     }
-- 
2.0.3

++++++ kconfig-5.1.0.tar.xz -> kconfig-5.2.0.tar.xz ++++++
++++ 91930 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to