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

Bug 81430

Summary: Invisible writing on ant runtime preference page
Product: [Eclipse Project] Platform Reporter: John Arthorne <john.arthorne>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: billy.biggs, jared_burns
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
Screen shot of invisible writing none

Description John Arthorne CLA 2004-12-16 12:14:40 EST
Build: I20041214-2000
3.1 M4 test pass

1) Go to the Ant > Runtime preference page
2) Go to the "Properties" tab and select the first property in the list
(eclipse.home)
3) Switch to the types tab and then back to the properties tab

-> The blue selection highlighting is gone.  What remains is white text on a
light yellow background, meaning it is almost invisible.
Comment 1 John Arthorne CLA 2004-12-16 12:15:06 EST
Created attachment 16702 [details]
Screen shot of invisible writing
Comment 2 Darin Swanson CLA 2004-12-16 12:23:55 EST
Jared this rings a bell with an issue you found on linux. 
I could not find the bug report after a quick search?
Comment 3 Billy Biggs CLA 2004-12-16 13:00:59 EST
This is due to a GTK+ bug.  If you set the foreground or background colours
of a row in a table, these will be overridden by the selection foreground and
background as normal.  However, if the tree loses focus, the unfocused
selection colours do not override the user preferences as expected.  This is
fixed in GTK+ for their next major release (GTK+ 2.6.0).

In this screenshot, it seems that the background colour has been set on
the row to be yellow, and the table does not have focus.
Comment 4 Billy Biggs CLA 2004-12-16 13:04:28 EST
The SWT bug on this issue is bug 49617.  This should probably just be marked
as a duplicate of that.
Comment 5 Darin Swanson CLA 2004-12-16 13:10:36 EST
Works fine on windows. no plans to change.

*** This bug has been marked as a duplicate of 49617 ***
Comment 6 John Arthorne CLA 2004-12-16 15:51:54 EST
Is there a particular reason why you are setting the table and tree background
colours in these preference dialogs (let alone choosing light yellow as the
background colour)?  Browsing through other preference pages, even the Ant
editor preferences, other preference pages don't change the background colour. 
The Ant runtime preferences stand out, even on Windows.
Comment 7 Darin Swanson CLA 2004-12-16 15:57:32 EST
Extension point contributed items (read only) are background highlighted. 
User defined items have the default background. 
The point is to make these items stand out.