onMouseMoved problem i'm having
jmartine_1026 at yahoo.com
Sat Jul 14 20:45:37 PDT 2012
If I move my mouse on a node a MouseMoved event is triggered. If I then press a button and the mouse is moved then its a MouseDragged event that is triggered. While having the button pressed, if I then press the other button then the MouseDragged event is still triggered. So far so good. But then if I release any of the buttons, either the first one pressed or the second one, then neither MouseDragged nor MouseMoved events are generated any more. If I proceed to press the released button or release the pressed one then the events are generated again.
Is this a bug? It is a causing a problem for me. I have a situation where the primary button is pressed and I then rely on the MouseDragged event. The user could still press (and release) the secondary button but when they do the MouseDragged (and MouseMoved) stop being generated.
I have test code for this if anyone wants to see it. https://s3.amazonaws.com/turretmaster/testing/MouseMoved.java
More information about the openjfx-dev