godotengine / godot

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

Sliders/scroll bars can't be dragged in native unfocusable windows #95754

Closed gb2dev closed 5 days ago

gb2dev commented 3 months ago

Tested versions

System information

Windows 10 - v4.3.stable.official - Compatibility

Issue description

When you create a Window node with the "Unfocusable" and "Force Native" flags and put a Slider or ScrollContainer with ScrollBar in it, you can click the Slider/ScrollBar once to move it, but you can't drag it around.

Steps to reproduce

Minimal reproduction project (MRP)

scrollbarunfocusable.zip

tetrapod00 commented 3 months ago

Confirmed with the MRP on Windows 10. Seem like there are multiple issues with focus on Windows since 4.3. Possibly related to https://github.com/godotengine/godot/issues/95639 or https://github.com/godotengine/godot/issues/95577.