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

Physics Mouse Picking happens in SubViewport even with MOUSE_FILTER_IGNORE #79441

Closed
Sauermann opened this issue Jul 13, 2023 · 0 comments · Fixed by #79443
Closed

Physics Mouse Picking happens in SubViewport even with MOUSE_FILTER_IGNORE #79441

Sauermann opened this issue Jul 13, 2023 · 0 comments · Fixed by #79443

Comments

@Sauermann
Copy link
Contributor

Sauermann commented Jul 13, 2023

Godot version

v4.2.dev.custom_build [60f3b79]

System information

Debian Linux X11 Xfce

Issue description

Physics Picking within a SubViewport happens with InputEventMouse even when mouse events are disabled via SubViewportContainer.mouse_filter = Control.MOUSE_FILTER_IGNORE

The problem is that passive hovering still happens in the SubViewport with SubViewportContainer.mouse_filter = Control.MOUSE_FILTER_IGNORE.

I assume that it is a regression from #78017.

This was initially reported as a side-effect in #79271, which got closed, because the main issue was resolved.

Steps to reproduce

  1. Load and run MRP
  2. move mouse over Icon

I would expect, that the Area2D receives no InputEventMouse, however it gets _input_event and also mouse-entered and mouse-exited signals.

Minimal reproduction project

IgnorePassiveHover.zip

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.

1 participant