Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 68533

Summary: backgroundcolor of errors in wizarddialogs [code manipulation]
Product: [Eclipse Project] Platform Reporter: Christian Köstlin <christian.koestlin>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Christian Köstlin CLA 2004-06-24 15:18:26 EDT
the backgroundcolor of the errormessages in wizard-dialogs is grey.
im not sure if this is by intention. the jdt-classes request a system dependent
error backgroundcolor from JFaceColors and get the default background widget
color in a win32 environment.
Comment 1 Martin Aeschlimann CLA 2004-06-25 11:28:23 EDT
where did you see this in our code? That's platform-UI, no?
Comment 2 Christian Köstlin CLA 2004-06-25 11:51:31 EDT
/org.eclipse.jdt.ui/src-jdt/org/eclipse/jdt/internal/ui/dialogs/MessageLine.java
contains 				setBackground(JFaceColors.getErrorBackground(getDisplay()));
in setErrorStatus ... 
JFace delivers the grey default widget background color.
Comment 3 Martin Aeschlimann CLA 2004-06-25 12:27:32 EDT
oh, you're right, we also have a copy of this in our code. The platform 
preference page dialog and wizard dialog do the same, so this is the intended 
behaviour.
Do you want me to move this to platform?
Comment 4 Christian Köstlin CLA 2004-06-25 14:34:24 EDT
actually no one likes the grey background and i dont know if this is the default
behavior in windows. how does this look on OS-X?
Comment 5 Martin Aeschlimann CLA 2004-07-06 13:53:34 EDT
Moving it to platform
Comment 6 Tod Creasey CLA 2004-07-06 14:04:17 EDT
This is the default colour (the widget background). We take it from your 
settings on all platforms.