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

Popup window remains visible after alt+tab from editor in x11 #91450

Open
francoa opened this issue May 2, 2024 · 3 comments · May be fixed by #91455
Open

Popup window remains visible after alt+tab from editor in x11 #91450

francoa opened this issue May 2, 2024 · 3 comments · May be fixed by #91455

Comments

@francoa
Copy link

francoa commented May 2, 2024

Tested versions

  • Reproducible in: 4.3.dev (f91db3d), 4.0.4-stable

System information

Godot v4.3.dev (f91db3d) - Ubuntu 20.04.6 LTS (Focal Fossa) - X11 - GLES3 (Compatibility)

Issue description

When alt-tab from the editor while having an open PopupMenu object, this Window remains visible, overlaying other windows unrelated to the editor. Might be related to #85403?
Before-alt-tab
After-alt-tab

Steps to reproduce

  • Create a new project
  • Add a PointLight2D Node (although any node with a PopupMenu will work)
  • Open the Texture options (also works with the Script options, at the bottom)
  • Alt + Tab to another window that "replaces" the IDE

Minimal reproduction project (MRP)

test-project.zip

@francoa
Copy link
Author

francoa commented May 2, 2024

I have been working on a way to fix this issue. It involves sending a DisplayServerX11::WINDOW_EVENT_CLOSE_REQUEST event to the Focused Popup window whenever a FocusOut event is processed. I'm currently reading the Contribution Guide to follow the appropriate steps for submitting the proposal

@Sauermann
Copy link
Contributor

It looks like #68856 is a potential duplicate.

@AThousandShips
Copy link
Member

Both are probably functionally a duplicate of:

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.

4 participants