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

TreeItem buttons do not function in a SubViewport using the push_input method. #74868

Closed
DAShoe1 opened this issue Mar 13, 2023 · 1 comment · Fixed by #77923
Closed

TreeItem buttons do not function in a SubViewport using the push_input method. #74868

DAShoe1 opened this issue Mar 13, 2023 · 1 comment · Fixed by #77923

Comments

@DAShoe1
Copy link

DAShoe1 commented Mar 13, 2023

Godot version

4.0.stable

System information

Windows 10

Issue description

In my project, we are rendering a GUI to a QuadMesh as an in-game interactive display. We push mouse click events when the player clicks the display. This worked fine during 4.0 beta, but after moving to the stable release the buttons on TreeItems stopped working. I put together a MRP and went back through the versions and it seems the issue started in RC1.

Steps to reproduce

When running the MRP, it has a standard GUI on the left hand side of the screen and a QuadMesh rendered GUI on the right hand side. If you click the + button on an item, it will add another item to the list. On the QuadMesh you will see that you can highlight and collapse items in the list, but the + button does not function. If you run the MRP on 4.0.beta17 everything will function as expected.

Minimal reproduction project

TreeUI_through_SubViewport.zip

@Sauermann
Copy link
Contributor

Bisecting shows, that this got introduced in #71768.

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.

4 participants