W3C home > Mailing lists > Public > public-webevents@w3.org > January to March 2011

Re: WebEvents-ISSUE-9: Interaction of touch events and mouse events [Touch Events spec]

From: Benjamin Poulain <benjamin.poulain@nokia.com>
Date: Mon, 28 Mar 2011 22:22:46 +0200
Message-ID: <4D90EE16.3070808@nokia.com>
To: ext Matt Brubeck <mbrubeck@mozilla.com>
CC: Web Events Working Group WG <public-webevents@w3.org>
On 03/28/2011 06:44 PM, ext Matt Brubeck wrote:
> On platforms like Windows, the operating system may translate touch
> input into mouse movements.  This means that, instead of one "mousemove"
> event happening after the "touchend" event, mousemove events and
> touchmove events are interleaved.  (Maybe these mouse events should be
> suppressed if preventDefault() is called on one or more of the touch
> events?)

 From my experience on the issue with Qt on Windows 7, this mixing of 
mouse event and touch event make it impossible to do anything useful 
with the page.

The best solution I had was to discard the mouse event generated by the 
platform for the touch event. This way the touch and mouse on the same 
computer work as expected.

Benjamin
Received on Wednesday, 30 March 2011 20:58:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 March 2011 20:58:26 GMT