eclipse-efx / efxclipse-rt

Eclipse Public License 1.0
28 stars 29 forks source link

Increased startup time on OpenJFX 16/17 #448

Open tomsontom opened 2 years ago

tomsontom commented 2 years ago

Originally filed as https://bugs.eclipse.org/bugs/show_bug.cgi?id=579095

Hi, I open this ticket as suggested in this post: https://www.eclipse.org/forums/index.php/t/1110174/

Recap: I notice when running with AdoptOpenJDK 11, on macOS Intel, with OpenJFX 16 or 17, e4 RCP EFX (runtime EFX 3.7.0 + TP 2019-12) app's startup is increased by 2.

Splash screen is hidden sooner than with OpenJFX 15 (or previous versions). When the splash screen disappeared, it is quite long to see the workbench displayed.

Stéphane.

tomsontom commented 1 year ago

I briefly looked into this - we make the splash-screen hide once we get the Stage#onShown - what's interesting is that if I block at this Stage (it does not really matter if I'm on FX-11, 16, 17, 19) the window IS NOT yet visible.

I've added a Platform.runLater() so the information in the e4 system now hopefully is sent out after the window is really shown.