Re: discussion about touch events

2013-11-13 Thread Richard Bair
All the things you can style from CSS resolve to properties in the code, so in any case there would be a property in code, it is just a question of whether you also want to be able to set the value from CSS. > On Nov 13, 2013, at 10:31 PM, Anthony Petrov > wrote: > > I'm not sure if CSS is th

hg: openjfx/8/graphics/rt: Fix RT-32793: Rendering regression in setBlendMode

2013-11-13 Thread hang . vo
Changeset: 0940705ce7f4 Author:flar Date: 2013-11-13 15:39 -0800 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/0940705ce7f4 Fix RT-32793: Rendering regression in setBlendMode Reviewed by: kcr ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java ! module

Re: JavaFX on iOS and Android: The real problem and challenge

2013-11-13 Thread Florian Brunner
Hi Niklas, For me as an application developer, if I have a bunch of jars of which I know they compile with a yet-to-be-defined JavaFX compact profile, then I'd like to be able to reuse those libraries on all devices supporting that compact profile. If a new Java SE version gets released, the ne

Review Request: RT-32444 JavaFX 3D Lights

2013-11-13 Thread Thor Johannesson
Hello OpenJFX Community. Please review the fix for the issue: https://javafx-jira.kenai.com/browse/RT-32444 Details are available in the bug report. -Thor

Re: discussion about touch events

2013-11-13 Thread Anthony Petrov
I'm not sure if CSS is the best place to tag nodes with this attribute. CSS is supposed to describe styles (i.e. the way a node is represented on the screen, "the look"), while extending the capture zone doesn't affect the visual representation of a node, but instead is related to events handli

Re: discussion about touch events

2013-11-13 Thread Daniel Blaukopf
Hi Seeon, Summarizing our face to face talk today: I see that the case described by Pavel is indeed a problem and agree with you that not every node needs to be a participant in the competition for which grabs touch input. However I’m not keen on the idea of changing behavior based on which no

review - import change in FXMLLoader

2013-11-13 Thread David Hill
webrev: http://cr.openjdk.java.net/~ddhill/RT-33392/ jira: https://javafx-jira.kenai.com/browse/RT-33392 While examining the output from jdeps, I noticed an oddity regarding a missing dependency javafx.fxml.ParseTraceElement which was in error anyway, as the ParseTraceElement should be from:

JMX

2013-11-13 Thread Sven Reimers
Hi guys, shouldn't the MXBeans be registered by default, if they are available? At the moment I have to add javafx-mx.jar to the classpath and then say MXExtension.initializeIfAvailable(); Shall I file an issue? -Sven -- Sven Reimers * Senior Expert Software Architect * NetBeans Dream Team

hg: openjfx/8/graphics/rt: RT-34231: FX3D doesn't work with DirectX debug runtime

2013-11-13 Thread hang . vo
Changeset: 51df0f4050ad Author:vadim Date: 2013-11-13 20:52 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/51df0f4050ad RT-34231: FX3D doesn't work with DirectX debug runtime Reviewed-by: kcr, ckyang ! modules/graphics/src/main/native-prism-d3d/D3DMesh.cc

Re: enterNestedEventLoop as public API?

2013-11-13 Thread Anthony Petrov
Thanks. -- best regards, Anthony On 11/13/2013 08:51 PM, John Hendrikx wrote: Hi Anthony, I just filed https://javafx-jira.kenai.com/browse/RT-34268 for this. --John On 13/11/2013 17:42, Anthony Petrov wrote: Hi John, Please file an RFE to introduce this public API. -- best regards, Antho

Re: enterNestedEventLoop as public API?

2013-11-13 Thread John Hendrikx
Hi Anthony, I just filed https://javafx-jira.kenai.com/browse/RT-34268 for this. --John On 13/11/2013 17:42, Anthony Petrov wrote: Hi John, Please file an RFE to introduce this public API. -- best regards, Anthony On 11/13/2013 08:35 PM, John Hendrikx wrote: On 13/11/2013 16:35, Stephen F

Re: enterNestedEventLoop as public API?

2013-11-13 Thread John Hendrikx
On 13/11/2013 17:27, Tom Schindl wrote: Currently the API requires to pass the same object to enter and exit how would your code work with multiple nested event loops? Tom Dialog d = new Dialog() { public void onClose() { Platform.exitNestedEventLoop(d, null); } } Platform.enterNe

Re: enterNestedEventLoop as public API?

2013-11-13 Thread John Hendrikx
On 13/11/2013 16:35, Stephen F Northover wrote: What is the difference? Dialog d = new Dialog() { public void onClose() { Platform.exitNestedEventLoop(); } } Platform.enterNestedEventLoop(); I find the current API to work well, it is just in the wrong package tree :) Considering I

Re: enterNestedEventLoop as public API?

2013-11-13 Thread Anthony Petrov
Hi John, Please file an RFE to introduce this public API. -- best regards, Anthony On 11/13/2013 08:35 PM, John Hendrikx wrote: On 13/11/2013 16:35, Stephen F Northover wrote: What is the difference? Dialog d = new Dialog() { public void onClose() { Platform.exitNestedEventLoop();

Re: enterNestedEventLoop as public API?

2013-11-13 Thread Tom Schindl
Currently the API requires to pass the same object to enter and exit how would your code work with multiple nested event loops? Tom Von meinem iPhone gesendet > Am 13.11.2013 um 16:35 schrieb Stephen F Northover > : > > What is the difference? > > Dialog d = new Dialog() { > public void on

Re: enterNestedEventLoop as public API?

2013-11-13 Thread Stephen F Northover
What is the difference? Dialog d = new Dialog() { public void onClose() { Platform.exitNestedEventLoop(); } } Platform.enterNestedEventLoop(); Steve On 2013-11-13 5:28 AM, Tom Schindl wrote: What bothers me with the API as it is today is that I have call enter/exit, I would find i

Re: Build fail: unresolved external symbol mainCRTStartup

2013-11-13 Thread Stephen F Northover
Ok, you can't say that and not tell us what the problem was! Steve On 2013-11-13 9:55 AM, Leonid Popov wrote: Finally managed to build it with JDK 1.8-ea build 114 64 bit. On 11/12/2013 6:00 PM, Leonid Popov wrote: Thanks Kevin, but unfortunately it didn't help. Even having it cleaned complet

hg: openjfx/8/graphics/rt: 2 new changesets

2013-11-13 Thread hang . vo
Changeset: be453268f7f8 Author:peterz Date: 2013-11-13 18:59 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/be453268f7f8 iRT-34119 WebView: twkGetInsertPositionOffset could be changed ! modules/web/src/main/native/Source/WebCore/platform/java/WebPage.cpp Changeset

Re: Build fail: unresolved external symbol mainCRTStartup

2013-11-13 Thread Leonid Popov
Finally managed to build it with JDK 1.8-ea build 114 64 bit. On 11/12/2013 6:00 PM, Leonid Popov wrote: Thanks Kevin, but unfortunately it didn't help. Even having it cleaned completely, the build script still generates 32-bit YarrInterpreter.obj and then fails to link it to a 64-bit library.

[8] Review request for RT-32436 Gtk: OpenGL with JavaFX causes Gthread error and halts

2013-11-13 Thread Alexander Zvegintsev
Hello, Please review fix for https://javafx-jira.kenai.com/browse/RT-32436 -- Thanks, Alexander.

Re: Button and TouchEvents

2013-11-13 Thread Sebastian Rheinnecker
Hello, yes, the synthesized events worked just fine. I was just surprised that the button didn't work on touches when I prevented mouse events from reaching the button. I actually had to look up the code to understand why this effects touch events and I just wanted to make sure that this is i

RE: discussion about touch events

2013-11-13 Thread Seeon Birger
Hi Pavel, Your example of 'child over child' is an interesting case which raises some design aspects of the desired picking algorithm: 1. Which node to pick when one node has a 'strict containership' over the touch center and the other node only has a fuzzy containership (the position falls in

Re: enterNestedEventLoop as public API?

2013-11-13 Thread Tom Schindl
What bothers me with the API as it is today is that I have call enter/exit, I would find it more easy to work with an API like: ---8<--- WaitCondition c = new WaitCondition(); Dialog d = new Dialog() { public void onClose() { c.release(); } } Platform.spinNestedEventLoop(c); --

Re: enterNestedEventLoop as public API?

2013-11-13 Thread Artem Ananiev
I also think it's a good request for public API. In AWT/Swing, people had been using ugly workarounds with modal dialogs just to enter a nested event loop, until public java.awt API was finally provided: http://docs.oracle.com/javase/7/docs/api/java/awt/SecondaryLoop.html http://docs.oracle.

hg: openjfx/8/graphics/rt: RT-34162: [macosx] Regression in Input Method panel positioning

2013-11-13 Thread hang . vo
Changeset: 84f914be6ad1 Author:Petr Pchelko Date: 2013-11-13 12:06 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/84f914be6ad1 RT-34162: [macosx] Regression in Input Method panel positioning Reviewed-by: anthony, leif ! modules/graphics/src/main/native-glass/mac/G