-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.0, 4.6.1
-
None
-
43233652e753ffa2b97a8b6d56ae53bb02cbad6b
When delivering gesture events in graphics scene, the delivery does not stop at the first item that is a panel.
Fix proposal (that does not account for attribute change during the actual event sending loop, because only items that grab gestures is available at that time)
void QGraphicsScenePrivate::getGestureTargets:
for (int j = 0; j < items.size(); ++j) {
QGraphicsObject *item = items.at(j)->toGraphicsObject();
if (item) {
QGraphicsItemPrivate *d = item->QGraphicsItem::d_func();
if (d->gestureContext.contains(gestureType)) {
result.append(item);
}
}
if(items.at(j)->isPanel())
break;
}
- is required for
-
QTBUG-7920 Symbian4_2010_09
-
- Closed
-
- resulted in
-
QTBUG-8177 Gesture event delivery should cancel gestures when a modal panel appears in QGraphicsView
-
- Closed
-