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

higher level CanvasLayers do not block input from lower layers when using WindowDialogs popups #50678

Open
solorvox opened this issue Jul 21, 2021 · 2 comments

Comments

@solorvox
Copy link

Godot version

3.3.2.stable.official

System information

Linux Mint 20.1 64bit

Issue description

Higher level CanvasLayers do not prevent lower CanvasLayers from receiving input with mouse_filter set to stop. Being a higher drawn level, it should block any input (focus and click events) from getting sent to lower layers.

Steps to reproduce

Using attached project, click play. Click any button and a the top layer (canvas layer 100) ColorRect becomes visible. It has mouse_filter set to stop. Note you can still interact with lower layer (1) canvas buttons and click them.

Minimal reproduction project

canvas-layer-bug.zip

@Calinou
Copy link
Member

Calinou commented Jul 21, 2021

See also #36891 and #45400. Can you check if either of those issues are duplicates?

@solorvox
Copy link
Author

I saw those two, but don't think they are the same issue. I think my case has to do with WindowDialog moving child index when popup is called? Not 100% sure.

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

No branches or pull requests

2 participants