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

Touch input not being received by instantiated Windows #77653

Open
Swarkin opened this issue May 30, 2023 · 6 comments
Open

Touch input not being received by instantiated Windows #77653

Swarkin opened this issue May 30, 2023 · 6 comments

Comments

@Swarkin
Copy link
Contributor

Swarkin commented May 30, 2023

Godot version

4.1.dev built from 76860

System information

Steam Deck (Arch Linux)

Issue description

Windows do not receive any touch input and instead the main project window (if directly behind the pop-up window) receives input.
Disabling Emulate Mouse from Touch makes all Touch input not be registered in neither the popup or the main window.

Steps to reproduce

  1. Create and instance a Window.
  2. Try to tap on the newly created window, and see Touch events being received by the main window instead.

Minimal reproduction project

N/A (see steps to reproduce)

@Riteo
Copy link
Contributor

Riteo commented Jun 26, 2023

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
Copy link
Contributor Author

Swarkin commented Jun 26, 2023

@Riteo It prints out x11

@Riteo
Copy link
Contributor

Riteo commented Jun 28, 2023

@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
Copy link
Contributor Author

Swarkin commented Oct 18, 2023

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
Copy link
Contributor Author

Swarkin commented Oct 18, 2023

also confirming on 4.2.beta1

@Swarkin
Copy link
Contributor Author

Swarkin commented Feb 15, 2024

Still an issue in 4.3.dev3.

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

3 participants