Talk:Security/Reviews/Firefox10/CodeEditor/FullScreenAPI: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Should allow typing in fullscreen mode)
 
((Removed my confused comment - getting access to letter keys is in fact covered by the API))
 
Line 1: Line 1:
== Should allow typing in fullscreen mode ==


I like most of this, but preventing all use of letter keys will be a serious problem for games. As a test case, ask: with fullscreen mode plus WebGL, could you implement Quake, with the standard controls? As it happens, the standard controls include letter keys, most notably WASD for movement and occasional bits of text for in-game chat. And Quake can't work at all without full-screen mode, because it requires full control over the mouse cursor. For a game like that, exiting full-screen mode is very disruptive. There is a phishing problem with just dropping this restriction, though - a user could start a video, walk away, and come back to something that looks like a login prompt but isn't. To address that case, how about mixing in some sort of inactivity timeout? When a user presses a letter key, display a warning if it's been 5 minutes since they last pressed a letter key. -- jimrandomh

Latest revision as of 17:24, 14 November 2011