Closed Bug 1298575 Opened 8 years ago Closed 8 years ago

WebGL Compatibility - Pulpo Game has screen rendering issues and Web Browser Console Errors

Categories

(Firefox :: Untriaged, defect)

49 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: ithompson4, Unassigned)

Details

Attachments

(2 files)

Attached image PulpoDisplayProblem.png
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160823121617

Steps to reproduce:

1. Launch Firefox and open the `Browser Console` from menu [≡] → select `Developer` → select `Browser Console`.
2. Open the following WebGL animation - [Pulpo](http://dl.dropboxusercontent.com/u/6983010/wserv/gexp_pulpo/index.html).
3. Use the mouse pointer to reduce the size of the web browser window to a significantly smaller size.  
4. Use the settings available for this animation, e.g. change FOV, check/uncheck Pospo, etc.






Actual results:

1. After clicking numerous times on the FPS area in the top left corner of the game window, eventually the circling star permanently loses solidity. The game has to be restarted to restore it to its original form.
2. There are page-thumbnail error messages reported in the web console Browser.
3. When the Web Browser is resized to full page status, the game window stays at its original smaller size and there is a black area that fills up the remaining space. 


Expected results:

1. The WebGL animation is properly loaded and rendered.
2. All the changes are seen accordingly and no errors are thrown in the Browser Console
Attached file Console Error
Firefox Web Browser Console log attached.
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0

I have tested this issue on Windows 10 x64 with the latest Firefox release (48.0.2) and the latest Nightly (51.0a1-20160830030201)and manage to reproduce it.
After following the STR provided in the description and loading the game in a smaller sized browser window, when the Web Browser is resized to full page status the game window stays at its original smaller size and there is a black area that fills up the remaining space.

However I have also reproduced this on Chrome (52.0.2743.116) and Edge (25.10586.0.0), so taking this into consideration, this might not be a Firefox issue.

For more info regarding WebGL Resizing, please see the following link: http://webglfundamentals.org/webgl/lessons/webgl-resizing-the-canvas.html and look at the last example, this might be useful.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: