-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera rotation speed is very slow on Firefox Wayland #624
Comments
That definitely sounds odd. My guess is that it's something to do with pointer lock. Can you try running |
It does. camera_rotation_speed.mp4 |
Looks like an issue with Firefox's pointer lock implementation on Linux -- I think it might be ignoring pointer acceleration. There's not much I can do about that. |
I wasn't aware that IJKL also rotates the camera - could that be mentioned somewhere? I currently don't see it. |
It's mentioned in the Controls section on the README, but I can probably find a better place for it: https://github.com/magcius/noclip.website#controls |
Can confirm that this is still an issue on latest Firefox but also in addition to it being slow, it also resets the camera position weirdly depending on where you click when you start dragging. Applying the above workaround There's a relevant bug in Mozilla's bug tracking here: https://bugzilla.mozilla.org/show_bug.cgi?id=1739598 Is there any way for JavaScript to detect if it's running in Wayland Firefox and apply the workaround automatically? The upstream bug has been open for 3 years with no fix yet. |
There is no way to detect specifically Firefox Wayland unfortunately. I can detect Firefox but I would appreciate if browser developers fixed their bugs :/ |
Just like the title says, when I rotate the camera using the mouse, the rotation speed is extremely slow, especially in WASD mode.
Having a rotation speed setting would probably help.
The rotation with IJKL is fine, unless Shift is held, then it's too fast.
Firefox 120.0.1, Linux
Monitor 2560x1440, 144 Hz (if that matters)
EDIT: Only on Wayland, not on XWayland.
The text was updated successfully, but these errors were encountered: