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

No way to know who handled mouse click #26019

Closed
QbieShay opened this issue Feb 18, 2019 · 5 comments
Closed

No way to know who handled mouse click #26019

QbieShay opened this issue Feb 18, 2019 · 5 comments
Labels

Comments

@QbieShay
Copy link
Contributor

Godot version:
629ac20

Issue description:
When interfaces gets complex, it might happen that something is preventing the mouse click to reach a certain elements (In my case, empty control nodes, see #24083). This makes debugging your interface a blind trial and error process.

Proposal:
@reduz proposed to have a signal on the viewport for when an event is handled, making it possible to debug what is happening to the mouse clicks.

@volzhs
Copy link
Contributor

volzhs commented Feb 18, 2019

isn't this enough for you?
screenshot_20190219_001318

@QbieShay
Copy link
Contributor Author

Uhm, what is that?

@Calinou
Copy link
Member

Calinou commented Feb 18, 2019

@QbieShay The Debugger panel's Misc tab has a Clicked Control field which is updated every time you click a Control in the running project.

@QbieShay
Copy link
Contributor Author

Ooooh amazing, thanks!

@QbieShay
Copy link
Contributor Author

Boop to @Zylann since you had a similar problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants