This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 385128 - IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP does nothing
Summary: IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP does nothing
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.4 M1   Edit
Assignee: Daniel Rolka CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-15 17:07 EDT by Phil Beauvoir CLA
Modified: 2013-08-07 03:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Beauvoir CLA 2012-07-15 17:07:39 EDT
Eclipse 4.2

In my RCP app's WorkbenchAdvisor#initialize(IWorkbenchConfigurer) method I add:

PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP, false);

In Eclipse 3.7.x this stops the progress bar showing in the splash screen on startup.

On 4.2 this does nothing, the progress bar is shown in the splash screen on startup.
Comment 1 Phil Beauvoir CLA 2013-04-11 08:49:03 EDT
Also, the following entry in plugin_customization.ini does not work:

org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP = false
Comment 2 Phil Beauvoir CLA 2013-04-11 08:51:22 EDT
A workaround is to add the following to the org.eclipse.core.runtime.products extension point in plugin.xml:

<property name="startupMessageRect" value="0,0,0,0"/>
<property name="startupProgressRect" value="0,0,0,0"/>
Comment 4 Daniel Rolka CLA 2013-08-07 03:49:10 EDT
(In reply to comment #0)
> Eclipse 4.2
> 
> In my RCP app's WorkbenchAdvisor#initialize(IWorkbenchConfigurer) method I
> add:
> 
> PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.
> SHOW_PROGRESS_ON_STARTUP, false);
> 
> In Eclipse 3.7.x this stops the progress bar showing in the splash screen on
> startup.
> 
> On 4.2 this does nothing, the progress bar is shown in the splash screen on
> startup.

The WorkbenchAdvisor.initialize method is not the proper place for setting the 'SHOW_PROGRESS_ON_STARTUP' property value since it is after the place where it is checked. It should be rather done in the implementation of the IApplication.start method

Daniel
Comment 5 Daniel Rolka CLA 2013-08-07 03:49:54 EDT
Verified in the build: I20130805-2000