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

Bug 64861

Summary: [content assist] Unreadable colours used in code assist under KDE
Product: [Eclipse Project] Platform Reporter: Billy Biggs <billy.biggs>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: donv, jason, m, marcc, public, Tod_Creasey
Version: 3.0Keywords: accessibility
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Screenshot showing the code assist colours none

Description Billy Biggs CLA 2004-06-01 00:47:35 EDT
I200405282000

When running Eclipse under KDE 3.2.2, using kcontrol/krdb to apply KDE colours
to Gtk+-2.0 applications, the code assist popup uses colours which make it
difficult to tell which item is selected in the list.  Furthermore, the colours
do not seem to make sense with the rest of the colour scheme.

This may be a KDE issue, as there seem to be other usability problems with krdb.
 For example, see http://bugs.kde.org/show_bug.cgi?id=82619 .   However, since
these colours seem quite shockingly strange, I wonder if maybe Eclipse is not
using the correct colours at all.
Comment 1 Billy Biggs CLA 2004-06-01 00:48:22 EDT
Created attachment 11344 [details]
Screenshot showing the code assist colours
Comment 2 Billy Biggs CLA 2004-06-01 00:51:05 EDT
Also see some discussion in bug 49548.
Comment 3 Tod Creasey CLA 2004-06-01 10:16:54 EDT
This is a bigger issue than just colours on KDE. It generally breaks selection 
highlighting on high contrast on Windows as well.

The content assist has two colour settings: Completion proposal foreground and 
background.

The issue is that a list also has two other colour pairs
1) Focus selected foreground and background
2) Non focus selected foreground and background

If you are not using system colours to set these values then the mix with the 
two settings will cause problems.

For example on Windows
1) Set colours to High Contrast
2) Invoke code assist. White background with black foreground (opoosite of 
what you want). No focus and focus Selected item is black - should be black 
and purple to tell the difference
3) Set the colours in the Code Assist preference page to be white on black 
(attempt to emulate the system settings)
4) Invoke code assist. Non focus select matches background so you cannot see 
the default selection until you give focus to the widget when it becomes 
purple.

We would recommend not setting these colours at all or if you do modify the 
system color.
Comment 4 Dani Megert CLA 2004-07-12 05:05:13 EDT
*** Bug 65998 has been marked as a duplicate of this bug. ***
Comment 5 Dani Megert CLA 2004-07-19 10:28:10 EDT
*** Bug 70042 has been marked as a duplicate of this bug. ***
Comment 6 Dani Megert CLA 2004-07-23 07:13:41 EDT
*** Bug 69278 has been marked as a duplicate of this bug. ***
Comment 7 Tod Creasey CLA 2004-07-27 08:25:14 EDT
*** Bug 70859 has been marked as a duplicate of this bug. ***
Comment 8 Billy Biggs CLA 2004-09-20 16:21:53 EDT
This bug is a duplicate of bug 66815.  The issue was in kcontrol/krdb which is
fixed in KDE 3.2.3 and later.

*** This bug has been marked as a duplicate of 66815 ***
Comment 9 Dani Megert CLA 2004-11-17 03:42:24 EST
*** Bug 78787 has been marked as a duplicate of this bug. ***