Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-10-30 21:51:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtbase"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes      
2015-10-19 22:46:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-10-30 21:51:04.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Oct 28 19:41:36 UTC 2015 - [email protected]
+
+- Added 
qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch
+  (qtbug#48321)
+
+-------------------------------------------------------------------

New:
----
  qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch

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

Other differences:
------------------
++++++ libqt5-qtbase.spec ++++++
--- /var/tmp/diff_new_pack.bWQWsX/_old  2015-10-30 21:51:06.000000000 +0100
+++ /var/tmp/diff_new_pack.bWQWsX/_new  2015-10-30 21:51:06.000000000 +0100
@@ -62,6 +62,7 @@
 Patch3004:      Add-an-automatic-use-of-the-ELF-versioned-QtCore-symbol.patch
 Patch3005:      xcb-fix-yet-another-crash-when-screens-are-disconnected.patch
 Patch3006:      
xcb-dont-crash-in-mapToNativemapFromNative-if-the-screen-is-null.patch
+Patch3007:      
qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -153,6 +154,7 @@
 %patch3004 -p1
 %patch3005 -p1
 %patch3006 -p1
+%patch3007 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}


++++++ 
qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch ++++++
>From acb4f5cfb5efa053dd2d5dcd6490d610bb1f8c0e Mon Sep 17 00:00:00 2001
From: Ulf Hermann <[email protected]>
Date: Tue, 27 Oct 2015 15:25:42 +0100
Subject: [PATCH] QtWidgets: Do hide/show via WA_OutsideWSRange for native
 widgets

If a native widget has a width or height of 0 we don't have to
invalidate its backing store as that is done by the window
system. Certain applications rely on ... interesting ... behavior
of certain window systems in this case.

Task-number: QTBUG-48321
Change-Id: I78ef29975181ee22429c9bd4b11d96d9e68b7a9c
---
 src/widgets/kernel/qwidget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
index 7734715..4286130 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -7169,7 +7169,7 @@ void QWidgetPrivate::setGeometry_sys(int x, int y, int w, 
int h, bool isMove)
 
     bool needsShow = false;
 
-    if (q->isWindow()) {
+    if (q->isWindow() || q->windowHandle()) {
         if (!(data.window_state & Qt::WindowFullScreen) && (w == 0 || h == 0)) 
{
             q->setAttribute(Qt::WA_OutsideWSRange, true);
             if (q->isVisible() && q->testAttribute(Qt::WA_Mapped))
-- 
2.1.4

Reply via email to