diff --git a/private/kineticscroll.cpp b/private/kineticscroll.cpp index 6b1a0a64b..c1e952303 100644 --- a/private/kineticscroll.cpp +++ b/private/kineticscroll.cpp @@ -151,6 +151,13 @@ void KineticScrolling::mousePressEvent(QGraphicsSceneMouseEvent *event) { d->syncViewportRect(); d->cposition = -d->parent->property("scrollPosition").value(); + + if (d->cposition == QPointF(0, 0) && + d->viewportGeometry.width() + 2 >= d->contentsSize.width() && + d->viewportGeometry.height() + 2 >= d->contentsSize.height()) { + event->ignore(); + } + doneOvershoot(); Q_UNUSED(event); d->count();