godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.79k stars 21.13k forks source link

[Linux] Popup menus staying open after switching to another window #96410

Open sekomidev opened 2 months ago

sekomidev commented 2 months ago

Tested versions

Reproducible in:

System information

Godot v4.3.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000 - Wayland - Vulkan (Forward+) - integrated Intel(R) HD Graphics 520 (SKL GT2) - Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 Threads)

Issue description

When opening any popup menu, and then opening any other window or minimizing the current one, the menu stays on until you switch to Godot and close it.

Expected behavior: menu gets closed immediately after switching / minimizing.

image image

Steps to reproduce

Minimal reproduction project (MRP)

N/A

Hilderin commented 2 months ago

I reproduced the issue on Ubuntu 23.10 Not able to reproduce on Windows 11

Giganzo commented 2 months ago

Sounds similar too this issue: https://github.com/godotengine/godot/issues/63405

wyattbiker commented 2 months ago

Not able to reproduce on v4.3.stable.official [77dcf97d8]

Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-41-generic (64-bit)
Graphics Platform: X11
Processors: 16 × 12th Gen Intel® Core™ i7-1260P
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
sekomidev commented 2 months ago

I still can replicate the issue with X11, but I use gnome as my desktop environment.