On 7/25/2014 10:06 AM, Prasant J wrote:
On Wed, Jul 23, 2014 at 6:36 PM, Lisa Selle <lisa.se...@oracle.com> wrote:
Hi Prasant,
This looks suspiciously related to
https://javafx-jira.kenai.com/browse/RT-34296. If so, this bug *should* be
fixed in Monocle but it is not (and will not be) fixed in lens.
Thanks Lisa for pointing that out.
First I tried to build the openjfx 8u6 (you pasted a link in another
post) with the patch someone posted in the RT-34296 jira post.
The patch had to be manually applied because it was created from a
different changeset. Anyway, I was able to apply the patch and cross
build successfully. However, only one touch was working. Second touch
is not working (I could not figure out). The single touch is also
sending two events and my application has different behaviour for one
event and two events. So, I abandoned this idea and I;m building the
latest javafx.
I believe you are building openJFX, correct? If you can try a recent build
with the latest Monocle code (if you are building from OpenJFX, monocle is
now the default) the problem should be resolved. Please let us know if
that's not the case.
I was able to build from 8u-dev/rt (tag: 8u20-b23). However my
application is recognizing the touch only on the main window. I have
multi-touch in the pop-up window where even single touch in not
working from some reason.
Whenever I touch to bring up the pop-up window I get the following
error message on console:
Exception in thread "JavaFX Application Thread"
java.lang.InstantiationError:
com.sun.javafx.scene.traversal.TraversalEngine
at
com.sun.javafx.scene.control.skin.ScrollPaneSkin.initialize(ScrollPaneSkin.java:242)
at
com.sun.javafx.scene.control.skin.ScrollPaneSkin.<init>(ScrollPaneSkin.java:130)
at
javafx.scene.control.ScrollPane.createDefaultSkin(ScrollPane.java:579)
at javafx.scene.control.Control.impl_processCSS(Control.java:878)
at javafx.scene.Parent.impl_processCSS(Parent.java:1267)
at javafx.scene.Parent.impl_processCSS(Parent.java:1267)
at javafx.scene.Parent.impl_processCSS(Parent.java:1267)
at javafx.scene.Node.processCSS(Node.java:8858)
at javafx.scene.Node.processCSS(Node.java:8851)
at javafx.scene.Node.processCSS(Node.java:8851)
at javafx.scene.Scene.doCSSPass(Scene.java:525)
at javafx.scene.Scene.access$3400(Scene.java:144)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2358)
at com.sun.javafx.tk.Toolkit.lambda$runPulse$28(Toolkit.java:314)
at com.sun.javafx.tk.Toolkit$$Lambda$354/20040469.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:313)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:340)
at
com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:451)
at
com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:431)
at
com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$363(QuantumToolkit.java:298)
at
com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$71/28758344.run(Unknown
Source)
at
com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:77)
at
com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:47)
at java.lang.Thread.run(Thread.java:745)
Dialog discovered: LayerSetupDialog
To summarize, I have built latest javafx but cannot test my touch.
Any suggestions?
Hi Prasant,
At this point we should open a jira to continue with this work. Can you
please create a jira and include the build information, as well as the
runtime you are using (what platform, what touch screen). If you can
share the application you are using that would be helpful, I'm not sure
what you are referring to by the main window and the popup window. If
not, can you create a simple test case which demonstrates the problem?
Thanks!
Lisa
Regards, Prasant