Bug 94938 - [BlackBerry] Touch cancel can cause huge and needless invalidations
Summary: [BlackBerry] Touch cancel can cause huge and needless invalidations
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit BlackBerry (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antonio Gomes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 08:11 PDT by Antonio Gomes
Modified: 2012-08-24 08:34 PDT (History)
1 user (show)

See Also:


Attachments
patch (4.60 KB, patch)
2012-08-24 08:34 PDT, Antonio Gomes
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Gomes 2012-08-24 08:11:04 PDT
PR #198051

In order to remove the possible hover effect on touch_cancel, we always
invalidate the node under the fat finger, being the fat finger valid or not.

Point is having a valid fat finger node does not mean the original touch
position was actually adjust for clicking or that the fat finger is actually
valid. We set the fat finger node to be the result of the point-based hit-test
regardless if it is a click target or not (in order to make our mouse-move
machinery to work).

We should can less aggressively invalidate the fat finger node, since it can be
rather an expensive call (longer than 1s in the worst scenario).
Comment 1 Antonio Gomes 2012-08-24 08:34:18 PDT
Created attachment 160425 [details]
patch

https://trac.webkit.org/changeset/126588