I updated my project from 4.1.1 to 4.2. I noticed that the TextureButton hover textures stopped appearing. After some experimentation I narrowed it down to occurring after setting mouse mode to confined.
Steps to reproduce
Make a new project
Make a new scene with TextureButton
Attach a script and set mouse mode to confined
Play the scene and moving the cursor over the TextureButton doesn't result in the hover texture
Minimal reproduction project
texture_button.tscn shows the issue with a C# script
texture_buttongd.tscn shows the issue with a GDScript script
Godot version
v4.2.stable.mono.official [46dc27791]
System information
Godot v4.2.stable.mono - Fedora Linux 38 (Thirty Eight) - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 SUPER (nvidia; 545.29.06) - Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 Threads)
Issue description
I updated my project from 4.1.1 to 4.2. I noticed that the TextureButton hover textures stopped appearing. After some experimentation I narrowed it down to occurring after setting mouse mode to confined.
Steps to reproduce
Minimal reproduction project
hover_issue.zip