Account Options

  1. Sign in
Google Groups Home for chromium.org
« Groups Home
Touch events supported in Chrome?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Remy Sharp  
View profile  
 More options Mar 28 2010, 12:19 pm
From: Remy Sharp <r...@leftlogic.com>
Date: Sun, 28 Mar 2010 17:19:21 +0100
Local: Sun, Mar 28 2010 12:19 pm
Subject: Touch events supported in Chrome?
I was playing around with a game I've been hacking, and I'm trying to support both mobile and desktop browsers, one thing I do is to detect touch event support - and if it's available, I use touch events instead of click (i.e. mobile).

However... Chrome on the latest dev channel is returning true for touch event support (I've not checked the other versions of Chrome).

Demo: http://jsbin.com/utuyi3/2
Source: http://jsbin.com/utuyi3/2/edit

Is this a bug or is Chrome expecting to /actually/ support touch events?  That said, surely it should be device dependant (I've tested to see if this is an issue in Webkit, and it correctly reports false to touch events - so I assume this is a bug in Chrome?)

Ideas / is this a bug?

Cheers,

Remy Sharp
Left Logic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nico Weber  
View profile  
 More options Mar 28 2010, 1:00 pm
From: Nico Weber <tha...@chromium.org>
Date: Sun, 28 Mar 2010 10:00:45 -0700
Local: Sun, Mar 28 2010 1:00 pm
Subject: Re: [chromium-html5] Touch events supported in Chrome?
http://crbug.com/36415 (found by searching for "touch events" on crbug.com).

If the events don't work but chrome claims they do, that's bad. Maybe
you can mention that on the bug.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott  
View profile  
 More options Mar 29 2010, 2:04 am
From: Scott <scottoh...@gmail.com>
Date: Sun, 28 Mar 2010 23:04:27 -0700 (PDT)
Local: Mon, Mar 29 2010 2:04 am
Subject: Re: Touch events supported in Chrome?
Hopefully there's a command-line switch to disable these non-
functioning touchevents (like Remy, I too have an app that uses
touchevent detection to determine whether to touch or mouse events,
depending on whether it's mobile or desktop).

Looking on the official list of Chrome switches (http://
src.chromium.org/svn/trunk/src/chrome/common/chrome_switches.cc), I
can't see anything to disable touch events.  So hopefully these events
get sorted out in the next dev release.

On Mar 29, 4:00 am, Nico Weber <tha...@chromium.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Garret Kelly  
View profile  
 More options Mar 29 2010, 1:17 pm
From: Garret Kelly <g...@chromium.org>
Date: Mon, 29 Mar 2010 10:17:13 -0700 (PDT)
Local: Mon, Mar 29 2010 1:17 pm
Subject: Re: Touch events supported in Chrome?
On Mar 28, 1:00 pm, Nico Weber <tha...@chromium.org> wrote:

> http://crbug.com/36415(found by searching for "touch events" on crbug.com).

> If the events don't work but chrome claims they do, that's bad. Maybe
> you can mention that on the bug.

The events "work" in the sense that they're properly exposed to V8,
but nothing but test_shell will currently deliver them. I don't feel
that it's safe to assume that a user will be interacting with an
application exclusively via touch events just because their browser
supports touch events. There are devices currently on the market that
support both touch input and pointer-driven input (most convertible
tablet formfactors, like the s10-3t for instance), and it would be a
bad user experience if they loaded a page, detected their touch
capability and then refusing to respond to mouse events.

Garret


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »