godotengine / godot

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

Windows build doesn't recognize mouse scroll event in ScrollContainer #87968

Open Swift42 opened 7 months ago

Swift42 commented 7 months ago

Tested versions

System information

Windows 11 - Godot 4.2.1.stable

Issue description

If I enable touch emulation in the project settings, the _on_scroll_container_scroll_started() and _on_scroll_container_scroll_ended() are correctly fired when I swipe the element. But when I use the mouse scroll wheel to scroll the element, the element is correctly scrolled, but both events are NOT fired.

Steps to reproduce

See attached project: "Scroll started" and "Scroll ended" is displayed when the element is swiped (via mouse touch emulation), but it is not displayed when the scroll wheel is used.

Minimal reproduction project (MRP)

Test.zip

Sauermann commented 7 months ago

Related to #22936