Bug 63216

Summary: Cannot create a progress view in High Constrast
Product: [Eclipse Project] Platform Reporter: Tod Creasey <Tod_Creasey>
Component: UIAssignee: Andre Weinand <andre_weinand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: Kevin_Haaland
Version: 3.0Keywords: accessibility
Target Milestone: 3.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tod Creasey CLA 2004-05-20 10:50:12 EDT
20040520

If you try and create the progress view with the setting set to High Contrast 
you will get the following exception:

STEPS
1) Go to the Control Panel and select Accessibility options
2) Select use High Contrast
3) Start Eclipse
4) Open the progress viewer.

java.lang.IllegalArgumentException: Argument not valid
	at org.eclipse.swt.SWT.error(SWT.java:2677)
	at org.eclipse.swt.SWT.error(SWT.java:2616)
	at org.eclipse.swt.SWT.error(SWT.java:2587)
	at org.eclipse.swt.graphics.Color.init(Color.java:244)
	at org.eclipse.swt.graphics.Color.<init>(Color.java:78)
	at org.eclipse.ui.internal.progress.NewProgressViewer.<init>
(NewProgressViewer.java:1119)
	at org.eclipse.ui.internal.progress.JobView.createPartControl
(JobView.java:47)
	at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:119)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:608)
	at org.eclipse.core.runtime.Platform.run(Platform.java:758)
	at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:115)
	at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:140)
	at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:281)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:608)
	at org.eclipse.core.runtime.Platform.run(Platform.java:758)
	at org.eclipse.ui.internal.ViewFactory.busyRestoreView
(ViewFactory.java:203)
	at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:459)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
	at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:457)
	at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart
(ViewFactory.java:94)
	at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange
(WorkbenchPage.java:130)
	at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:257)
	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:289)
	at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:567)
	at org.eclipse.ui.internal.presentations.PresentableViewPart.setVisible
(PresentableViewPart.java:114)
	at 
org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectPart
(DefaultPartPresentation.java:854)
	at org.eclipse.ui.internal.PartStack.refreshPresentationSelection
(PartStack.java:919)
	at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:461)
	at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:361)
	at org.eclipse.ui.internal.PartSashContainer.createControl
(PartSashContainer.java:427)
	at org.eclipse.ui.internal.PerspectiveHelper.activate
(PerspectiveHelper.java:156)
	at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:718)
	at org.eclipse.ui.internal.WorkbenchPage.onActivate
(WorkbenchPage.java:1984)
	at org.eclipse.ui.internal.WorkbenchWindow$4.run
(WorkbenchWindow.java:1787)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
	at org.eclipse.ui.internal.WorkbenchWindow.setActivePage
(WorkbenchWindow.java:1774)
	at org.eclipse.ui.internal.WorkbenchWindow.restoreState
(WorkbenchWindow.java:1344)
	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1216)
	at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1183)
	at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1094)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:608)
	at org.eclipse.core.runtime.Platform.run(Platform.java:758)
	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1027)
	at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState
(WorkbenchConfigurer.java:167)
	at org.eclipse.ui.application.WorkbenchAdvisor.openWindows
(WorkbenchAdvisor.java:652)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:817)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1311)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:253)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:97)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:305)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:256)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:127)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:184)
	at org.eclipse.core.launcher.Main.run(Main.java:637)
	at org.eclipse.core.launcher.Main.main(Main.java:621)
Comment 1 Andre Weinand CLA 2004-05-24 13:45:14 EDT
fixed > N20040524
Comment 2 Andre Weinand CLA 2004-05-25 05:43:18 EDT
.