Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Specifying Splashscreen location
Specifying Splashscreen location [message #1121381] Mon, 30 September 2013 11:07 Go to next message
Jakob Reichl is currently offline Jakob Reichl
Messages: 2
Registered: September 2013
Junior Member
We have a JavaFX application using a splash screen at startup. The splash screen does not show, however, we see only the application.

The splash screen was specified as folllows :
In the product definition file we specified the plug-in via the Splash-Tab and put afterwards the file splash.bmp into the corresponding plugin. After the application was started the splash screen did not come up.

I looked at the Contacts demo application from e(fx)clipse. There the Splash screen is specified in plugin org.eclipse.fx.demo.contacts.app and this plugin contains file splash.bmp. However the Splash tab specifies org.eclipse.fx.demo.contacts as the location of the plugin. The splash screen comes up, however. The location may have any value, the splash screen still comes up.

Where is the location of the splash screen defined ?
Re: Specifying Splashscreen location [message #1121596 is a reply to message #1121381] Mon, 30 September 2013 15:54 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 4651
Registered: July 2009
Senior Member
The real problem with the splash screen is that it fails JavaFX on OS-X
hence we create our launch configs with -nosplash.

If you export the product you might also note that we don't generate a
launcher-binary but use javafx-packager for it.

I'm currently uncertain if this guy supports a splash but having a
feature request to not forget about it would be appreciated!

If OS-X is not important to you, you can try to remove the -nosplash
maybe this works.

Tom

On 30.09.13 18:59, Jakob Reichl wrote:
> We have a JavaFX application using a splash screen at startup. The
> splash screen does not show, however, we see only the application.
>
> The splash screen was specified as folllows :
> In the product definition file we specified the plug-in via the
> Splash-Tab and put afterwards the file splash.bmp into the corresponding
> plugin. After the application was started the splash screen did not come
> up.
>
> I looked at the Contacts demo application from e(fx)clipse. There the
> Splash screen is specified in plugin org.eclipse.fx.demo.contacts.app
> and this plugin contains file splash.bmp. However the Splash tab
> specifies org.eclipse.fx.demo.contacts as the location of the plugin.
> The splash screen comes up, however. The location may have any value,
> the splash screen still comes up.
>
> Where is the location of the splash screen defined ?
Re: Specifying Splashscreen location [message #1122058 is a reply to message #1121596] Tue, 01 October 2013 03:31 Go to previous messageGo to next message
Jakob Reichl is currently offline Jakob Reichl
Messages: 2
Registered: September 2013
Junior Member
Thanks for the quick response.

In our application we have no -nosplash option (at least I could not find it).

I also searched for the -nosplash option in the contacts-demo of e(fx)clipse and could not find it. The contacts-demo shows a splash-screen. However, the splash screen does not disappear after the application has started.

Jakob
Re: Specifying Splashscreen location [message #1122081 is a reply to message #1122058] Tue, 01 October 2013 04:02 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 4651
Registered: July 2009
Senior Member
Hi,

I'm uncertain if I should look into getting the splash working correct
or find a general solution which works on all OSes.

At least file a bug that the splash is not closed. I'm simply missing a
call to inform equinox to close it.

Tom

On 01.10.13 09:31, Jakob Reichl wrote:
> Thanks for the quick response.
>
> In our application we have no -nosplash option (at least I could not
> find it).
>
> I also searched for the -nosplash option in the contacts-demo of
> e(fx)clipse and could not find it. The contacts-demo shows a
> splash-screen. However, the splash screen does not disappear after the
> application has started.
>
> Jakob
Re: Specifying Splashscreen location [message #1122248 is a reply to message #1122081] Tue, 01 October 2013 07:20 Go to previous messageGo to next message
Uwe San is currently offline Uwe San
Messages: 28
Registered: January 2012
Junior Member
The Bugzilla entry is here.

What is still unclear to me: what consequences does the specification of the plug-in location in the product have? It seems to be unrelated to the location of the splash.bmp, as Jakob wrote. The splash.bmp needs to be located right next to the Application.e4xmi, otherwise there's no splash screen during start-up.

I remember the splash screen worked in an previous product we defined that was based on an older codebase of e(fx)clipse. Has anything about the splash screen mechanism changed recently?

Thanks,
Uwe
Re: Specifying Splashscreen location [message #1122271 is a reply to message #1122248] Tue, 01 October 2013 07:41 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 4651
Registered: July 2009
Senior Member
I frankly have no idea beside and we never dealt with the splash
ourselves so maybe it has something to do with the platform update?

IIRC in SWT there are in fact 2 splashes:
a) the one shown by the native launcher
b) the one presented later on by an SWT-Shell once SWT is brought up

What we'd really need is
http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference.htm#CACDIDFE
which is currently only supported for webstart!

Tom

On 01.10.13 13:20, Uwe San wrote:
> The Bugzilla entry is https://bugs.eclipse.org/bugs/show_bug.cgi?id=418399.
>
> What is still unclear to me: what consequences does the specification of
> the plug-in location in the product have? It seems to be unrelated to
> the location of the splash.bmp, as Jakob wrote. The splash.bmp needs to
> be located right next to the Application.e4xmi, otherwise there's no
> splash screen during start-up.
> I remember the splash screen worked in an previous product we defined
> that was based on an older codebase of e(fx)clipse. Has anything about
> the splash screen mechanism changed recently?
>
> Thanks,
> Uwe
Previous Topic:Maven build fails
Next Topic:Tutorial 1 fails on Ant Build and is very slow
Goto Forum:
  


Current Time: Mon Oct 07 15:09:04 EDT 2013

Powered by FUDForum. Page generated in 0.01833 seconds