Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.2.4, 6.4.0
Description
In a GUI QTest application when QTest::mouseDClick is used to simulate a user double clicking on a widget. The widget is not getting the release mouse event triggered which is expected after a simulated double click.
In Attached example (testing Button) UI is created using QML which displays the object being tested on (clicked). The testing framework is <QTest> and the object tested inherits from `QQuickItem` which is loaded from the QML source into a `QQuickWidget` so it is possible to click on the window wrapper widget and receive the click on the item being tested.
In example the event received both on the QQuickWidget and the inner item is a doubleClickEvent, on the Button it is emitted the push and double click signals but no release signal or release mouse event.
It can also be noted by the color of the button which is highlighted (blue), meaning that it is held pressed by the mouse not yet released.