godotengine / godotengine/godot
No `mouse_{entered,exited}` signal if only the control moves
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Reproduced in 4.2.1.stable. No an regression as it's also reproduciable in older versions.
### System information
Godot v4.2.1.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Sat, 13 Jan 2024 14:37:14 +0000 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Ti (nvidia; 545.29.06) - 13th Gen Intel(R) Core(TM) i5-13400F (16 Threads)
### Issue description
`mouse_entered` and `mouse_exited` can only be triggered by moving the mouse into/out of a Control.
If the Control is moving, these signals won't be emitted if the mouse does not move.
https://github.com/godotengine/godot/assets/372476/5b18ee46-f317-43c0-b526-095d992d9102
### Steps to reproduce
Run the MRP.
### Minimal reproduction project (MRP)
[test-4.zip](https://github.com/godotengine/godot/files/13934747/test-4.zip)
Contributor guide
Assessment
This issue has not been assessed yet.