[Webkit-unassigned] [Bug 108678] [BlackBerry]Adjust fatfinger detection rect size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 4 10:15:41 PST 2013


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





--- Comment #7 from Tiancheng Jiang <tijiang at rim.com>  2013-02-04 10:17:45 PST ---
We decide to do the transfer the document position in libwebview. they all fix one bug but might make mors sense if i seperate it in another patch.
For the pointClampedtoRect function, if the point is outside the rect, we move the point inside the rect and return it.
(In reply to comment #6)
> (From update of attachment 186398 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=186398&action=review
> 
> Much simpler :)
> 
> > Source/WebKit/blackberry/Api/WebPage.cpp:3941
> > +        PlatformWheelEvent wheelEvent(mouseEvent.documentViewportPosition(), mouseEvent.screenPosition(),
> 
> where does documentViewportPosition come from? :)
> 
> > Source/WebKit/blackberry/WebKitSupport/FatFingers.cpp:284
> > +    frameContentPos = Platform::pointClampedToRect(frameContentPos, viewportRect);
> 
> if 'point' is out of the 'rect', what does it return?
> 
> 0,0, -1,-1. clicking can still be sent to this coords.

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