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

[BUG] Passing of gui input #47

Open
themvl opened this issue Jul 7, 2021 · 0 comments
Open

[BUG] Passing of gui input #47

themvl opened this issue Jul 7, 2021 · 0 comments

Comments

@themvl
Copy link

themvl commented Jul 7, 2021

When you use syndibox the parent nodes dont recieve gui events even if on syndibox mouse_input = MOUSE_FILTER_PASS.
This i figured out is because of the child nodes getting created in the process. So i temporarily solved this issue manually by adding for every child node. node.mouse_filter = MOUSE_FILTER_PASS. Maybe add that the created children have the same mouse_input setting as the syndibox itself?

Steps to reproduce the behavior:

  1. Add a panel container add syndibox as a child.
  2. Set mouse_input on the syndibox to mouse_input.
  3. Create a script on the panel container
  4. add the _gui_input function and let it print something.
  5. Notice that it never gets called

What i expect to happen is that the input gets passed on to its parent control.

Device Info (please complete the following information):

  • Manjaro Linux
  • Godot V3.3.2
  • 1.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant