Open Bug 1622040 Opened 4 years ago Updated 4 years ago

When desktop zooming using touchscreen, links get clicked while zooming.

Categories

(Core :: Panning and Zooming, defect, P3)

Desktop
Unspecified
defect

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)

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.

I assume this is on Windows.

Priority: -- → P3
Attached file about:support
Whiteboard: desktop-zoom-nightly
Whiteboard: desktop-zoom-nightly → apz-planning

Kris, would you be able to re-test this with the latest nightly (which includes bug 1556556)?

Flags: needinfo?(ktaeleman)

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.

Flags: needinfo?(ktaeleman)

I can investigate.

Assignee: nobody → kats

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.

(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.

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.

Taking this off the nightly blocker list and unassigning since there's not much to do here.

Assignee: kats → nobody
No longer blocks: desktop-zoom-nightly
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: