Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-09-21 17:28:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtbase"

Sat Sep 21 17:28:42 2019 rev:102 rq:731898 version:5.13.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes      
2019-09-09 12:29:29.933625509 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.7948/libqt5-qtbase.changes    
2019-09-21 17:28:44.272735494 +0200
@@ -1,0 +2,6 @@
+Thu Sep 19 08:08:00 UTC 2019 - Fabian Vogt <[email protected]>
+
+- Add patch to fix focus in some cases (QTBUG-77364):
+  * 0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch
+
+-------------------------------------------------------------------
@@ -384 +390 @@
-- Add patches to improve OOTB experience with HiDPI:
+- Add patches to improve OOTB experience with HiDPI (boo#1089932):
@@ -431,0 +438,6 @@
+- Includes fix to prevent crash with pixmap cursors on XRender-less
+  X servers (bsc#1108889, QTBUG-66935)
+- Includes fix to load libGL.so.1 library if there's no libGL.so symlink
+  (boo#1099874, QTBUG-67537)
+- Includes fix to allow to disable logging of XCB errors (boo#1115541,
+  QTBUG-55167)
@@ -507 +519 @@
-  (QT_DISABLE_PRINTER_DISCOVERY is no longer used).
+  (QT_DISABLE_PRINTER_DISCOVERY is no longer used) (fixes boo#1064872)
@@ -617 +629 @@
-- Add patch to fix plugin loading with newer MariaDB versions:
+- Add patch to fix plugin loading with newer MariaDB versions (boo#1080048):
@@ -625 +637 @@
-  after dragging an icon on the desktop in plasma (QTBUG-66103).
+  after dragging an icon on the desktop in plasma (QTBUG-66103, boo#1080044).

New:
----
  0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch

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

Other differences:
------------------
++++++ libqt5-qtbase.spec ++++++
--- /var/tmp/diff_new_pack.rEplxK/_old  2019-09-21 17:28:45.728735510 +0200
+++ /var/tmp/diff_new_pack.rEplxK/_new  2019-09-21 17:28:45.732735510 +0200
@@ -83,6 +83,8 @@
 Patch2001:      0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/273050
 Patch2002:      0001-Fix-CMake-config-files-for-libdir-different-from-lib.patch
+# Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/273365
+Patch2003:      0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel

++++++ 0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch ++++++
>From c09cf578bd7267b867326101cd2d0f39e7c814fe Mon Sep 17 00:00:00 2001
From: David Faure <[email protected]>
Date: Mon, 9 Sep 2019 18:12:26 +0200
Subject: [PATCH] QWidget::setFocusProxy: adjust focus widget properly

My commit 3e7463411e adjusted the focus widget by setting
QApplicationPrivate::focus_widget directly, while there is a method for
doing this properly, including setFocus_sys() and emitting signals.

Fixes: QTBUG-77364
Change-Id: I218acf7a9de39173d282ced46def4f65594f80b4
---
 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 cf5a81c204..6889c2e9e5 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -6204,7 +6204,7 @@ void QWidget::setFocusProxy(QWidget * w)
 
     if (changingAppFocusWidget) {
         QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
-        QApplicationPrivate::focus_widget = newDeepestFocusProxy ? 
newDeepestFocusProxy : this;
+        QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? 
newDeepestFocusProxy : this, Qt::NoFocusReason);
     }
 }
 
-- 
2.22.0


Reply via email to