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

Pen tablet stylus cannot perform left drag input in editor #93951

Closed
alvinhochun opened this issue Jul 4, 2024 · 1 comment · Fixed by #94063
Closed

Pen tablet stylus cannot perform left drag input in editor #93951

alvinhochun opened this issue Jul 4, 2024 · 1 comment · Fixed by #94063

Comments

@alvinhochun
Copy link
Contributor

alvinhochun commented Jul 4, 2024

Tested versions

  • Reproducible in 4.3 dev 1
  • Reproducible in 4.3 dev 2
  • Reproducible in 4.3 dev 3
  • Reproducible in 4.3 dev 4
  • Reproducible in 4.3 dev 5
  • Reproducible in 4.3 dev 6
  • Reproducible in 4.3 beta 1
  • Reproducible in 4.3 beta 2
  • Not reproducible in 4.2.2

Probably regressed by #92424

System information

Godot v4.3.beta2 - Windows 10.0.19045

Issue description

When using a pen tablet (in my case a Wacom Intuos Pen and Touch), the tip no longer works for dragging.

Steps to reproduce

In the editor, try to drag anything, e.g. reorder nodes in the scene tree or select text in the script editor.

Minimal reproduction project (MRP)

N/A

CC @bruvzg

@alvinhochun
Copy link
Contributor Author

alvinhochun commented Jul 6, 2024

Oops sorry, I just realized that #92424 was merged after beta 1, so it is actually not the regressor. I can reproduce it as early as 4.3 dev 1.

I am now guessing this is caused by #84708 enabling winink by default, since changing to wintab or dummy fixes the issue. There may simply be a long-standing issue with the winink support. I did noted in chat that Godot handles WM_POINTERUPDATE but not WM_POINTERDOWN and WM_POINTERUP, which can potentially be very problematic, because since Windows 10 version 1709 (iirc) pen events gets synthesized by DefWindowProc as touch points instead of mouse events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Bad
Development

Successfully merging a pull request may close this issue.

3 participants