You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When normally entering the game with the mouse, the NOTIFICATION_WM_MOUSE_ENTER notification is emitted. But when a file is dragged into the game nothing happens. This issue is present in both Godot 3.3 and Godot 4.0-dev.
2021-09-28.13-07-34.mp4
.
Steps to reproduce
Create a Node with a script including this code (3.3):
func _notification(what):
if what == MainLoop.NOTIFICATION_WM_MOUSE_ENTER:
print("Emitted")
Try to drag a file into the game window, "Emitted" is not printed.
The text was updated successfully, but these errors were encountered:
Schweini07
changed the title
NOTIFICATION_WM_MOUSE_ENTER doesn't emit when file is dragged in to game
NOTIFICATION_WM_MOUSE_ENTER doesn't emit when file is dragged into game
Sep 28, 2021
KoBeWi
changed the title
NOTIFICATION_WM_MOUSE_ENTER doesn't emit when file is dragged into game
NOTIFICATION_WM_MOUSE_ENTER doesn't emit when mouse button is being pressed
Sep 28, 2021
No one can correct this mistake, since no one wants to delve into the problem and does not consider it a problem. Nevertheless, this is a problem :) and this problem leads to unpredictable behavior of your game :)
This problem is solved by the logical layer that I attached in the adjacent branch, but it is not as effective as if it was solved natively, although it works correctly as you expect. #20881 (comment)
Godot version
3.3 Stable, v4.0.dev.custom_build [916c37d]
System information
Manjaro Linux
Issue description
When normally entering the game with the mouse, the NOTIFICATION_WM_MOUSE_ENTER notification is emitted. But when a file is dragged into the game nothing happens. This issue is present in both Godot 3.3 and Godot 4.0-dev.
2021-09-28.13-07-34.mp4
.
Steps to reproduce
Minimal reproduction project
Test.zip
The text was updated successfully, but these errors were encountered: