User Story

Attachments

(1 attachment)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
Steps to reproduce:
Go to http://apps.playcanvas.com/playcanvas/tutorials/fps_character_controller
Click on the screen and give permission for pointer lock to take your cursor.
Actual results:
You can move the viewpoint, but the keyboard controls (arrow keys or WASD) do not work.
Expected results:
Keyboard focus should remain with the game and keyboard controls should work (as in Chrome)
Note, if you press ESC when the permission dialog is up and then click again, keyboard control works as it should.

Note that this problem is also exhibited here:
http://www.html5rocks.com/en/tutorials/pointerlock/intro/
I just mention it in case it's useful to have another test case. Scroll down to the 'putting it all together' example. Notice how in Firefox the arrow keys no longer work after clicking on the 'Hide Pointer' modal dialog. This happens in Release, Aurora and Nightly (on my Win7 machine).

I have just tested in FF 28.0 (Stable) on Windows 7 and the bug no longer seems to be in evidence. Thank you very much for finally getting this resolved. PlayCanvas FPS experiences now work great in Firefox again. I'm happy for this to be closed.