hg: openjfx/8/graphics/rt: [RT-34191] Lens: [touch] wrong logic for drag starting outside a window

hang.vo at oracle.com hang.vo at oracle.com
Thu Nov 14 03:17:04 PST 2013

Changeset: 45d8a3cde4ec
Author:    Assaf Yavani
Date:      2013-11-14 13:12 +0200
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/45d8a3cde4ec

[RT-34191] Lens: [touch] wrong logic for drag starting outside a window
Summary: a fix to RT-33771 has a wrong assumption into it, although its working well its behave differently from mouse.
Logic should be changed that a drag event starting outside the window should be ignored, touch-wise. (the enter/exist is handled by the mouse logic)
This patch include:
1) the logic issue described above
2) native mouse drag detection was relaying on an obsolete variable

Fixing item 2 also solved RT-34137

Unit tests were also updated to reflect the change of logic

Tested with:  helloworld.HelloSanity, BrickBreaker, FXML-LoginDemo, Calculator and LinuxInputTest

Reviewed by: ddhill

! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.c

More information about the openjfx-dev mailing list