| Summary: | Splash screen doesn't appear on mac when launch from product editor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Curtis d'Entremont <curtispd> | ||||
| Component: | UI | Assignee: | Mike Pawlowski <mike.pawlowski> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | andre_weinand, bokowski, Dominique.Buenzli, janek.lb, pascal, Silenio_Quarti, wassim.melhem | ||||
| Version: | 3.2 | ||||||
| Target Milestone: | 3.3 M1 | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Curtis d'Entremont
Andre, I keep forgetting to ask you this question. When we launch a runtime workbench and we want to show the splash, we launch with -launcher <path_to_eclipse_install> -name Eclipse -showsplash 600 Do we need to do anything different/additional on Mac? Since Silenio has worked in that area recently, I think he is more apt to answer this... Silenio, would you happen to know what's required here to make it work? I think the splash is actually showing, but it is behind other windows. This happens because you are running "<eclipse install>eclipse" instead of the bundle application "<eclipse install>Eclipse.app/Contents/Resources/Splash.app/Contents/MacOS/eclipse". The executable in the root of the eclipse install is just a link to other one, but it is marked as a background only app by the OS, because it is not inside off a UI app bundle. I am not sure you have access, but when the launcher starts the VM by running org.eclipse.core.launcher.Main, it provides the right app to run in order to show the splash screen. Thanks for the info, Silenio. Hello, This is on Eclipse 3.2 RC3 with target made of RCP-SDK and Delta-Pack from the same version on Mac OS X 10.4.6 with java 1.5.0. If I specify a progress bar in "Branding" section of "myapp.product file" and add "IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP, true" in the ApplicationWorkbenchWindowAdivor , everything works well, splash screen is displayed with progress bar if I launch my RCP application directly from Eclipse. However, if I export to a binary, the splash screen isn't displayed at all. This is true with a mac binary and a pc binary exported from a mac plateform. If I remove the progress bar, splash screen is displayed again. Dominique, you may be hitting this problem bug#137008. Please check if your RCP app bundle has the following directory (replace Eclipse as appropriated): Eclipse.app/Contents/Resources/Splash.app/Contents/MacOS that dir should be a link like this ......./Contents/MacOS/MacOS -> ../../../MacOS Thanks. Adding this "folder link" resolved the issue on the mac plateform. But what about the pcwindows export ? This issue should be discussed on bug #137008. Fixed using suggestion from Silenio Quarti (Comment #4). See attached patch #1 Created attachment 41686 [details]
Patch #1
ello, I can confirm that the splash screen with progress bar is working well with Eclipse 3.2 RC4 with an export made from a mac with RCP-SDK RC4 and delta pack RC4 as a target. The exports are working well on a mac and on a pc (windows xp). Thanks for all the work. Thanks Mike, patch released to post32 branch Dominique, thanks for taking the time to verify all the bugs where you ve been involved. *** Bug 106547 has been marked as a duplicate of this bug. *** |