New issue
Advanced search Search tips

Issue 637246 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

'ontouchstart' in window return bad rez

Reported by nusyalia...@gmail.com, Aug 12 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0

Steps to reproduce the problem:
1. 'ontouchstart' in window return true 
2. 
3. 

What is the expected behavior?
'ontouchstart' in window return true but in laptop(it's must be false like in ff && ie). I have this problem to in win10

What went wrong?
example I can't insert directive draggble on true time in angularjs 

Did this work before? Yes return true rez

Chrome version: 52.0.2743.116 m  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 21.0 r0
 
Components: -Blink Blink>Input
Owner: tdres...@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: Hotlist-Input-Dev
tdresser@ you were working on cleaning some of this up right?

nusyallamin@ do you have details on the hardware you are using? Did you open devtools?
We'll never change this at runtime, so the work I'm doing isn't relevant here.

It isn't completely clear to me what the bug is though.

If I understand correctly, the bug is:
On some windows 10 laptops without touchscreens, "ontouchstart" in window returns true?
yes i open devtools
my comp params in attach file
in console i have error:
VM1486 extensions::uncaught_exception_handler:8 Error in response to storage.get: TypeError: appAPI.ready is not a function
    at eval (eval at <anonymous> (chrome-extension://cpphaajncbmfohddbgnllfcmcjcbaced/js/lib/app_api.js:1:130), <anonymous>:355:8)
    at chrome-extension://cpphaajncbmfohddbgnllfcmcjcbaced/js/lib/app_api.js:1:130
    at e (chrome-extension://cpphaajncbmfohddbgnllfcmcjcbaced/js/lib/app_api.js:1:146)
    at null.callback (chrome-extension://cpphaajncbmfohddbgnllfcmcjcbaced/js/lib/app_api.js:1:3306)
    at null.callback (chrome-extension://cpphaajncbmfohddbgnllfcmcjcbaced/js/lib/app_api.js:1:3179)


for google.png
85.9 KB View Download
mycomp.png
50.0 KB View Download
not only win10 in win7 too
more information about win10 i can give you on sunday
The extensions error is unrelated to the initial report, correct?
That looks like you have a broken extension installed.

The computer description says "Touch Input Available with 20 Touch Points".
Since the OS thinks touch input is available, we should report true for 'ontouchstart' in window.
you are not should report true for 'ontouchstart' in window
Touch option not enabled - ie  && FF return false for 'ontouchstart' in window.
in previous version chrome was returned false.
are you think it's normal behavior?
IE on desktop doesn't support touch events, so it will always return false.

FF returns true in the cases I've tested.

Do you have a device where Firefox and Chrome return different results for "ontouchstart" in window?


Status: ExternalDependency (was: Assigned)
Re #9, do you have a device where Firefox and Chrome return different results for "ontouchstart" in window?

'ontouchstart' in window in ff false
'ontouchstart' in window in chrome true

ff.png
41.6 KB View Download
chrome.png
44.3 KB View Download
mycomp.png
50.0 KB View Download
Cc: mustaq@chromium.org tdres...@chromium.org nzolghadr@chromium.org
Owner: sunyunjia@chromium.org
Status: Available (was: ExternalDependency)
Oh, Sandra has been adjusting this recently. Over to her.
I checked both Chrome 56.0.2924.21 (which before any of Sandra's changes) & FF on Surface. They behave similarly: both returns true.
This is not a regression so lowering the priority.

nusyaliamin@: We need more info:
- Which version of Chrome works as you want?
- Which version of Chrome doesn't work as you want?
- What's the model of the laptop you are testing?

 mustaq@:
version of Chrome works true - i don't remember
version of Chrome doesn't work - 54.0.2840.99 m
laptop asusa55v
Labels: -Pri-2 Needs-Feedback Pri-3
2017 Q2 Update: nusya....@ is this still an issue in recent chrome versions?
Cc: sunyunjia@chromium.org
Owner: ----

Sign in to add a comment