mapbox / mapbox/mapbox-maps-flutter

[V2.17] Text and Icon rendering corruption

Open
#1,090 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
380
Forks
204
PR merge metrics
No merged PRs in 30d

Description

Some of our users are reporting an intermittent issue where all map text is corrupted or missing. This is affects both rendered labels and lines.

It looks like the Font->glyph map isn't aligning or has a DPI mismatch?
The font in the screenshot was "**DIN Pro Medium**". Restarting the app fixes the issue. We've observed the issue on both Android and iOS, (Screenshot is IOS):

Steps to reproduce the Rendering bug (happens 100% of the time):

1) Open a mapbox map (even the mapbox studio sample app has the bug)
2) Minimise the application, and launch another app (e.g photos)
3) Use the task switcher to go back to mapbox
4) Pan the camera, notice no new map data downloads, eventually you are left with a dead map

Unfortunately I don't have the steps to reproduce the Glyph corruption bug, it seems intermittent and seems to occur after switching back to the application.

IOS:
Image

Mapbox Studio
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the documented app-backgrounding sequence in the Mapbox Studio sample and the Flutter app on iOS and Android. Investigate the map lifecycle after returning from the task switcher, then compare that behavior with the intermittent glyph corruption; done means map data resumes downloading and labels and lines render correctly without restarting the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
computer-graphics, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.