PointerType.TouchScreen and MouseEvent.getButton() BUG

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

PointerType.TouchScreen and MouseEvent.getButton() BUG

Andre
Hi,

When I use one and two fingers via the touchscreen, sometimes after using two fingers, the variable MouseEvent.getButton() increases repeatedly. This makes it impossible to identify the button after it exceeds three, resulting in an ArrayOutOfBounds error. Is this a known issue? Cody, the chatbot for IntelliJ, mentioned that he knows about it, but I haven't found any posts about it yet. When I have time, I'll try to create a simple example.

Thanks.
I am a Robot