Created attachment 582770 [details]
Screenshot of the issue
Mozilla/5.0 (Windows NT 6.0; rv:9.0) Gecko/20100101 Firefox/9.0
Difficulties when exiting from the Full Screen mode on ogg videos. Full Screen mode is not exited at the first press of the Esc button and the loading animation freezes on the video after entering the normal mode.
Steps to reproduce:
1. Load the video http://videos.mozilla.org/firefox4beta/Firefox_4_beta.theora.ogv
2. Right click on the video and from the context menu select Full Screen
3. Exit Full Screen mode by pressing the Esc button
After pressing the Esc button the video is exited from the Full Screen mode.
After pressing the first time on the Esc button an "X" icon is displayed on the middle of the screen (please see the attachment). To exit the Full Screen mode you have to click once on the video and press the Esc button again.
After the Full Screen mode is exited, the loading animation freezes on the video even if the video keeps on playing.
If you right click on the video you will notice that the first 4 items of the context menu are grayed out.
Issue is reproducible on Firefox 9 RC and on the latest Aurora.
Mozilla/5.0 (Windows NT 6.0; rv:10.0a2) Gecko/20111218 Firefox/10.0a2
Issue is not reproducible on the latest trunk.
Mozilla/5.0 (Windows NT 6.0; rv:11.0a1) Gecko/20111218 Firefox/11.0a1
This is a Windows only specific issue.
Firefox 9 is still using the old path for full-screen, not the new DOM API.
Is the listener for the ESC key press not on the window object?
This bug exists in Firefox 4.2a1pre as well [Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.2a1pre) Gecko/20110405 Firefox/4.2a1pre] so this isn't a regression we've introduced, and we won't block the release of Firefox 9 for this. The bug is fixed on trunk, so we'll wait for that to resolving fixed.
s/The bug is fixed on trunk, so we'll wait for that to resolving fixed./The bug is fixed on trunk, so we'll wait for that fix to percolate through to release channel. Resolving fixed./
I updated the whiteboard to say that this was fixed by bug 470628 since the patch for that bug switched usage of full screen video to use the new DOM fullscreen API which respects the ESC key.