Bundled App invocation of Splash Screen creates race condition with awt.FileDialog
niagarasoft20-macosxportdev at yahoo.com
niagarasoft20-macosxportdev at yahoo.com
Fri Dec 28 12:38:33 PST 2012
Hello,
I'm facing a problem when launching the awt.FileDialog to load a directory path. The problem is that when the FileDialog presents itself, the UI contents of the FileDialog's file system representation fails to update itself when clicking thru and navigating the directory structure.
After considerable trial and error testing I found that the problem presented itself when invoking the splash screen at bundle launch using the AppBundler generated info.plist key:
<key>JVMOptions</key>
<array>
<string>-splash:$APP_ROOT/Contents/Resources/ns_banner_ppl.jpg</string>
</array>
I have posted the test code as well as two app bundles, one with JVMOptions splash key above present and one without so the behaviors can be easily observed. It can be downloaded and examined here:
http://www.niagarasoftware.com/bug_reports/FileDialogTest.zip
Is this a bug with the OpenJDK distribution or with the launcher code?
Any feedback greatly appreciated.
Regards,
Mike
More information about the macosx-port-dev
mailing list