qt5base-lts/tests/auto/gui/kernel
Jan Arve Saether 0efc6e92d8 Use the default height (not 0) if only width is specified
If width was specified, but not height (or vice versa) the actual
window size was not as expected:
* The window width was not the width specified.
* The window height became 0.
This was unexpected, since if both width and height was not specified
it would fallback to becoming 160x160 (on Windows).

However, with the advent of https://codereview.qt-project.org/71999
both width and height might receive sensible defaults based on the
content of the ApplicationWindow, which would mean that it might be
reasonable to expect that you only need to specify one size component
of the window.

This also fixes an assertion in file
..\..\..\3rdparty\angle\src\libGLESv2\renderer\SwapChain9.cpp, line 81
The assertion happened when a window was created with 0 height (but
valid width), and then its height got increased, causing it to become
visible.

Change-Id: Ia9e730418e35d679907bdcc59b00c3c988216c32
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
2014-01-09 19:27:32 +01:00
..
qbackingstore gui/kernel: Do not run test showing windows in parallel. 2013-05-30 19:33:25 +02:00
qclipboard Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
qdrag QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qevent QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qfileopenevent QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguiapplication Base tst_QGuiApplication on tst_QCoreApplication to increase GUI ED coverage 2013-10-01 18:00:17 +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 Merge remote-tracking branch 'origin/stable' into dev 2013-11-26 22:35:48 +01:00
qinputmethod gui/kernel: Do not run test showing windows in parallel. 2013-05-30 19:33:25 +02:00
qkeysequence Fetch StandardKey shortcuts from QPlatformTheme 2013-08-20 22:22:21 +02:00
qmouseevent QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qmouseevent_modal QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qpalette QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01: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 Use the default height (not 0) if only width is specified 2014-01-09 19:27:32 +01:00
kernel.pro Remove qguieventloop from auto tests if network is unavailable 2013-09-02 14:59:02 +02:00