[Cocoa] Have PointerLock use native APIs
Categories
(Core :: Widget: Cocoa, enhancement)
Tracking
()
People
(Reporter: edgar, Assigned: edgar)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details |
| Assignee | ||
Comment 1•15 days ago
|
||
Updated•15 days ago
|
Updated•13 days ago
|
Updated•13 days ago
|
| Assignee | ||
Comment 2•13 days ago
|
||
Hi Jens, this is the pre-requirement of implementing pointer lock unadjuestedmovement support on macOS (bug 1829401).
Could you help to find someone reviewing widget changes? I flag :mstange as well since he has reviewed some patches of bug 1829401, but I am not sure if he would review this as well or maybe someone from your team can help. Thanks!
Comment 6•12 days ago
|
||
Backed out for causing failures at nsCocoaWindow.
Backout link: https://hg.mozilla.org/integration/autoland/rev/9e9ea9f30d31
Comment 7•12 days ago
|
||
(In reply to Edgar Chen [:edgar] from comment #3)
nm, mstange has reviewed. :)
Yeah, :spohl told me he was faster...
| Assignee | ||
Comment 8•12 days ago
|
||
(In reply to Atila Butkovits from comment #6)
Backed out for causing failures at nsCocoaWindow.
Backout link: https://hg.mozilla.org/integration/autoland/rev/9e9ea9f30d31
Okay, it turns out the assertion I added is too strict. The LockNativePointer() can be called multiple times while pointer lock element is changed, this is the behavior that we have right now, and I don't want to change that at the moment. I guess we would need some tweak later to avoid that.
Comment 10•11 days ago
|
||
| bugherder | ||
Comment 11•11 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: The is the pre-requirement to implement pointer lock unadjustedMovement on macOS.
- Code covered by automated testing?: no
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: None
- Risk associated with taking this patch: low
- Explanation of risk level: The pref is enabled only on Nightly for now.
- String changes made/needed?: None
- Is Android affected?: yes
| Assignee | ||
Comment 12•11 days ago
|
||
Co-authored-by: Noah Peterson <noahbpeterson1997@gmail.com>
Original Revision: https://phabricator.services.mozilla.com/D297981
Updated•10 days ago
|
Updated•10 days ago
|
Comment 13•10 days ago
|
||
| uplift | ||
Description
•