Details
-
Task
-
Resolution: Done
-
Not Evaluated
-
6.5
-
None
-
17c50b309b (qt/qtdeclarative/dev) 17c50b309b (qt/tqtc-qtdeclarative/dev)
Description
Getting a 1x1 window is a bit ridiculous, and can only happen on some platforms such as boot2qt. On X11 for example the minimum window size is 100x100. So maybe that should be the minimum in this function too, in case the test qml does not specify the root item's width and height.
********* Start testing of tst_pointerhandlers ********* Config: Using QtTest library 6.5.0, Qt 6.5.0 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 10.2.0), b2qt 3.2 PASS : tst_pointerhandlers::initTestCase() PASS : tst_pointerhandlers::hover_controlInsideControl() PASS : tst_pointerhandlers::hover_controlAndMouseArea() QWARN : tst_pointerhandlers::buttonTapHandler(left mouse) Mouse event at 10, 10 occurs outside target window (1x1). FAIL! : tst_pointerhandlers::buttonTapHandler(left mouse) Compared values are not the same Actual (tappedSpy.count()): 0 Expected (1) : 1 Loc: [/home/qt/work/qt/qtdeclarative/tests/auto/quickcontrols2/pointerhandlers/tst_pointerhandlers.cpp(200)] QWARN : tst_pointerhandlers::buttonTapHandler(right mouse) Mouse event at 10, 10 occurs outside target window (1x1). FAIL! : tst_pointerhandlers::buttonTapHandler(right mouse) Compared values are not the same Actual (tappedSpy.count()): 0 Expected (1) : 1 Loc: [/home/qt/work/qt/qtdeclarative/tests/auto/quickcontrols2/pointerhandlers/tst_pointerhandlers.cpp(200)] FAIL! : tst_pointerhandlers::buttonTapHandler(touch) Compared values are not the same Actual (tappedSpy.count()): 0 Expected (1) : 1 Loc: [/home/qt/work/qt/qtdeclarative/tests/auto/quickcontrols2/pointerhandlers/tst_pointerhandlers.cpp(210)] PASS : tst_pointerhandlers::cleanupTestCase() Totals: 4 passed, 3 failed, 0 skipped, 0 blacklisted, 1046ms ********* Finished testing of tst_pointerhandlers *********
Attachments
For Gerrit Dashboard: QTBUG-107865 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
439769,2 | Make tst_pointerhandlers::buttonTapHandler pass on boot2qt | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
439770,2 | Make tst_pointerhandlers::buttonDragHandler pass on Boot2Qt | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
439771,3 | QQuickTest::initView: set minimum window width and height if unset | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |