qt5base-lts/tests/auto/gui/kernel
Laszlo Agocs b08cc0ec6f Make the expose region local on all platforms
QExposeEvent::region() reports a region in a random coordinate system.
The behavior is undocumented and the platform plugins do different things.

xcb, offscreen and ios are correct. These set the region in local coordinates,
which is the most logical interpretation of the expose region.

windows is almost correct, except for one occurrence.

cocoa and others need changes: passing in geometry() as the exposed region is
always wrong.

The patch documents the expected behavior both for QExposeEvent and
internally in QWindowSystemInterface. The problematic plugins are fixed to
use local coordinates.

Task-number: QTBUG-40470
Change-Id: I6ded3154d14254fa71d4292d8e1b5e6cf696c81a
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
2014-08-12 07:47:32 +02:00
..
qbackingstore gui/kernel: Do not run test showing windows in parallel. 2013-05-30 19:33:25 +02:00
qclipboard Windows clipboard: Deny CF_DIB support for images with alpha. 2014-07-03 22:43:17 +02:00
qdrag QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qevent QEvent: document and check when registerEventTypes() returns -1 2014-03-29 12:40:05 +01:00
qfileopenevent tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
qguiapplication Add checks for widget/window leaks to kernel tests. 2014-07-24 19:39:40 +02:00
qguieventdispatcher QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguieventloop Add auto-test for running the QEventLoop test with the GUI dispatcher 2013-08-12 14:27:57 +02:00
qguimetatype Fixed testbuild with QT_NO_CURSOR 2013-06-25 07:14:54 +02:00
qguitimer QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguivariant Update QVariant tests 2014-07-10 13:14:40 +02:00
qinputmethod gui/kernel: Do not run test showing windows in parallel. 2013-05-30 19:33:25 +02:00
qkeysequence Merge remote-tracking branch 'origin/stable' into dev 2014-01-20 18:18:59 +01:00
qmouseevent expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qmouseevent_modal expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qopenglwindow Introduce QOpenGLWindow 2014-08-05 16:47:37 +02:00
qpalette Add a test for some copy semantics to QPalette 2014-08-06 13:52:30 +02:00
qpixelformat QPixelFormat: don't inherit it 2014-08-09 09:05:24 +02:00
qrasterwindow Introduce QRasterWindow 2014-08-05 16:47:42 +02:00
qscreen QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qsurfaceformat QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qtouchevent QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qwindow Make the expose region local on all platforms 2014-08-12 07:47:32 +02:00
kernel.pro Introduce QRasterWindow 2014-08-05 16:47:42 +02:00