QWidgetPrivate::setGeometry_sys wrongly triggers full update, which is why the test was QEXPECT_FAIL, even on Windows, which does implement static contents. We can test the behavior without involving the broken QWidget behavior by resizing the QWindow instead, which triggers a resize of the platform window and will be fed back through QWSI, similar to when the user resizes the window via the window frame. The QEXPECT_FAIL message for the QWidget resize has been updated to reflect why it's expected to fail. tst_QWidget::optimizedResize_topLevel() has similar issues to this test, and solves it by using Window specific platform code. For now this test has been left alone, as there are a lot more going on in that test in terms of workarounds and blacklistings, so it needs further investigations. Change-Id: I28a55c0723b3e7f16b362d1ebc369e038d5a7ac4 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit ea0cf4a9a2535110d6cf325e75537b4618a7374f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%