Problems with multiple WebView
Matthieu BROUILLARD
matthieu at brouillard.fr
Thu May 19 13:17:38 UTC 2016
Done under : JI-9037986.
Thanks for the support.
On Thu, May 19, 2016 at 2:27 PM, Guru Hb <guru.hb at oracle.com> wrote:
> Hi Matthieu Brouillard,
>
> Please file a bug at http://bugreport.java.com/bugreport/
> <http://bugreport.java.com/bugreport/> along with JDK/JRE version and on
> which platform Windows / Linux / OS X details.
>
> Instructions :
> https://wiki.openjdk.java.net/display/OpenJFX/Submitting+a+Bug+Report
> Thanks,
> Guru
>
> On 19/5/16 2:55 PM, Matthieu BROUILLARD wrote:
>
> Hi all,
>
> Inside our application we are integrating web applications using JavaFX
> WebViews.
>
> We are facing issues when opening several webviews on the same URLs (even
> with different parameters).
> The states reported to listeners registered using
>
> *view.getEngine().getLoadWorker().stateProperty().addListener(...)*
>
> become totally incoherent.
>
> I have created a simple reproducer test class to demo the issue<https://gist.github.com/AWXGX/1ee902256169c612d97f0722b79f47c6#file-multiplewebviewbug-java> <https://gist.github.com/AWXGX/1ee902256169c612d97f0722b79f47c6#file-multiplewebviewbug-java>
> (1).
>
> The gist contains also different executions results in the 3 tested 'modes':
> - multiple views opening the exact same URL
> - multiple views opening the same URL with different parameters (html app
> scenario)
> - multiple views opening different URLs
>
> Only the later is working correctly.
>
> Did someone already faced that?
> I have not found bugs (or only closed ones JDK-8094208, JDK-8129398)
> related to that, shall I open one?
>
> (1):https://gist.github.com/AWXGX/1ee902256169c612d97f0722b79f47c6#file-multiplewebviewbug-java
>
>
>
More information about the openjfx-dev
mailing list