[Webkit-unassigned] [Bug 84306] [Qt][WK2] Fixed layers are shaking when zoom level is not 1.0 due to a rounding error.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 27 09:49:56 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84306





--- Comment #21 from Jocelyn Turcotte <jocelyn.turcotte at nokia.com>  2012-04-27 09:49:56 PST ---
(From update of attachment 139219)
View in context: https://bugs.webkit.org/attachment.cgi?id=139219&action=review

> Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:787
> +    QRectF accurateVisibleRect(q->boundingRect());
> +    accurateVisibleRect.translate(contentPos());
> +    drawingArea->setVisibleContentsRect(visibleRect, scale, trajectoryVector, FloatSize((accurateVisibleRect.x() - visibleRect.x() * scale) / scale, (accurateVisibleRect.y() - visibleRect.y() * scale) / scale));

How about sending a FloatRect visible rect directly to WebLayerTreeRenderer, and continue sending the rounded one to DrawingArea?
Plus the scale isn't needed in WebLayerTreeRenderer, m_contentsScale is unused.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list