Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.0.0 Beta2
-
None
Description
QtWebEngine had tests doing the following
QTest::touchEvent(target, s_touchDevice).press(1, tapCoords, target); QTest::touchEvent(target, s_touchDevice).stationary(1); QTest::touchEvent(target, s_touchDevice).release(1, tapCoords, target);
Which causes a crash under QMutableEventPoint::setTimestamp(const ulong t)
Before the line
QEventPointPrivate *pd = QPointingDevicePrivate::get( const_cast<QPointingDevice *>(d->device))->pointById(id())->eventPoint.d;
d is valid, but after that line it is suddenly 0, and causes a crash when state() is tested.
Replacing the finger id 1 with 0 in the QtWebEngine tests fixed the issue, but means the test ABI changed dangerously.