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

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

Re: Usage of Toolkit firePulse

2015-09-27 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

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

Re: Usage of Toolkit firePulse

2015-09-25 Thread Dr. Michael Paus
x-dev-boun...@openjdk.java.net <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 <mailto:openjfx-dev@openjdk.java.net>

RE: Usage of Toolkit firePulse

2015-09-24 Thread Fisher, Robert
). -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 the mail you

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

Re: Usage of Toolkit firePulse

2015-09-24 Thread Johan Vos
. > > > > Michael > > > -Original Message- > From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf > Of Jonathan Giles > Sent: Donnerstag, 24. September 2015 01:49 > To: openjfx-dev@openjdk.java.net > Subject: Usage of Toolkit firePulse &

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 investigate why

Re: Usage of Toolkit firePulse

2015-09-24 Thread Dr. Michael Paus
- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Jonathan Giles Sent: Donnerstag, 24. September 2015 01:49 To: openjfx-dev@openjdk.java.net Subject: Usage of Toolkit firePulse Hi all, Today I am keen to get your help on understanding use of the Toolkit.getToolkit

RE: Usage of Toolkit firePulse

2015-09-24 Thread Fisher, Robert
; smooth although the > content builds up more slowly. > > Michael -Original Message- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Jonathan Giles Sent: Donnerstag, 24. September 2015 01:49 To: openjfx-dev@openjdk.java.net Subject: Usage of Toolkit

Re: Usage of Toolkit firePulse

2015-09-24 Thread Scott Palmer
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 Paus > Sent: Donnerstag, 24. September 2015 11:07 > To: openjfx-dev@openjdk.

Re: Usage of Toolkit firePulse

2015-09-24 Thread Dr. Michael Paus
ubject: Re: Usage of Toolkit firePulse 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 Jo

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 For some

Re: Usage of Toolkit firePulse

2015-09-24 Thread Kevin Rushforth
:49 To: openjfx-dev@openjdk.java.net Subject: Usage of Toolkit firePulse Hi all, Today I am keen to get your help on understanding use of the Toolkit.getToolkit().firePulse() private API. If you could spare a few minutes to grep your source directory for any usage of 'firePulse', and email me

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 firePulse

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 Fisher

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
ubject: Re: Usage of Toolkit firePulse 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 Jo

Re: Usage of Toolkit firePulse

2015-09-24 Thread Tomas Mikula
internal drawing within the canvas is finished? From >>>>> my observations I think so. >>>>> >>>>> If I submit my drawing calls to the canvas in smaller chunks via >>>>> Platform.runLater calls will these also delay the next pulse or will >>

Re: Usage of Toolkit firePulse

2015-09-24 Thread Dr. Michael Paus
Subject: Re: Usage of Toolkit firePulse 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

Re: Usage of Toolkit firePulse

2015-09-24 Thread Tomas Mikula
;> 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 [mailto:openjfx-dev-boun...@openjdk.java.net] On

Usage of Toolkit firePulse

2015-09-23 Thread Jonathan Giles
Hi all, Today I am keen to get your help on understanding use of the Toolkit.getToolkit().firePulse() private API. If you could spare a few minutes to grep your source directory for any usage of 'firePulse', and email me your findings, that would be really interesting. As a gentle