Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix intermittent disappearing imagery on Firefox #2903

Closed
pastcompute opened this issue Jul 22, 2016 · 3 comments
Closed

Fix intermittent disappearing imagery on Firefox #2903

pastcompute opened this issue Jul 22, 2016 · 3 comments

Comments

@pastcompute
Copy link

mapbox-gl-js version: v0.20.1 running in Firefox 47.0.1 on Windows 7 x64

Steps to Trigger Behavior

Code:

  1. Instantiate a map using satellite imagery
  2. Add a couple of layers and data sources inside map.on() method

Execution:

  1. Browse to the demo, hit run
  2. After the map renders, F5 then Run
  3. Repeat until bug occurs.

Expected Behavior

Should see data points over satellite imagery

Actual Behavior

Intermittently, after the satellite imagery is loaded and visible, the background will go white and you will only see the data points

Demo:

https://cdn.rawgit.com/pastcompute/html5-demos/master/mapbox-intermittent-no-imagery.html

Notes

I am experiencing this in a much more complex application, map.on is wrapped in a promise to simulate the environment of my application. Although I don't think the promise is the problem.

In my case, often it will happen on the first render after F5, whereas the demo it sometimes takes quite a few attempts to cause the problem to occur.

Doesn't seem to happen in Chrome .

Firefox also seems flickery compared to chrome, which sees a smooth transition of the imagery.

@lucaswoj lucaswoj changed the title Intermittent disappearing imagery on Firefox Fix intermittent disappearing imagery on Firefox Jul 29, 2016
@lucaswoj
Copy link
Contributor

potentially related to #1680 #1679

@lucaswoj lucaswoj removed the bug 🐞 label Aug 4, 2016
@pastcompute
Copy link
Author

Just an update, this still happens with mapbox-gl-js 0.22.0 and Firefox upgraded to 48.0
Although it took about 20 retries to repeat the fault using my demo app, the actual app that it occurs in is much more consistent, probably 9 times out of 10. So I'm wondering if it is memory use related somehow

@jfirebaugh
Copy link
Contributor

Closing due to inactivity and age; if this is still an issue in 0.42.2, please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants