qt5base-lts/tests/auto/gui/kernel
Bradley T. Hughes e8cd9a617d Cocoa: do not send multiple window activation events
When switching the active window within the same application, Cocoa
sends us an NSWindowDidResignKeyNotification for the old activated
window, then an NSWindowDidBecomeKeyNotificationfor the newly activated
window. Our handling of this would first set Qt's active window to zero,
then immediately reset it afterwards. Avoid this by checking the key
window when handling the deactivation event, and don't set the active
window to zero if a new window has become active.

Task-number: QTBUG-24322
Change-Id: I8719fc501049eeaaebb75e9ea03261b2209458b6
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
2012-06-06 12:07:48 +02:00
..
qbackingstore Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qclipboard Don't use obsolete qVariantValue, qVariantCanConvert, etc. 2012-05-02 08:30:59 +02:00
qdrag Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qevent Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qfileopenevent Clean up for some auto tests of the gui/kernel. 2012-03-09 11:05:18 +01:00
qguiapplication Cocoa: do not send multiple window activation events 2012-06-06 12:07:48 +02:00
qguieventdispatcher Run tst_QEventDispatcher with the GUI event dispatchers as well 2012-02-10 15:22:03 +01:00
qguimetatype Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qguitimer Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qguivariant Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qinputmethod Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qkeysequence Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qmouseevent Make tst_qmouseevent.cpp independent of QtWidgets 2012-03-09 11:05:29 +01:00
qmouseevent_modal Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qpalette Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qscreen Added QScreen::setOrientationUpdateMask(). 2012-06-06 07:41:17 +02:00
qtouchevent Use QPointer instead of QWeakPointer. 2012-06-05 18:42:26 +02:00
qwindow QPA tablet event support 2012-05-31 09:13:01 +02:00
kernel.pro Merge "Merge remote-tracking branch 'origin/api_changes'" into refs/staging/master 2012-04-17 13:09:29 +02:00