onMouseMoved problem i'm having

Pavel Safrata pavel.safrata at oracle.com
Mon Jul 16 00:28:28 PDT 2012


Hello Jose,
this is a bug, even a regression. I've just filed it:

http://javafx-jira.kenai.com/browse/RT-23442

Thanks,
Pavel

On 15.7.2012 5:45, Jose Martinez wrote:
> Hello,
>
> 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
>
> thanks
> jose




More information about the openjfx-dev mailing list