Changeset: fbb8a4ffac02 Author: Assaf Yavani Date: 2013-11-03 15:41 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/fbb8a4ffac02
[RT-33771] Lens:FXML-LoginDemo throws java.lang.RuntimeException: Platform reported wrong touch point ID Summary: This was caused when touch sequence was started outside a window, the press notifications are lost, as there is no window to sent the notifications to, and when the touch event go over a window the first touch event its get is MOVE|STILL|RELEASE without a press, resulting in the exception been thrown Fixed by adding the following roles when a touch event is first needed to be sent to a window: 1)convert MOVE | STILL > PRESSED 2)RELEASE -> discard 3)PRESSED -> do nothing Tested-by: Tested with: HelloSanity, HelloDragAndDrop, LinuxInputTests (added new test - DragTouchInAndOutAwindow) Reviewed-by: dblaukop ddhill ! modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c ! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.c