godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.96k stars 21.08k forks source link

Mouse bug on double click on Window header #36362

Open danilw opened 4 years ago

danilw commented 4 years ago

Godot version: 3.2 (stable)

OS/device including version: Windows OS only (tested on WIn10)

Issue description: Double click on Godot WIndow header make mouse "stuck" (mouse click always activated). Only after double click 2 more times mouse return to its normal state.

Steps to reproduce: In WIn10 launch Goodt 3.2 game and double click Window header.

Minimal reproduction project: I do not have time, and WIndows 10 today to make test-project. I saw this bug when launch my own demo on Win10. this bug happened only in Win10, so its not my mouse-logic problem.

I use very default 3D-Camera logic(this can be copy-pasted to 3d Camera node) Camera.gd src (remove line 102 103)

link to build(exe) launch it and double click header

KoBeWi commented 3 years ago

Still valid in 3.2.4 beta4 Not sure about master, the script is too complex to convert.