godotengine / godot

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

Popup window is closed by tooltips of other components on X11 #94615

Open Cliear opened 1 month ago

Cliear commented 1 month ago

Tested versions

Godot_v4.3-beta1_linux.x86_64

System information

WSL Version: 2.2.4.0 Kernel Version: 5.15.153.1-2 WSLg Version: 1.0.61 MSRDC Version: 1.2.5326 Direct3D Version: 1.611.1-81528511 DXCore Version: 10.0.26091.1-240325-1447.ge-release Windows Version: 10.0.19045.4651

Issue description

X11 popup window is closed when the mouse hovers over other components with tooltip

Steps to reproduce

tooltip

Minimal reproduction project (MRP)

N/A

Cliear commented 1 month ago

All other platforms are running correctly, except for X11.

Cliear commented 1 month ago

This is linux 4.3 beta3

tooltip_beta3

And this is windows 4.3 beta3 tooltip_windows

By the way, Wayland can run correctly.

Giganzo commented 1 month ago

On 4.2.2 this doesn't happen

akien-mga commented 1 month ago

I can confirm the issue on Fedora 40 KDE Wayland using the X11 display server in multi window mode. It's not reproducible in single window mode or with the Wayland display server (which only supports single window mode).

The issue doesn't happen in 4.3.dev6 and seems reproducible in 4.3.beta1 onwards.

Calinou commented 1 month ago

The issue doesn't happen in 4.3.dev6 and seems reproducible in 4.3.beta1 onwards.

I can reproduce this on 4.3.dev6 personally, but not 4.3.dev5 and earlier on Fedora 40 KDE X11.

I bisected the regression to https://github.com/godotengine/godot/pull/89058. cc @dalexeev

akien-mga commented 1 month ago

Hacking the custom tooltip system is the gift that keeps on giving :)

Cliear commented 1 month ago

It seems that all popup window can be closed by this method any_popup