Pointer Lock API has incorrect cursor speed
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: joshas, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Steps to reproduce:
Open this example https://mdn.github.io/dom-examples/pointer-lock/ and click inside black rectangle to capture cursor.
Actual results:
When moving mouse, circle moves way slower than it should be moving.
Expected results:
Circle should be moving at the same speed as mouse cursor when it is not captured. Opening same example in GNOME Web (Epiphany) browser, results in correct experience, where circle is moving at the same speed as the mouse cursor. Similar issues occur in 3D Unity games on the web, but usually after cursor is captured whole view spins too fast and it is impossible to control camera, while when cursor is not captured camera moves more or less correctly. Fedora 41, GNOME, Wayland.
Comment 1•2 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::WebRTC: Audio/Video' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 days ago
|
Updated•2 days ago
|
Comment 2•2 days ago
|
||
I'm on Fedora 40, with Wayland. I'll update and try to reproduce tomorrow.
Description
•