qt5base-lts/tests/auto/gui/kernel
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
..
qbackingstore Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qclipboard test: Remove QSKIP from tst_QClipboard::copy_exit_paste() 2012-10-24 01:39:04 +02:00
qdrag Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qevent Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qfileopenevent Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qguiapplication Send leave to most recently entered window when modal dialog is shown. 2012-10-30 12:53:46 +01:00
qguieventdispatcher Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qguimetatype Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
qguitimer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qguivariant Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
qinputmethod Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qkeysequence Test: remove QSKIP and remove whole test cases instead. 2012-10-17 21:06:30 +02:00
qmouseevent Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qmouseevent_modal Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qpalette Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qscreen Fix QScreen::orientation() not always being updated after changing the update orientation mask 2012-09-26 19:55:00 +02:00
qtouchevent Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwindow Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
kernel.pro Make gui tests build when widgets aren't available 2012-06-07 00:38:01 +02:00