Summary: | [BlackBerry] FatFinger pairs the wrong element with fatfinger rect part | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tiancheng Jiang <tijiang> | ||||
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | allan.jensen, mifenton, rwlbuis, tonikitoo, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Tiancheng Jiang
2013-03-05 08:53:11 PST
Created attachment 191505 [details]
Patch
Comment on attachment 191505 [details]
Patch
Ok.
Comment on attachment 191505 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=191505&action=review > Source/WebKit/blackberry/WebKitSupport/FatFingers.cpp:382 > - remainingFingerRegion = subtractRegions(remainingFingerRegion, layerRegion); > + remainingFingerRegion = intersectRegions(remainingFingerRegion, layerRegion); that is not right. what does it fix? Comment on attachment 191505 [details] Patch Clearing flags on attachment: 191505 Committed r144771: <http://trac.webkit.org/changeset/144771> All reviewed patches have been landed. Closing bug. If we use remainingFingerRegion subtract layerRegion, which will give us a region outside of layerRegion. But when we do checkFingerIntersection, we pair this region with the layer element. This end up a mismatch pair. We should pair the intersected part with the layerRegion element. (In reply to comment #3) > (From update of attachment 191505 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=191505&action=review > > > Source/WebKit/blackberry/WebKitSupport/FatFingers.cpp:382 > > - remainingFingerRegion = subtractRegions(remainingFingerRegion, layerRegion); > > + remainingFingerRegion = intersectRegions(remainingFingerRegion, layerRegion); > > that is not right. what does it fix? |