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•9 years ago
|
||
| Reporter | ||
Comment 9•9 years ago
|
||
| Reporter | ||
Comment 10•9 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 11•5 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•3 years ago
|
Comment 12•2 years ago
|
||
Using this API prevents the mouse pointer from escaping from
PointerLocked windows.
Comment 13•2 years ago
|
||
Comment 14•1 year ago
|
||
Comment 15•1 year ago
|
||
Depends on D195726
Updated•1 year ago
|
Updated•1 year ago
|
Comment 16•1 year 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•1 year ago
|
||
Comment 18•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 19•1 year ago
|
||
Comment 20•1 year ago
|
||
Comment 21•1 year 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.
Updated•1 year ago
|
Description
•