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

Empty map when returning to tab in Google Chrome? #15839

Open
theodol59 opened this issue May 17, 2024 · 3 comments
Open

Empty map when returning to tab in Google Chrome? #15839

theodol59 opened this issue May 17, 2024 · 3 comments
Labels

Comments

@theodol59
Copy link

Good afternoon,

I noticed it only today so maybe it is related with recent Google Chrome or Windows update..
I have some apps using OpenLayers 6.15.1 and some apps using 9.2.1. Bug is reproducible on both versions.

Just open any of your official samples like https://openlayers.org/en/latest/examples/accessible.html in one Google Chrome tab, then open another Google Chrome tab and then come back to first tab which has map. I see blank map canvas instead of map. When I drag empty canvas or zoom it, map reappears.
It is not reproducible in Mozilla or Microsoft Edge.
Maybe it is related with how much memory Google Chrome uses at this moment. If I start Google Chrome fresh, I don't see problem.

I have Windows 10 Home and Google Chrome Version 125.0.6422.61 (Official Build) (64-bit)

@theodol59 theodol59 added the bug label May 17, 2024
@mike-000
Copy link
Contributor

Also seeing that in the latest Chrome (updated today) with a large number of tabs open.
I cannot reproduce it if I turn off memory saver in chrome://settings/performance

@mike-000
Copy link
Contributor

I have now seen this happening regardless of the memory saver setting.
In https://openlayers.org/en/latest/examples/export-map.html where the map has a 2d context for the vector layer and WebGL for the heatmap layer only the 2d layer is disappearing.

@mike-000
Copy link
Contributor

See https://issues.chromium.org/issues/328755781

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

No branches or pull requests

2 participants