-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
InputEventMouseMotion events are only received in _input(event)
if game window loses and receives focus before
#53894
Comments
@BeayemX Can you reproduce this on 3.3.4 or 3.4 beta6? |
I can confirm this on commit c240275. This prevents editor freelook and panning from working until you unfocus the editor window and focus it again. |
I confirmed with a build from 11/18/21. It's definitely about the game window losing focus and then gaining focus again. |
I didn't see this bug when I originally searched before reporting this same problem; my apologies. Some others tested and it seems to work as is on KDE, while not working without moving the window/refocusing on XFCE. It definitely sounds like that focus problem is the real cause. I have since closed #57294 . This is still present in alpha 1 release of 4.0 and master branch. |
Godot version
v4.0.dev.custom_build [c240275]
System information
Linux Mint - Vulkan API 1.2.131 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1080
Issue description
InputEventMouseMotion
events are not received when starting the game.Other events like keyboard or mouse clicks do work.
The game window must lose and receive the focus again first, before
InputEventMouseMotion
events are received.Steps to reproduce
(Instead of step 6. and 7. it also works to click on the title bar of the game window)
Related issues
Maybe related to #49978 ?
The text was updated successfully, but these errors were encountered: