on xenial help sign in
add a FIXME on why the assertion is commented out
commitc8d52f811b31cc52ab5e7c7cb5e6dd8652130160 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 22 Sep 2016, 18:18 (10 years ago) parent5f4990a
1 file changed+3
plugins/Ubuntu/Gestures/TouchGate.cpp+3
plugins/Ubuntu/Gestures/TouchGate.cpp+3
@@ -61,6 +61,9 @@ void TouchGate::touchEvent(QTouchEvent *event)
6161 const QTouchEvent::TouchPoint &touchPoint = touchPoints[i];
6262
6363 if (touchPoint.state() == Qt::TouchPointPressed) {
64+// FIXME: This assert triggers frequently in make trySomething. We have verified
65+// that it's a bug in the mouse to touch conversion of the test environment
66+// and not in the actual product. Still, it probably should be cleaned up eventually.
6467// Q_ASSERT(!m_touchInfoMap.contains(touchPoint.id()));
6568 m_touchInfoMap[touchPoint.id()].ownership = OwnershipRequested;
6669 m_touchInfoMap[touchPoint.id()].ended = false;