New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 850773 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 848122
Owner: ----
Closed: Jul 4
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Touch events offset on various pages some of the time.

Reported by mccarthy...@gmail.com, Jun 7 2018

Issue description

Example URL:

Steps to reproduce the problem:
I'm seeing similar issues to https://bugs.chromium.org/p/chromium/issues/detail?id=825765 except the issue can occur on regular pages. Touch events are sometimes offset by an amount similar to the height of the top controls. If I scroll to change the visibility of the top controls then the page and the touch events line up again. Most of the time the touch event occours above where I tap but it can appear below too. I can often reproduce this on YouTube where the missed targets are obvious because the mobile site has many controls close together. It could be confirmation bias but it seems much easier to reproduce in Incognito mode. Refreshing the page fixes the issue. 
 Issue 825765  states that changes are coming for M68 but I'm using Dev 68.0.3440.14 and also still see this issue on the interstitials page such as http://expired.badssl.com/ and this bug is different because the issue occours on normal pages. Interesting if I zoom in super far on the interstitial the the touches line up better, although still not 100% correctly. 

Full chrome://version
Google Chrome	68.0.3440.14 (Official Build) dev (32-bit)
Revision	6a244aa6611e57d2f3adff0409099923be1d5fe9-refs/branch-heads/3440@{#125}
OS	Android 8.1.0; Nexus 6P Build/OPM6.171019.030.B1
Google Play services	SDK=11200000; Installed=12685023; Access=1p
JavaScript	V8 6.8.275.4
User Agent	Mozilla/5.0 (Linux; Android 8.1.0; Nexus 6P Build/OPM6.171019.030.B1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.14 Mobile Safari/537.36
Command Line	--use-mobile-user-agent --top-controls-show-threshold=0.5 --top-controls-hide-threshold=0.5 --use-mobile-user-agent --enable-pinch --enable-viewport --validate-input-event-stream --enable-longpress-drag-selection --touch-selection-strategy=direction --main-frame-resizes-are-orientation-changes --disable-composited-antialiasing --enable-dom-distiller --flag-switches-begin --site-per-process --enable-suggestions-with-substring-match --enable-tcp-fastopen --reader-mode-heuristics=none --reduced-referrer-granularity --show-saved-copy=primary --enable-features=MarkHttpAs,OfflinePagesShowAlternateDinoPage --disable-features=NTPArticleSuggestions,NTPAssetDownloadSuggestions,NTPBookmarkSuggestions --flag-switches-end
Executable Path	No such file or directory
Profile Path	/data/user/0/com.chrome.dev/app_chrome/Default
Variations	411b6d4e-3f4a17df
1d8c7c89-3f4a17df
7eb20865-3f4a17df
45514eb0-3f4a17df
8b81f22b-3f4a17df
609c5d64-3f4a17df
288ddd9a-3f4a17df
853359fa-3f4a17df
d01ab0d3-2e200496
1a0d11d4-f23d1dea
b7e2524c-f23d1dea
da89714-4ad60575
b1681d28-1410f10
9041608a-f23d1dea
1e528f0f-f23d1dea
ca05d627-3f4a17df
717d9da7-f23d1dea
d35aec66-3f4a17df
236d5d9e-694ae69f
47e5d3db-3d47f4f4
77207729-e0e232cc
dc462a28-5c943877
125b7f68-26e7b859
d442dfb7-41afa35c
1149accc-f23d1dea
6557d030-f23d1dea
a582a1b8-ad75ce17
e9de5187-b21ac074
3042ad4b-59e92cae
63a99ffd-3f4a17df
41a7f344-ca7d8d80
44827ee5-f23d1dea
5e3a236d-59e286d0
345b5b61-3f4a17df
20ccf1f0-ca7d8d80
b0f37b08-1e74887e
9773d3bd-ca7d8d80
93731dca-cdcbcaf4
c992f345-4ad60575
c157e591-3f4a17df
e34691ba-f23d1dea
889b4d5d-3f4a17df
9e5c75f1-d511e62
85663a5d-d4dfdd4e
f79cb77b-3f4a17df
566db8be-5c943877
2c45a3a5-c0eabc8d
4ea303a6-9f93d4fc
dab8c208-ba47aa35
514f6bcf-1efb3fde
bcc34a89-3f4a17df
3d7e3f6a-2eb01455
6e6e0c7e-f23d1dea
d92562a9-cfe3c2ea
f6b41a91-f23d1dea
2c1d398c-f23d1dea
6973a1cf-3f4a17df
4932440-f23d1dea
3227ca1f-3f4a17df
247c1e6d-f23d1dea
da460ac8-f23d1dea
30ab2dd8-cf4f6ead
c332d3b5-f23d1dea
5a42b5d9-3f4a17df
344833e9-473e8c2e
3f273a97-e3ad1896
4f864ce1-85fb2903
4bc337ce-69465896
9a2f4e5b-ca7d8d80
494d8760-52325d43
3ac60855-486e2a9c
4442aae2-75cb33fc
ed1d377-e1cc0f14
12e17bc5-e1cc0f14
75f0f0a0-e1cc0f14
e7e71889-4ad60575
6e3b857e-f23d1dea
3a4029d-3a4029d
bbb8f811-3f4a17df
1e902a37-3f4a17df
cc73f8a1-a3a14831
8834fcca-cf4f6ead

What is the expected behavior?

What went wrong?
Touches are offset vertically from the finger. 

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes 

Does this work in other browsers? Yes

Chrome version: 68.0.3440.14  Channel: dev
OS Version: 8.1.0
Flash Version: 

I know that because I don't have an 100% way to reproduce this it's difficult but if there's any extra logging I can turn on or build to run that may help I'm happy to.
 
Labels: Needs-triage-Mobile
Cc: sandeepkumars@chromium.org
Labels: Triaged-Mobile
Mergedinto: 825765
Status: Duplicate (was: Unconfirmed)
This issue seems to be a dupe of  issue 825765 . Hence merging into it, please feel free to undupe if not the case.

Thanks!!
My impression of  issue 825765  is that it was focused on the interstitial touch events. I filled this issue because I am seeing touch event offsets on interstitials AND normal pages. Comment 21 on that issue did seem to be related to this but that discussion went nowhere.

Thanks. 
Status: Untriaged (was: Duplicate)
Re-opening this since 825765 is just for interstitials, and both the current workaround and the WIP fix won't change this for regular sites. Also, the current workaround landed before 68, so this seems like a similar problem with a different cause.

Comment 5 by rtoy@chromium.org, Jun 14 2018

Components: -Blink Blink>Input
Labels: Needs-Feedback
Status: Unconfirmed (was: Untriaged)
Reporter, do you have any url that could show this problem? I don't seem to be seeing the same problem. Ideally a small example would be perfect.
Unfortunately the issue doesn't always appear. It seems more commons after you have scrolled up and down a bit in a page or followed a few links I'm not too sure. I managed to get a video of the issue though. This was on https://www.troyhunt.com/enhancing-pwned-passwords-privacy-by-exclusively-supporting-anonymity/ but this page doesn't always have this issue and the issue can appear on any website. Chrome Dev is now also at version 69.0.3464.0.

https://youtu.be/GsRGXmLCHZw

This video shows the touch events with the Android developer menu setting. I show both it working and with the offset, depending on if the top controls are hidden or not. 
Project Member

Comment 8 by sheriffbot@chromium.org, Jun 22 2018

Cc: nzolghadr@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: bokan@chromium.org
bokan@ from the video it does seem that the delta offset is about the same as the url bar that hides or reappears. Could that be related at all?
Mergedinto: -825765 848122
Status: Duplicate (was: Unconfirmed)
I think this is  issue 848122  - should be fixed soon.

Sign in to add a comment