and it seems it's not Qt's fault, since it only delivers 1 press and 1 release, as can be seen from
PASS : qmltestrunner::ButtonClickedSpy::initTestCase() QDEBUG : qmltestrunner::ButtonClickedSpy::test_click_button() qml: spy count after clearing = 0 QDEBUG : qmltestrunner::ButtonClickedSpy::test_click_button() qt.quick.mouse: QQuickWindow::mousePressEvent() QPointF(160,304) 1 QFlags(0x1) QDEBUG : qmltestrunner::ButtonClickedSpy::test_click_button() qt.quick.mouse: QQuickWindow::mouseReleaseEvent() QPointF(160,304) 1 QFlags() QDEBUG : qmltestrunner::ButtonClickedSpy::test_click_button() qml: click QDEBUG : qmltestrunner::ButtonClickedSpy::test_click_button() qml: new count = 1 QDEBUG : qmltestrunner::ButtonClickedSpy::test_click_button() qml: new count = 2 FAIL! : qmltestrunner::ButtonClickedSpy::test_click_button() Could not click button. Actual (): 2 Expected (): 1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1569379 Title: SignalSpy records TWO clicks when clicking on a Button ONCE. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1569379/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
