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

Fix physics hover when moving mouse from Control to Control #81291

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sauermann
Copy link
Contributor

@Sauermann Sauermann commented Sep 3, 2023

Previously the case was not considered, that the mouse can be at the same time over a Control node and over a CollisionObject3D.

Make sure that physics mouseover is dropped when moving from a MouseFilterPass-Control-Node to a MouseFilterStop-Control-Node.

resolve #81287
based on #67791 (not cherry-pickable to 4.1)

I tried to do a simple backport of the change to 4.1, but it didn't fix the problem.

Previously the case was not considered, that the mouse can be at the same
time over a `Control` node and over a `CollisionObject3D`.

Make sure that physics mouseover is dropped when moving from a
MouseFilterPass-Control-Node to a MouseFilterStop-Control-Node.
@Sauermann Sauermann added this to the 4.2 milestone Sep 3, 2023
@Sauermann Sauermann requested a review from a team as a code owner September 3, 2023 23:57
@Sauermann Sauermann marked this pull request as draft September 4, 2023 05:42
@Sauermann Sauermann modified the milestones: 4.2, 4.3 Oct 11, 2023
@JohnLamontagne
Copy link

Any idea when this might get fixed - is it looking optimistic that this will be approved & merged for 4.3? I'm experiencing a related bug with input_event on CollisonObject3Ds firing even when input has already been handled by the UI.

@Sauermann Sauermann modified the milestones: 4.3, 4.x Mar 7, 2024
@stokatyan
Copy link

@JohnLamontagne I have opened #87362 which fixes this issue. It works based on the minimum reproducible examples posted on the PR, but it needs more reviews to make sure it doesn't introduce any new issues.

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

Successfully merging this pull request may close these issues.

mouse_entered/mouse_exited signals emitted for physics bodies even when hidden behind GUI overlay.
3 participants