-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Mouse button input events not picked up consistently on macOS. Mono version #55156
Comments
No, as the input handling code is exactly the same between non-Mono and Mono versions. |
Starting project from the editor, from terminal or starting the exported app?
When the bug happens, are window title text and close, minimize and full-screen buttons normal (bright text and colored buttons) or gray? |
I start mine from the terminal, always. It happens both in the editor and in my launched game. 3.4 Mono, macOS Monterey 12.0.1. It's very sporadic. |
I just made some tests (around 30 starts) and I only got the bug when started via Terminal/ VisualStudioCode F5.
But it could be just small test sample.
Yes, I just noticed that when the bug appears these buttons are gray. |
Don't know if related, but when I try to click to focus the Godot editor window on macOS (MacBook Pro M1 Max, Monterey 12.0.1) there's a delay of at least 1 or 2 seconds before it actually gets focused, very annoying. It seems to be dependant on how complex the scene in the window I'm focusing is, with a simple running game I get less delay, but still noticeable if I try to drag the window at the same time. When I alt+tab to set the focused window (instead of clicking) I get less delay, but it's still there. |
|
Ok, either way the issue doesn't appear anymore, or it's quite mitigated. |
Well that's interesting. I always launch godot from a terminal ( |
Oh I'm sorry, I was responding to the original issue, not this alt-tab issue. I'll delete my comments. |
Related to: #54458 (comment)
I am encountering this issue on mac OS Monterey 12.0.1. Godot version is 3.4 stable mono.
Device is mac mini i3 2018, with UHD 630 GPU.
Bug occurs sporadically, 1 out of 10 times when I start the game the bug will occur.
When it occurs, its immediately obvious as my game starting UI elements (buttons) are also affected.
The Bug I would describe most simply as follows:
GLES2/3 options are affected equally, and its not specific to one control type (e.g. Button) but seems to affect all controls equally.
Bug seems to go away after some time (window switching and window minimizing/ maximizing maybe helps).
If I understood correctly, this bug should have been solved in 3.4 but for me its still there. Could it be that only Mono version is still affected ?
P.S EDIT:
I just noticed one curiosity which might help someone.
I have a sort of scenario editor at game beginning, an
ItemList
where one can select one scenarioNamestring
.When starting the game where there is NO bug, the first item in the list is automatically selected/focused.
When starting the game where the bug IS present, the first item in the list is NOT selected/focused.
The text was updated successfully, but these errors were encountered: