W3C home > Mailing lists > Public > public-webevents@w3.org > April to June 2011

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

From: Matt Brubeck <mbrubeck@mozilla.com>
Date: Tue, 12 Apr 2011 10:47:35 -0700
Message-ID: <4DA49037.7050103@mozilla.com>
To: Benjamin Poulain <benjamin.poulain@nokia.com>
CC: Web Events Working Group WG <public-webevents@w3.org>
I committed this proposal in

On 04/02/2011 07:09 AM, Matt Brubeck wrote:
> On 03/28/2011 01:22 PM, Benjamin Poulain wrote:
>> 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.
> I agree. In order to support this technique, I think the Touch Events
> spec should at least specify:
> "If the user agent dispatches both touch events and mouse events in
> response to the same user action, then the 'touchstart' event must be
> dispatched before any mouse events for that action."
> This allows content to support both mouse and touch events, and switch
> between them dynamically in a clean way. (For example, this would allow
> our own test suite to detect non-touch-aware browsers.) It is also
> compatible with existing implementations. Any objections?
Received on Tuesday, 12 April 2011 17:48:08 UTC

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