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•10 months ago
|
||
Reporter | ||
Updated•10 months ago
|
Reporter | ||
Updated•9 months ago
|
Updated•9 months ago
|
Comment 3•9 months ago
|
||
Kris, would you be able to re-test this with the latest nightly (which includes bug 1556556)?
Reporter | ||
Comment 4•8 months 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•8 months 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•8 months 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•8 months 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•8 months ago
|
||
Taking this off the nightly blocker list and unassigning since there's not much to do here.
Updated•6 months ago
|
Description
•