qt5base-lts/tests/auto/gui/kernel/qwindow
Shawn Rutledge 8f74f7d25b tst_qwindow: verify isBeginEvent(), isUpdateEvent() and isEndEvent()
It also demonstrated that the tests were out of sync with reality:
since a97759a336c597327cb82eebc9f45c793aec32c9 QMouseEvent::button()
and QWindowSystemInterfacePrivate::MouseEvent::button should be the
button that changes state of course; but when a button is pressed,
we are reacting to it after the fact, so QMouseEvent::buttons() and
QWindowSystemInterfacePrivate::MouseEvent::buttons should include the
new button that was just pressed.  Likewise when a button was released,
we send the event with buttons _omitting_ the button that was just
released.

Amends 147a8bc4c8 and
6d6ed64d6c

Change-Id: I670289019fcfa7de685ca38799804772dc0f1c8f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-09-30 23:17:57 +02:00
..
BLACKLIST Revert "Blacklist tst_QWindow::exposeEventOnShrink_QTBUG54040" 2020-09-30 06:18:49 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qwindow.pro Remove winrt 2020-06-06 20:25:49 +02:00
tst_qwindow.cpp tst_qwindow: verify isBeginEvent(), isUpdateEvent() and isEndEvent() 2020-09-30 23:17:57 +02:00