godotengine / godot

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

Touch input not being received by any Popups #77653

Open Swarkin opened 1 year ago

Swarkin commented 1 year ago

Godot version

tested on: 4.0 4.1 4.2 4.3 master as of october 2024

System information

Steam Deck (Arch Linux) Windows 10 Windows 11

Issue description

Popups and Windows do not receive proper touch input, however it sometimes is possible to cause an UI element to be stuck in the pressed state.

Steps to reproduce

  1. Launch Godot
  2. Open the create new project dialog
  3. Notice that you cant tap on anything, not even window decorations

Minimal reproduction project

N/A (see steps to reproduce)

Riteo commented 1 year ago

IIRC the Steam Deck runs a Wayland compositor, so it may be related to XWayland somehow. Could you check by running echo $XDG_SESSION_TYPE in a shell and telling me the result?

Swarkin commented 1 year ago

@Riteo It prints out x11

Riteo commented 1 year ago

@Swarkin oh all right, nevermind then. It looks like the steam deck indeed uses wayland, but only for direct steam games, using X11 for the desktop mode as you're reporting.

Sorry for the bump; I was looking for unreported XWayland bugs due to the confusion that distros caused by switching to it silently.

Swarkin commented 1 year ago

Similar behavior on Windows 11 where instantiated windows kind of work but it's impossible to click on anything inside them or even close it from the window decorations. Worth noting is that they do receive some kind of input as im able to select things, but not click on buttons for example.

Swarkin commented 1 year ago

also confirming on 4.2.beta1

Swarkin commented 8 months ago

Still an issue in 4.3.dev3.

Swarkin commented 2 months ago

Yup. 4.3.rc1

Swarkin commented 2 weeks ago

Why is this not being tracked, its an issue on both linux and windows still present and preventing the usage of the editor.