qt5base-lts/tests/auto
Miikka Heikkinen a48508cd76 Send leave to most recently entered window when modal dialog is shown.
If a modal dialog was shown as a response to button click, the button
retained its hover highlight, because it didn't get leave event.

Fixed by tracking the most recently entered window and sending a leave
to it when modal dialog is shown that blocks it.

Also modified tst_QGuiApplication::modalWindow() autotest to check
for enters and leaves.

Task-number: QTBUG-27644
Change-Id: I387647e18a762a39d523e3df31221b9583a39f9d
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
2012-10-30 12:53:46 +01:00
..
cmake Add a CMake macro to test module includes 2012-10-26 15:23:30 +02:00
compilerwarnings/data Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
concurrent Test: remove QSKIP from tst_qtconcurrent 2012-10-17 21:05:27 +02:00
corelib test: Remove QSKIP from tst_QByteArray::literals() 2012-10-30 12:53:46 +01:00
dbus normalise signal/slot signatures [QtDBus tests] 2012-10-19 00:44:54 +02:00
gui Send leave to most recently entered window when modal dialog is shown. 2012-10-30 12:53:46 +01:00
guiapplauncher
network test: Don't fail if the network test server is not set up 2012-10-26 17:08:03 +02:00
opengl Change the default major version of QGLFormat to 2. 2012-10-19 02:43:05 +02:00
other test: Update task number for QAccesibilityLinux autotest. 2012-10-29 13:51:18 +01:00
printsupport Only use the user set page margins for custom paper 2012-10-30 12:53:46 +01:00
shared Auto tests: add PlatformClipboard::isAvailable() 2012-09-27 06:07:13 +02:00
sql normalise signal/slot signatures [QtSql tests] 2012-10-19 13:02:17 +02:00
testlib add a .qmake.conf file which load()s qt_build_config 2012-10-18 17:42:40 +02:00
tools Fix qmake's pro file cache to interact correctly with write_file 2012-10-25 16:22:00 +02:00
widgets test: Remove QSKIP from tst_QListView::setCurrentIndexAfterAppendRowCrash 2012-10-30 12:53:46 +01:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
auto.pro Test: Redo remove QSKIP from printsupport tests 2012-09-13 19:33:08 +02:00
network-settings.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtest-config.h Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
test.pl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00