yokoffing / Betterfox

Firefox user.js for speed, privacy, and security. Your favorite browser, but better.
MIT License
6.11k stars 151 forks source link

Google Maps #203

Closed wis3f1sh closed 1 year ago

wis3f1sh commented 1 year ago

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

REPORT

Describe the bug on google maps site "globe mode" is not available and zooming is intermittent

To Reproduce I go to google maps and observe the inability to turn on "globe mode" and intermittent zooming

1. Go to google maps
2. Click on layers
3. Scaling the map
4. See error

Expected behavior globe mode on google maps and smooth zooming

Screenshots If applicable, add screenshots to help explain your problem.

https://github.com/yokoffing/Betterfox/assets/97912016/18031d5b-e705-4ab8-b8d5-991287f3071d

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

yokoffing commented 1 year ago

Summary: I cannot reproduce on Firefox Stable using a new profile or when using the current user.js. However, I can reproduce on my build with Firefox Nightly.

There are many bug reports across various browsers reporting this issue in the past 5 years, but none of them I've found post what the solution was. Many seem to point to the browser not being able to use WebGL. You can test if Firefox can use WebGL with this site: https://get.webgl.org/

On Stable (with or without user.js) and Nightly (without the user.js):

stable

On Nightly (with my customized user.js):

nightly

Update: After updating my NVIDIA graphics driver, testing the new profiles, and switching back to my default profiles, https://get.webgl.org/ loaded correctly in Nightly, and I was able to use Globe mode on Maps.

wis3f1sh commented 1 year ago

Indeed, the essence of the problem is in the enabled parameter about:config webgl.disabled. After disabling it, the problem is solved. The only remaining question is whether this parameter is in user.js or related to something else?

yokoffing commented 1 year ago

webgl.disabled is not in the user.js. It's stated in the README that we don't break user experiences like this.

Most issues are due to users toggling prefs outside the user.js, which is why the BEFORE YOU BEGIN section exists for bug reports...

In the future, bug reports not following through with self-troubleshooting will be auto-closed.