Change the way pointerlock works on e10s
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: xidorn, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Whiteboard: btpp-fixlater)
Attachments
(5 files, 2 obsolete files)
Reporter | ||
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Reporter | ||
Comment 4•9 years ago
|
||
Comment 5•9 years ago
|
||
Reporter | ||
Comment 8•8 years ago
|
||
Reporter | ||
Comment 9•8 years ago
|
||
Reporter | ||
Comment 10•8 years ago
|
||
Assignee | ||
Updated•6 years ago
|
quote from bug 853160 comment# 13:
The issue here is that we are just repeatedly trying to move the pointer back to the center of the window, but we never really restrict the pointer within the window area.
IIRC all desktop platforms provide some kind of mouse movement restriction API, for example on macOS we may use CGAssociateMouseAndMouseCursorPosition to forbid the mouse cursor from being moved at all.
Updated•2 years ago
|
Comment 12•1 year ago
|
||
Using this API prevents the mouse pointer from escaping from
PointerLocked windows.
Comment 13•1 year ago
|
||
Comment 14•10 months ago
|
||
Comment 15•10 months ago
|
||
Depends on D195726
Updated•10 months ago
|
Comment 16•10 months ago
|
||
by factoring out PointerLockManager::DispatchPointerLockChange() from
PointerLockManager::ChangePointerLockedElement().
This is needed for subsequent patches which tries to setup pointer lock in
chrome document as well when content request pointer lock and we don't want to
trigger pointerlock change event in chrome document in this case.
And this should not change currrent behavior.
Depends on D195728
Comment 17•10 months ago
|
||
Comment 18•8 months ago
|
||
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Comment 19•8 months ago
|
||
Comment 20•8 months ago
|
||
Comment 21•8 months ago
|
||
Comment on attachment 9367377 [details]
WIP: Bug 1255338 - Part 1: Remove unused member from UIEvent;
Revision D195728 was moved to bug 1880187. Setting attachment 9367377 [details] to obsolete.
Description
•