Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

pen/tablet support broken(?) #24

Closed
ihm-tswow opened this issue Mar 5, 2021 · 7 comments
Closed

pen/tablet support broken(?) #24

ihm-tswow opened this issue Mar 5, 2021 · 7 comments

Comments

@ihm-tswow
Copy link

ihm-tswow commented Mar 5, 2021

Older version of noggit worked with pen/tablets, but doesn't seem to work with this version anymore. Specifically camera dragging is supposedly broken. I'll grab my tablet later and check this out.

@ihm-tswow
Copy link
Author

I can reproduce this, does not work in script version but works in https://github.com/wowdev/noggit3/releases/tag/test-2992

I noticed it also does that input delay thing with unsupported applications, so maybe this is a qt version thing?

@ihm-tswow
Copy link
Author

ihm-tswow commented Mar 6, 2021

confirmed qt version thing (that or I'm lacking somethng), it's still broken if I build the version at https://github.com/wowdev/noggit3/releases/tag/test-2992

@ihm-tswow
Copy link
Author

That release used qt version 5.9, and I'm currently using qt version 5.15

@ihm-tswow
Copy link
Author

@bloerwald do you use a specific qt package for tablet support? I'll try qt5.9 later but I'm really low on disk space atm lol

@bloerwald
Copy link
Collaborator

bloerwald commented Mar 6, 2021

Nope, I am not aware of any requirement on version.

  • 5.9.4 fixes a Wacom bug on macOS
  • 5.10.0 fixes a bug on X11.
  • 5.11.0 fixes Apple Pencil support on iOS
  • 5.12.0 fixes [QTBUG-65199] enterEvent() and leaveEvent() now occur when a hovering drawing tablet stylus enters or leaves a widget. and adds event compression on Windows 8+. I would suspect this is the version that breaks it.
  • 5.12.4 fixes a bug on X11.
  • 5.13.0 fixes a bug on X11.
  • 5.15.0 deprecates QTabletEvent::device(), hiResGlobalXY() and fixes a bug on X11.

You may also have fudged up with "bundling" Qt. Like everything, tablets are a plugin, qt.qpa.input.tablet. It should be provided by platforms/qwindows.dll or platforms/qdirect2d.dll, but you have those in the zip at least, so I wouldn't assume they are missing.

Qt ships examples you can optionally install, which includes a tablet one. You may want to double check whether that example works with the new Qt version before doing the entire 5.9 hassle.

@ihm-tswow
Copy link
Author

Could not get anything to work with 5.15, but with 5.9.9 it works. Might binsearch to find a newest working version, but for now I have no issues with 5.9

@bloerwald
Copy link
Collaborator

wowdev#77

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants