qt6-bb10/tests/auto/widgets/kernel
Friedemann Kleint 23bed9f820 Remove tst_QWidget::immediateRepaintAfterShow().
It tested whether a paint event was received when calling QWidget::repaint()
right after QWidget::show() without waiting for the window to be exposed.

This caused a QEvent::UpdateRequest to be sent, which ended up in
QWidgetBackingStore::sync() which returns after checking
QWidgetBackingStore::discardSyncRequest(), since Qt::WA_Mapped is not set
on the non-exposed widget.

The test passed on Windows since it contains one call to
QCoreApplication::processEvents() which causes the the initial WM_PAINT
message to be processed in QWindowsWindow::handleWmPaint() which calls
QWindowSystemInterface::flushWindowSystemEvents() and causes Qt::WA_Mapped
to be set. This seems counter to the intention of the test.

Remove the test since it won't pass anymore in Qt 5 unless Qt::WA_Mapped is set.

Task-number: QTBUG-26424
Task-number: QTBUG-38327
Task-number: QTBUG-39842
Change-Id: Iede026d52825dcf1f2e9014a316d26d260309214
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-06-04 18:47:54 +00:00
..
qaction
qactiongroup
qapplication Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
qboxlayout
qdesktopwidget
qformlayout
qgridlayout
qlayout
qshortcut Fix reentrancy regression in QShortcutMap after c7e5e1d9e 2016-01-12 22:08:04 +00:00
qsizepolicy
qstackedlayout
qtooltip
qwidget Remove tst_QWidget::immediateRepaintAfterShow(). 2016-06-04 18:47:54 +00:00
qwidget_window QtWidgets: Reduce paint events when resizing native widget 2016-05-19 10:11:27 +00:00
qwidgetaction
qwidgetmetatype
qwidgetsvariant
qwindowcontainer QtWidgets: Allow to cover up the window container by another widget 2016-01-28 17:40:53 +00:00
kernel.pro