qt5base-lts/tests/auto
Volker Hilsheimer a8fee0bf43 Don't move focus away from previous proxy in QWidget::setFocusProxy
This amends 23b998fa45, and the commits
3e7463411e and
947883141d. This change restores the
pre-5.13.1 behavior of setFocusProxy to not move focus away from a
previously set focus proxy.

With the previous changes, focus would move away from a proxy when a
new proxy is set, if the old proxy had focus. While there are arguments
in favor of this behavior, it is a change of behavior that shouldn't
be introduced to 20+ years old functionality in order to fix the real
bugs addressed by the initial commits.

Instead, move focus only to the new proxy when the focus widget was
the widget that gets a focus proxy.

[ChangeLog][QtWidgets][QWidget] setFocusProxy no longer moves focus
away from a previously set focus proxy, restoring pre-Qt 5.13.1
behavior.

Change-Id: Icf2ad7cba5b860014aeef91cb274c442a2ab9d42
Fixes: QTBUG-83720
Pick-to: 5.15
Reviewed-by: David Faure <david.faure@kdab.com>
2020-05-05 23:03:26 +02:00
..
cmake Merge remote-tracking branch 'origin/5.15' into dev 2020-05-05 19:51:50 +02:00
concurrent Squash again some tests in concurrentmap 2020-04-21 10:28:06 +02:00
corelib Remove Perforce commands from setupSuite.sh 2020-05-05 12:24:38 -07:00
dbus Fix autotests after the QHash changes 2020-04-09 20:04:15 +02:00
gui Fix bug in QTextLayout::min/maxWidth for WrapAtWordBoundaryOrAnywhere 2020-05-05 19:17:35 +02:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.15' into dev 2020-04-11 14:59:13 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other tst_Gestures: fix -Wdangling-else GCC warning 2020-04-29 08:10:36 +00:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql QSqlError: Remove deprecated methods 2020-04-06 14:25:12 +02:00
testlib QCoreApplication: force the process locale codec to UTF-8 2020-05-05 15:34:15 +02:00
tools uic/Python: import all the classes for QtCore and QtGui 2020-05-05 22:04:51 +02:00
widgets Don't move focus away from previous proxy in QWidget::setFocusProxy 2020-05-05 23:03:26 +02:00
xml Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
.prev_CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
auto.pro Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00