Bug 296923
| Summary: | [iOS] Pointer lock should be gated behind mouse availability | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
| Component: | Platform | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | a_protyasha, possum.bracing0v, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=296956 | ||
Abrar Rahman Protyasha
rdar://157543756
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/48946
Jeffrey Blanz
Shouldn’t this also apply to visionOS?
Also unrelated, but will pointer lock work on iPhones? iPhones support mouse input if the user enables “AssistiveTouch”, but I am unsure if Safari on iPhones recognizes the mouse as touch input or mouse input.
Obviously with iPads this is not an issue as mouses are supported outside of accessibility.
EWS
Committed 298248@main (53f4089bebab): <https://commits.webkit.org/298248@main>
Reviewed commits have been landed. Closing PR #48946 and removing active labels.
Abrar Rahman Protyasha
(In reply to Jeffrey Blanz from comment #2)
> Shouldn’t this also apply to visionOS?
This should apply to visionOS, yes. [iOS] is a misnomer here and applies to the other embedded platforms too, including visionOS.
> Also unrelated, but will pointer lock work on iPhones? iPhones support mouse
> input if the user enables “AssistiveTouch”, but I am unsure if Safari on
> iPhones recognizes the mouse as touch input or mouse input.
> Obviously with iPads this is not an issue as mouses are supported outside of
> accessibility.
That's a good point, with AssistiveTouch enabled, the mouse interactions are provided to WebKit as touch inputs, so no, it will not work.