-
Bug
-
Resolution: Incomplete
-
P3
-
None
-
8u25
-
Windows 7, Java 1.8u25
I am using a game library that uses JavaFX. The game library creates events for JavaFX via an EmbeddedSceneInterface. I have a Pane that covers the whole screen, and I added an event handler to it that handles Event.ANY and prints it's event type, so it should print EVERY event. From these prints, everything looks fine, i.e. the game library sends every event it should.
But if I then handle every event (Event.ANY) on a Label, it does not get all the MOUSE_DRAGGED events that it should, while I'm keeping my mouse button pressed after clicking on the Label. In particular the Label stops getting MOUSE_DRAGGED events if I move my mouse too fast or too far from the Label. But "...all subsequent mouse events are delivered to the same node until the button is released." says the Javadoc for MouseEvent.
But if I then handle every event (Event.ANY) on a Label, it does not get all the MOUSE_DRAGGED events that it should, while I'm keeping my mouse button pressed after clicking on the Label. In particular the Label stops getting MOUSE_DRAGGED events if I move my mouse too fast or too far from the Label. But "...all subsequent mouse events are delivered to the same node until the button is released." says the Javadoc for MouseEvent.