Bug 9676 - [Dialogs] MessageLine: background color should be same as hover background
Summary: [Dialogs] MessageLine: background color should be same as hover background
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dirk Baeumer CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-02-13 11:55 EST by Dirk Baeumer CLA
Modified: 2002-08-13 10:13 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2002-02-13 11:55:04 EST
Currently the background color of the message dialog changes to a lighter gray 
when a message or error is displayed. We should use the background color from 
the hover background (SWT.COLOR_INFO_BACKGROUND). 

But do do so we have to change the layout of the dialogs since our current 
alignment is bad had with a yellow background it looks stupid.
Comment 1 Erich Gamma CLA 2002-02-13 15:29:22 EST
should discuss with workbench whether to use hover color for error messages.
Comment 2 Dirk Baeumer CLA 2002-03-11 10:38:57 EST
Nick, can you please comment on that idea. We noticed that some MS applications 
are using the hover background color if the show errors. May be that has 
something to do with screen readers.
Comment 3 Nick Edgar CLA 2002-03-11 16:07:38 EST
I doubt the colour affects screen readers.  They normally ignore colour 
(although they can read the current colour on demand).

Do you have some examples in MS apps of using this colour for error messages?
Comment 4 Dirk Baeumer CLA 2002-03-12 04:19:28 EST
An example is Outlook Express. Mark a message as watched or ignored and open 
the message by double clicking on it.
Comment 5 Nick Edgar CLA 2002-03-12 14:59:38 EST
Hmm.  It does look nicer, doesn't it.
Comment 6 Dirk Baeumer CLA 2002-04-19 06:46:49 EDT
Nick, do you plan to do something with the background color for error messages 
in the workbench ? If not I will postpone this PR > 2.0.
Comment 7 Nick Edgar CLA 2002-04-19 11:34:21 EDT
I would like to remove the hardcoded colour in our copy of MessageLine, and 
could change it to this, however we should be consistent with other wizards and 
dialogs.
What are the layout problems mentioned in the main description above?
Comment 8 Dirk Baeumer CLA 2002-04-19 11:55:33 EDT
As far as I can remember the problem was how the button bar was constrcuted in 
one of our dialogs. There was an additional composite around which leads to a 
shorter message line which is misaligned with the buttons. 

To see it open the override method dialog on a type and check some elements. 
You see the gray status line at the bottom which is misaligned with the button 
bar on the left hand side.
Comment 9 Nick Edgar CLA 2002-04-25 10:53:34 EDT
There are other issues which need to be addressed around error reporting, 
including layout etc.
We need to be consistent across wizards and dialogs, and ensure the correct 
foreground colour is used consistently as well.
We don't have time to do a systematic pass for v2, and the current behaviour is 
reasonable, except for a few known places where we could do a better job for 
layout.

Defer to v3.
Comment 10 Randy Giffen CLA 2002-08-09 12:47:11 EDT
Reopen to investigate
Comment 11 Dirk Baeumer CLA 2002-08-13 10:13:21 EDT
Closing PR since platform postpones homogenous fix to 3.x