qt5base-lts/tests/auto/widgets/kernel/qwidget
Chris Colbert 6060dab13a Fix issue where revealed widget children do not receive paint event.
When a child of a widget is spontaneously revealed due to a call to
the parent 'resize' method, the child will not receive a paint event
if it has the WA_StaticContents and WA_OpaquePaintEvent flags set.

This is caused by the backing store being pre-emptively resized by the
call to setGeometry_sys, which causes QWidgetBackingStore::sync to skip
the block which handles the static contents.

There doesn't appear to be any reason to preemptively resize the backing
store, since it is always resized as-needed during the the 'sync' method.
This change-set removes the code which preemptively resizes the backing
store.

Task-number: QTBUG-35282
Change-Id: Ie9942854ca5322dfe0f98ed8100810161576be80
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
2014-03-04 15:59:05 +01:00
..
testdata/paintEvent
.gitignore
geometry-fullscreen.dat
geometry-maximized.dat
geometry.dat
qwidget.pro WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qwidget.qrc
tst_qwidget_mac_helpers.h Fix typo 2013-06-03 13:00:32 +02:00
tst_qwidget_mac_helpers.mm Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
tst_qwidget.cpp Fix issue where revealed widget children do not receive paint event. 2014-03-04 15:59:05 +01:00