[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
Thu Apr 26 12:04:31 PDT 2012


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


Yael <yael.aharon at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #139036|                            |review?
               Flag|                            |




--- Comment #4 from Yael <yael.aharon at nokia.com>  2012-04-26 12:04:30 PST ---
Created an attachment (id=139036)
 --> (https://bugs.webkit.org/attachment.cgi?id=139036&action=review)
Patch.

When zooming, we need to be careful about how to convert the visible rect from float to int. Using toAlignedRect can produce inconsistent width and height when we are scrolling. This patch carefully modifies each piece of the visible rect, to avoid such rounding errors. In addition, the TransformMatrix we use for painting, needs to be adjusted for the same rounding error.

-- 
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