ArduPilot / ArduPilot/UAVLogViewer

drawingBufferWidth must be greater than zero.

Open
#356 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
258
Forks
296
PR merge metrics
No merged PRs in 30d

Description

Got this when trying to open a log in Firefox 106.0.5, Linux.

Uploaded the same log in Chrome and there weren't any errors. Then I reloaded the page in Firefox and tried again, and it worked without error.

```
An error occurred while rendering. Rendering has stopped.

DeveloperError: drawingBufferWidth must be greater than zero.
i@https://plot.ardupilot.org/static/js/1.0bdc62d8b34eafc023d4.js:69:666516
7DWk/NA.prototype.getPixelDimensions@https://plot.ardupilot.org/static/js/1.0bdc62d8b34eafc023d4.js:2:419800
7DWk/qA.prototype.getPixelDimensions@https://plot.ardupilot.org/static/js/1.0bdc62d8b34eafc023d4.js:2:423524
7DWk/mme.prototype.getPixelSize@https://plot.ardupilot.org/static/js/1.0bdc62d8b34eafc023d4.js:2:2770831
7DWk/DH.prototype.update/t

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure in Firefox 106.0.5 on Linux by opening the reported log, then inspect the rendering path corresponding to static/js/1.0bdc62d8b34eafc0234d.js and the drawingBufferWidth stack trace. Done means the log opens and renders in Firefox without the rendering-stopped error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.