Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting mouse mode to confined causes TextureButton hover to stop working (new -after upgrading to Godot 4.2 from 4.1.1) #85713

Open
Mo32167 opened this issue Dec 3, 2023 · 1 comment · May be fixed by #85872

Comments

@Mo32167
Copy link

Mo32167 commented Dec 3, 2023

Godot version

v4.2.stable.mono.official [46dc277]

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

  1. Make a new project
  2. Make a new scene with TextureButton
  3. Attach a script and set mouse mode to confined
  4. 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

hover_issue.zip

@rsubtil
Copy link
Contributor

rsubtil commented Dec 6, 2023

Bisected to 59c13fe (#80334), cc @Sauermann

@Sauermann Sauermann linked a pull request Dec 6, 2023 that will close this issue
@akien-mga akien-mga added this to the 4.3 milestone Dec 7, 2023
@KoBeWi KoBeWi modified the milestones: 4.3, 4.x Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants