PointerLock letting mouse leave the browser window when captured

NEW
Unassigned

Status

()

defect
6 years ago
3 months ago

People

(Reporter: mbest, Unassigned)

Tracking

(Blocks 1 bug, {parity-chrome})

23 Branch
x86
macOS
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox23 affected)

Details

(Whiteboard: [games:p?], )

Reporter

Description

6 years ago
When playing the HelloRun demo, the game asks you to lock the mouse.  This is not done in fullscreen.  After agreeing, the game begins.  Moving the mouse to far up or down causes the mouse to leave the browser and the cursor become visible and able to interact with the OS GUI and menu bars, effectively unlocking the mouse while it's outside of the browser window.  Expected behavior is that the mouse is locked to the game window, therefor never being able to move outside of the browsers bounds.


Repro:
Go to the following link: http://hellorun.helloenjoy.com/
Click on the game to start.
Agree to have your mouse lock.
Move the mouse down until the mouse appears under the broswer window.
Reporter

Updated

6 years ago
Whiteboard: [games:p1]
Reporter

Comment 1

6 years ago
I tested it in Firefox 23 on Windows and it seems to only happen on Mac OS X.  I'm on Lion specificly.
I believe this is a dup, at least this was discussed in some bug.
Someone with a Mac should look at this.
Reporter

Updated

6 years ago
Depends on: 912606
Reporter

Comment 3

6 years ago
Currently can't test it on Nightly due to a blocker.
Reporter

Comment 4

6 years ago
Also can't test on Aurora and Beta due to 912606 blocking the game from running.
Reporter

Updated

6 years ago
Whiteboard: [games:p1] → [parity-chrome] [games:p1]

Comment 5

6 years ago
Can reproduce on Mavericks on Beta 26 and Nightly 28. That bugged me a while ago as well.
Whiteboard: [parity-chrome] [games:p1] → [parity-chrome] [games:p?]
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-chrome
Whiteboard: [parity-chrome] [games:p?] → [games:p?]
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.