Closed
Bug 1176157
Opened 9 years ago
Closed 6 years ago
WebGL exiting fullscreen when not using esc key causing a residual image to stay around in Unity products
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mbest, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [games][gfx-noted])
Attachments
(1 file)
(deleted),
image/png
|
Details |
I was scanning the Unity forums and came across this issue. See URL for details.
Reporter | ||
Updated•9 years ago
|
Blocks: gecko-games
Whiteboard: [games]
Comment 1•9 years ago
|
||
Tried guessing a repro for this based on the comment "It happens when i use an exit fullscreen script/function linked to any other events or calls: mouse, game button, keys etc ....", and wrote the following two pages:
a. https://dl.dropboxusercontent.com/u/40949268/emcc/test_html5_fullscreen/test_html5_fullscreen.html
1. Press any of the buttons to go to fullscreen.
2. Press the 'E' button on the keyboard to programmatically go back.
b. https://dl.dropboxusercontent.com/u/40949268/emcc/AngryBots-fullscreen-nointeraction/index.html
1. Press the fullscreen button in the bottom right corner to go fullscreen.
2. Press the 'E' button on the keyboard to programmatically go back.
First one is a plain Emscripten page without Unity3D, second one is Unity3D AngryBots modified. I could not reproduce the issue in either case. There must be something else to the equation than this. It would be good to have a repro from the author.
Comment 2•9 years ago
|
||
Oh actually, I can now reproduce it in the AngryBots test case in Firefox 38. It does not always occur, perhaps on 1/5 attempts, here's the STR that would give it most consistently:
0. Have the browser window in windowed mode on the desktop, instead of maximized to covering the full desktop.
1. Navigate to https://dl.dropboxusercontent.com/u/40949268/emcc/AngryBots-fullscreen-nointeraction/index.html
2. After the page loads, press the Fullscreen button in the right corner.
3. Press Esc to exit fullscreen and go back to windowed mode.
4. Press Fullscreen button again.
5. Press 'E' to exit fullscreen.
Observed: After the last step, the page background is not cleared to white, but a still screenshot of the page is displayed behind the canvas.
I can't reproduce it in current FF 41 Nightly though, so there is a chance it has been fixed at some point.
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
When the issue does occur in Firefox 38, resizing the browser window from the corner by one pixel to force a repaint of the window client area makes the "ghost" image disappear, so this looks like some kind of a missed repaint in FF 38 when transitioning back.
Jukka, anything errors listed in about:support graphics section when this happens?
Whiteboard: [games] → [games][gfx-noted]
Comment 6•9 years ago
|
||
(In reply to Jukka Jylänki from comment #2)
> I can't reproduce it in current FF 41 Nightly though, so there is a chance
> it has been fixed at some point.
Can you find a fix window using mozregression?
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•