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

Stylus events doesn't work with Swing on Windows #467

Open
MohamedRejeb opened this issue Oct 6, 2024 · 4 comments
Open

Stylus events doesn't work with Swing on Windows #467

MohamedRejeb opened this issue Oct 6, 2024 · 4 comments

Comments

@MohamedRejeb
Copy link

It looks like linking windows window to stylus breaks pen events for swing. It works fine with openJDK but not JBR.
Try running the swing demo here on windows with openJDK and JBR. You will notice that tablet stylus can't interact with swing components.

https://github.com/lectureStudio/stylus

@mkartashev
Copy link
Collaborator

I'm not sure I understand. Do you mean that the stylus library doesn't work with JBR, but works with OpenJDK? What about platforms other than Windows, does it work there?

@MohamedRejeb
Copy link
Author

Is the issue happening only on Windows?
Yes.

Does the library and the stylus listener work?
Yes it works fine even with JBR.

The problem is with normal swing components and normal swing mouse listener, for some reason it's so hard to click buttons with the pen. It works fine with OpenJDK.
The problem happens only after linking the window to the stylus which is what this library does, Windows is dealing with the stylus differently when it's linked to the window.

@mkartashev
Copy link
Collaborator

It seems that the investigation should start with the library. Have you tried reporting it to their issue tracker?

@vprovodin
Copy link
Collaborator

Thanks for reporting this issue. Please follow the ticket https://youtrack.jetbrains.com/issue/JBR-7716 to track its status

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

No branches or pull requests

3 participants