You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
Short description of the issue/suggestion:
I am using universalJavaApplicationStub to build and run my application under Mac OS X. This works great, thank you for an awesome software.
I have been running into an issue that seems to be a Java FX bug. It looks like using the Mac OS X system menu in Java FX togehter with -splash option on start of Java VM does not work. You can find a longer description of my problem here.
Steps to reproduce the issue/enhancement:
Create a simple Java FX application with menu bar, set useSystemMenuBar to true and start the application using universalJavaApplicationStub. The SystemMenuBar is not used and supported (as of -splash option used by universalJavaApplicationStub script).
You can find my example code and detailed explanations here.
What is the expected behavior?
When no splash image is provided it would be nice if the -splash option could be suppressed.
What is the current behavior?
The -splash option is always used.
Do you have screenshots, GIFs, demos or samples which demonstrate the problem or enhancement?
See the stackoverflow description and screenshots.
What is the motivation / use case for changing the behavior?
It would be nice to have a workaround for the Java FX bug in case when no splash screen is used.
Please tell us about your environment:
universalJavaApplicationStub version: 3.0.6
Mac OS version: OS X El Capitan (10.11.6)
Java version(s): openjdk version "15" 2020-09-15 OpenJDK Runtime Environment AdoptOpenJDK (build 15+36) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 15+36, mixed mode, sharing)
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
Suppressing the splash option might be done somehow like this:
# create splash option if splash image is availableif [[ -n$JVMSplashFile ]]
then
splashOption="-splash:\"${ResourcesFolder}/${JVMSplashFile}\""else
splashOption=
fi
I have been running into an issue that seems to be a Java FX bug. It looks like using the Mac OS X system menu in Java FX togehter with -splash option on start of Java VM does not work. You can find a longer description of my problem here.
well, that's indeed odd...
And you're right, the splashscreen option shouldn't be passed at any time, regardless of the existence of a splash file...
I'm submitting a…
Short description of the issue/suggestion:
I am using universalJavaApplicationStub to build and run my application under Mac OS X. This works great, thank you for an awesome software.
I have been running into an issue that seems to be a Java FX bug. It looks like using the Mac OS X system menu in Java FX togehter with -splash option on start of Java VM does not work. You can find a longer description of my problem here.
Steps to reproduce the issue/enhancement:
Create a simple Java FX application with menu bar, set useSystemMenuBar to true and start the application using universalJavaApplicationStub. The SystemMenuBar is not used and supported (as of -splash option used by universalJavaApplicationStub script).
You can find my example code and detailed explanations here.
What is the expected behavior?
When no splash image is provided it would be nice if the -splash option could be suppressed.
What is the current behavior?
The -splash option is always used.
Do you have screenshots, GIFs, demos or samples which demonstrate the problem or enhancement?
See the stackoverflow description and screenshots.
What is the motivation / use case for changing the behavior?
It would be nice to have a workaround for the Java FX bug in case when no splash screen is used.
Please tell us about your environment:
OpenJDK Runtime Environment AdoptOpenJDK (build 15+36)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 15+36, mixed mode, sharing)
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
Suppressing the splash option might be done somehow like this:
and
I know the handling of quotes must be reviewed and corrected in order to handle spaces in splash image file name. But to be honest I am not an expert.
And finally, this is my Info.plist file:
The text was updated successfully, but these errors were encountered: