Bug 93044 - Make double tap gesture send dblclick event
Summary: Make double tap gesture send dblclick event
Status: RESOLVED DUPLICATE of bug 92412
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rick Byers
URL:
Keywords:
Depends on:
Blocks: 93045
  Show dependency treegraph
 
Reported: 2012-08-02 16:24 PDT by Rick Byers
Modified: 2012-08-03 07:23 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Byers 2012-08-02 16:24:45 PDT
PlatformEvent::GestureTap triggers a mousedown/mouseup/click event sequence.
Similarily, a double tap gesture should be sending mousedown/mouseup/click events with detail=2 (click count) and a dblclick event.  Instead today it just behaves like two taps (eg. both with click count == 1).
Comment 1 Rick Byers 2012-08-02 16:28:41 PDT
Note that I can't implement this by consuming GestureDoubleTap.  We want to send GestureTap for the second tap (eg. a element that listens just to taps should be triggerable over and over again), but the derived mouse events it generates need to be different (have a click count of 2).

Therefore I will add a tap count to GestureTap, analogous to the clickCount in PlatformMouseEvent
Comment 2 Rick Byers 2012-08-03 07:23:30 PDT
Whoops, I did already have a bug for this.

*** This bug has been marked as a duplicate of bug 92412 ***