aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-04-07 15:25:39 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-04-07 15:35:12 +0000
commitdcb0dd861bec6eb61b6bca6dad9399f59a5a1c2c (patch)
tree3a5d4095a68cdbf498c1e5ab9f28c9e121597b03 /src/quicktemplates2
parentf8224c9c9e3dfc1fd4cc3bff915e7e2d1c411d05 (diff)
Another attempt to fix tst_snippets on OS X 10.10
The test is sharing (and showing, and resizing) the same view for every snippet. In the CI system we keep having issues that sometimes, after running the test for a while, the window content stops being resized as appropriate. Considering that QQuickWindow resizes its content item in resizeEvent(), this probably means that in the CI the window does sometimes not receive the resize event as appropriate. Before, the window was left hanging there after taking the very first screenshot. Now we try to close the window so that each and every screenshot snippet gets loaded while the window is hidden, shows it, and waits for it to become visible/active. This will hopefully ensure that the window will always receive an "initial" resize event. Task-number: QTBUG-58606 Change-Id: If4b38443cfdc9175f313bf8e70c7daf42d34f687 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2')
0 files changed, 0 insertions, 0 deletions