Re: Usage of Toolkit firePulse

2015-10-06 Thread Benjamin Gudehus
Hi Ryan, I've created an issue for that. https://github.com/TestFX/TestFX/issues/231 Will try you example out. --Benjamin On Tue, Sep 29, 2015 at 2:58 AM, Ryan Jaeb wrote: > Hi Benjamin, > > Yes, it's a NoNodesFoundException using TestFX 3.1.2. > > As far as I know, using firePulse() is the o

Re: Usage of Toolkit firePulse

2015-09-28 Thread Ryan Jaeb
Hi Benjamin, Yes, it's a NoNodesFoundException using TestFX 3.1.2. As far as I know, using firePulse() is the only way to guarantee all previous model changes are rendered in the scene. I've created an example to show what I mean: https://gist.github.com/ryanjaeb/74685a002e2b402e7fac It's a sm

Re: Usage of Toolkit firePulse

2015-09-26 Thread Benjamin Gudehus
Hi Ryan! >Otherwise the drag(...) command will throw an exception because it can't find the node for "list-item-name" (it doesn't exist yet). Well, this is very interesting. This must be a NoNodesFoundException in TestFX 3. >I don't actually needto call firePulse(). I just need a way to know th

Re: Usage of Toolkit firePulse

2015-09-26 Thread Jonathan Giles
On 24/09/2015 9:06 p.m., Dr. Michael Paus wrote: Hi, I wasn't aware of this Toolkit method when I wrote the mail you are referring to. Can you or anybody else explain what this method exactly does. It sounds indeed as if I could solve some problems with it although I am not sure yet and of cou

Re: Usage of Toolkit firePulse

2015-09-25 Thread Dr. Michael Paus
] On Behalf Of Dr. Michael Paus Sent: Donnerstag, 24. September 2015 11:07 To: openjfx-dev@openjdk.java.net <mailto:openjfx-dev@openjdk.java.net> Subject: Re: Usage of Toolkit firePulse Hi,

Re: Usage of Toolkit firePulse

2015-09-25 Thread Dr. Michael Paus
java.net>] On Behalf Of Dr. Michael Paus Sent: Donnerstag, 24. September 2015 11:07 To: openjfx-dev@openjdk.java.net <mailto:openjfx-dev@openjdk.java.net> Subject: Re: Usage of Toolkit firePulse

Re: Usage of Toolkit firePulse

2015-09-24 Thread Tomas Mikula
thod until this >>>> morning (and I couldn't have used it anyway since it's not public API). >>>> >>>> -Original Message- >>>> From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On >>>> Behalf Of Dr. Michael Pa

Re: Usage of Toolkit firePulse

2015-09-24 Thread Dr. Michael Paus
ning (and I couldn't have used it anyway since it's not public API). -Original Message- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Dr. Michael Paus Sent: Donnerstag, 24. September 2015 11:07 To: openjfx-dev@openjdk.java.net Subject: Re: Usage

Re: Usage of Toolkit firePulse

2015-09-24 Thread Tomas Mikula
e >>> 5. Etc.. >>> >>> But I was actually also unaware of this firePulse method until this >>> morning (and I couldn't have used it anyway since it's not public API). >>> >>> -----Original Message----- >>> From: openjfx-dev [mail

Re: Usage of Toolkit firePulse

2015-09-24 Thread Kevin Rushforth
This is basically how we use it for our unit tests, and is so far the only use case I've see where the existing semantics are useful. Given that unit tests still need to dip into non-public API to test various non-public API, force layout, force a pulse, use glass Robot, etc., we wouldn't make

Re: Usage of Toolkit firePulse

2015-09-24 Thread Kevin Rushforth
(and I couldn't have used it anyway since it's not public API). -Original Message- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Dr. Michael Paus Sent: Donnerstag, 24. September 2015 11:07 To: openjfx-dev@openjdk.java.net Subject: Re: Usage of Toolkit

RE: Usage of Toolkit firePulse

2015-09-24 Thread Fisher, Robert
Ok. Thanks for the info. From: Kevin Rushforth [mailto:kevin.rushfo...@oracle.com] Sent: Donnerstag, 24. September 2015 17:12 To: Fisher, Robert Cc: Dr. Michael Paus; openjfx-dev@openjdk.java.net Subject: Re: Usage of Toolkit firePulse This wouldn't do what you expect. :) -- Kevin F

Re: Usage of Toolkit firePulse

2015-09-24 Thread Kevin Rushforth
rning (and I couldn't have used it anyway since it's not public API). -Original Message- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Dr. Michael Paus Sent: Donnerstag, 24. September 2015 11:07 To: openjfx-dev@openjdk.java.net Subject: Re: Usage of To

Re: Usage of Toolkit firePulse

2015-09-24 Thread Kevin Rushforth
The problem with fireaPulse is that its semantics are somewhat ill-defined. It doesn't really run a full pulse, rather it just calls the various pulse listeners. So any animation will not be run and no rendering will be done (although any updates to the scene graph would trigger a future full p

Re: Usage of Toolkit firePulse

2015-09-24 Thread Dr. Michael Paus
(and I couldn't have used it anyway since it's not public API). -Original Message- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Dr. Michael Paus Sent: Donnerstag, 24. September 2015 11:07 To: openjfx-dev@openjdk.java.net Subject: Re: Usage of Toolkit

RE: Usage of Toolkit firePulse

2015-09-24 Thread Fisher, Robert
Thanks, that's an interesting point. I'll look into it. -Original Message- From: Scott Palmer [mailto:swpal...@gmail.com] Sent: Donnerstag, 24. September 2015 15:13 To: Fisher, Robert Cc: Dr. Michael Paus; openjfx-dev@openjdk.java.net Subject: Re: Usage of Toolkit firePulse F

Re: Usage of Toolkit firePulse

2015-09-24 Thread Scott Palmer
;t have used it anyway since it's not public API). > > -Original Message- > From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of > Dr. Michael Paus > Sent: Donnerstag, 24. September 2015 11:07 > To: openjfx-dev@openjdk.java.net > Subject: Re

Re: Usage of Toolkit firePulse

2015-09-24 Thread Ryan Jaeb
I use firePulse() in GUI test code. I'm using TestFX (v3) for testing. Is there a way to ensure model updates are reflected in the scene without using firePulse()? Consider something like this: ... // TestFX starts us on the main thread. Maybe I'm using it wrong? CountDownLatch latch = new Co

RE: Usage of Toolkit firePulse

2015-09-24 Thread Fisher, Robert
public API). -Original Message- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Dr. Michael Paus Sent: Donnerstag, 24. September 2015 11:07 To: openjfx-dev@openjdk.java.net Subject: Re: Usage of Toolkit firePulse Hi, I wasn't aware of this Toolkit method when I wrote t

Re: Usage of Toolkit firePulse

2015-09-24 Thread Dr. Michael Paus
Hi, I wasn't aware of this Toolkit method when I wrote the mail you are referring to. Can you or anybody else explain what this method exactly does. It sounds indeed as if I could solve some problems with it although I am not sure yet and of course only if Jonathan does not block it in the futu

RE: Usage of Toolkit firePulse

2015-09-24 Thread Fisher, Robert
...@oracle.com; openjfx-dev@openjdk.java.net Subject: Re: Usage of Toolkit firePulse I have to admit I use firePulse() occasionally but only when for some reasons a pulse isn't triggered while I expected it. That is a very bad usecase for having this as an API, as I would rather have to investigat

Re: Usage of Toolkit firePulse

2015-09-24 Thread Johan Vos
I have to admit I use firePulse() occasionally but only when for some reasons a pulse isn't triggered while I expected it. That is a very bad usecase for having this as an API, as I would rather have to investigate why changes to the scenegraph don't result in a pulse. If firePulse() is a public A

RE: Usage of Toolkit firePulse

2015-09-24 Thread Fisher, Robert
I think it would be great to have in the public API. It looks like it would allow you to spread large UI updates out over several pulses in a well-defined way. See also this post from a month or so ago: > Hi, > I want to do some performance tuning of a JavaFX application of mine but > before >