When desktop zooming using touchscreen, links get clicked while zooming.
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | disabled |
firefox76 | --- | disabled |
firefox77 | --- | disabled |
firefox78 | --- | fix-optional |
People
(Reporter: ktaeleman, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: apz-planning)
Attachments
(1 file)
24.77 KB,
text/plain
|
Details |
STR:
- Have apz.allow-zoom set to true.
- Open https://youtube.com
- zoom in by pinch zooming on the touchscreen in the area of a video preview.
Notice how the link gets clicked causing you to be navigated away from the page you're zooming in on.
Expected:
- Page gets zoomed in without navigating to link.
Reporter | ||
Comment 2•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Kris, would you be able to re-test this with the latest nightly (which includes bug 1556556)?
Reporter | ||
Comment 4•5 years ago
|
||
Still happening, easiest to reproduce ones are the ones next to the navigation sidebar, but other tiles show it as well.
This also happens (but less frequently) when panning the zoomed in page with touch input.
Comment 6•5 years ago
|
||
I'm not convinced this is a desktop zooming or even a Firefox bug. On mobile (both Fenix and Fennec) if I load youtube.com in desktop mode, and then pinch zoom in/pan around, I frequently get redirected to the video page as though I clicked on the video. Same happens in Chrome on Android. I didn't see it in Chrome on Windows but Chrome on Windows IIRC doesn't dispatch touch events to content. There's definitely a touchstart listener on parts of the page whose code is obfuscated, it's quite likely that it's mishandling events.
Comment 7•5 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #6)
I didn't see it in Chrome on Windows but Chrome on Windows IIRC doesn't dispatch touch events to content.
Actually that's not true. Chrome on Windows does dispatch touch events, and I do see the problem there too now.
Comment 8•5 years ago
|
||
I tried digging into the JS a bit to try and isolate the touch event listener code that was problematic, but gave up since it's not particularly easy and didn't seem worth the effort. Instead I filed a bug against Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1084534 since it reproduces there, and maybe they will get to the bottom of it. At least they will be able to get the unobfuscated youtube code.
Comment 9•5 years ago
|
||
Taking this off the nightly blocker list and unassigning since there's not much to do here.
Updated•4 years ago
|
Description
•