godotengine / godot

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

Random UI elements of the editor do not work with touch events #98525

Open ArseniyMirniy opened 1 week ago

ArseniyMirniy commented 1 week ago

Tested versions

Godot 4.3 Stable

System information

Windows 10 x64, Laptop with touchscreen (Win Max 2)

Issue description

image

For example, in Project Launcher we can click on Create button to get this window, but its buttons (Browse, Create and edit, and Cancel) and text field are ignoring touch events completely. Similar things occur in the editor itself (touch clicks are often ignored, multitouch isn't supported at all, etc.)

Steps to reproduce

  1. Try to make a new project with touchscreen on Windows
  2. Get confused

Minimal reproduction project (MRP)

Not required

GNSS-Stylist commented 1 week ago

Probably related: https://github.com/godotengine/godot/issues/91099

Actually with the device mentioned there and quite recent master ( https://github.com/godotengine/godot/commit/61accf060515416da07d913580419fd8c8490f7b ) even the Create-button mostly doesn't work (it worked like once, but never again. I have no idea what I did differently, just couldn't get it working again...). But it's possible to select and open a pre-existing project from the list.

Even stranger: While twiddling with the Project Manager I just noticed that double-tapping anywhere on the area that doesn't respond to touches causes the window to turn completely unresponsive. Even the close&minimize/maximize-buttons freeze. Also dragging the window around is impossible. Switching to another window and back to the Project Manager again ("re-focusing") fixes this.

Probably not relevant regarding this issue, but Godot gives these warnings/errors when starting:

Godot Engine v4.4.dev.custom_build.61accf060 (2024-10-25 18:04:14 UTC) - https://godotengine.org
WARNING: Your video card drivers are known to have low quality OpenGL 3.3 support, switching to ANGLE.
     at: DisplayServerWindows::DisplayServerWindows (platform\windows\display_server_windows.cpp:6322)
ERROR: Can't load EGL dynamic library.
   at: (drivers\egl\egl_manager.cpp:447)
WARNING: Your video card drivers seem not to support GLES3 / ANGLE or ANGLE dynamic libraries (libEGL.dll and libGLESv2.dll) are missing, switching to native OpenGL.
     at: DisplayServerWindows::DisplayServerWindows (platform\windows\display_server_windows.cpp:6342)
OpenGL API 3.3.0 - Build 20.19.15.5058 - Compatibility - Using Device: Intel - Intel(R) HD Graphics 5500