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.

Received on Wednesday, 30 March 2011 20:58:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:53 UTC