Open Bug 1764404 Opened 3 years ago Updated 3 years ago

Google Maps scroll-to-zoom is super fast

Categories

(Core :: Privacy: Anti-Tracking, defect, P3)

Firefox 101
ARM64
macOS
defect

Tracking

()

Tracking Status
firefox101 --- affected

People

(Reporter: rbarnes, Unassigned)

Details

Attachments

(1 file)

Additional context:

  • Firefox 101.0a1 (2022-04-12) (as well as several versions previously)
  • MacBook Pro with M1 Pro
  • Built-in trackpad or Magic Trackpad

Expected behavior (based on Chrome):

Actual behavior:

  • Scrolling gesture results in jumpy, rapid zoom
  • Scrolling from bottom to top zooms out to show the entire world

Hey Richard, could you please enable the profiler (profiler.firefox.com) and attach a profile for this interaction?

Flags: needinfo?(rlb)
Flags: needinfo?(rlb)

Also, I just attempted to reproduce in a fresh profile, and the problematic behavior did not reproduce -- scrolling to zoom worked as expected, smoothly and at a reasonable rate.

Hi Richard, this might be caused by an add-on extension. Could you paste the output from about:support here? This may help us determine the likely cause here.

I have reproduced in a fresh profile. Steps to reproduce:

  1. Load Firefox with a fresh profile
  2. Load https://maps.google.com
  3. At this point, scroll-to-zoom should be smooth and at a reasonable rate
  4. Click on the Enhanced Tracking Protection shield in the URL bar
  5. Click on Protection Settings
  6. In the preferences, select Custom as the Enhanced Tracking Protection configuration
  7. Open a new Private Browsing window with https://maps.google.com (to effectively clear the cache)
  8. At this point, scroll-to-zoom should be jerky and fast
  9. Click on the Enhanced Tracking Protection shield in the URL bar, disable ETP, and wait for the page to reload
  10. At this point, scroll-to-zoom should be smooth and at a reasonable rate

In other words, it looks like this failure is induced by Enhanced Tracking Protection. I also filed a report through the UI for reporting on that feature.

The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Panning and Zooming
Product: Firefox → Core

I couldn't reproduce using the steps in comment 5.

I can't reproduce on Linux either, but based on comment 5 it sounds like the issue may be related to ETP causing different script to be run on this page which handles the wheel events differently.

Component: Panning and Zooming → Privacy: Anti-Tracking
Severity: -- → S3
Priority: -- → P3

I couldn't reproduce this either by using step2 in comment 5.

I also can't reproduce using those STR, at least not once the page fully loads. It might be that while the page is loading, the scrolling is janky, but on my macbook that's only for a second or two. Once the map fully loads, my trackpad scrolling is smooth.

I've been experiencing this issue too - it just started in the past couple days. No new extensions added - but Firefox auto-updates when I quit, so I may have a recently updated version.

The ETP steps above don't totally fix the scrolling issue for me. In both cases (ETP on or off), Safari and Chrome are significantly smoother to scroll/zoom.

I'm on an M1 mac, OSX 12.3.1, with Firefox 100.0.

Without any changes that I can see (OS is the same, firefox version is the same, ETP settings the same) the issue seems to have gone away for me. Perhaps it was a bug on Google Maps' side?

I still see this problem in Firefox 102.0a1 (2022-05-05), so I doubt it has been fixed on the Google Maps side. I will upgrade to latest and retry.

Confirmed, still present on Firefox 102.0a1 (2022-05-12)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: