massive performance drain and incorrect text color with Galaxy Tab A 8.0
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
I have a couple of client with a Galaxy Tab A 8.0 with the following user Agent:
`Mozilla/5.0 (Linux; Android 9; SM-T387V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.119 Safari/537.36`
**mapbox-gl-js version**: v1.8.1
**browser**: Chrome v80 on Android
### Steps to Trigger Behavior
1. Open any MapBox map (even samples)
2. Look at street labels.
3. On light styles, the text is white. On dark styles, the text is black. Both are unreadable due to lack of contrast.
Coincidentally, (or perhaps not), all users of the same device are experience massive battery drain and overheating. On my application, which uses custom symbols and uses `requestAnimationFrame` I can track lag related to this function:
On the sample, it straight up crashed Chrome when trying to pan. I'm assuming there's an infinite loop going on somewhere. I'll post screenshots in a few minutes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with mapbox-gl-js v1.8.1 on a Galaxy Tab A 8.0 running Chrome 80, using the sample maps and the reported user agent. Compare label contrast while panning and observe battery drain, overheating, lag, or a browser crash. Done means the labels remain readable and map interaction no longer causes the reported performance failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100