Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 190459 - Inability to select colors for code completetion and floating help elements
Summary: Inability to select colors for code completetion and floating help elements
Status: RESOLVED WORKSFORME
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: 5.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-01 09:03 EDT by Martin Petricek CLA
Modified: 2009-01-09 16:16 EST (History)
1 user (show)

See Also:


Attachments
helper popup window - example of bad colors (20.07 KB, image/png)
2007-06-01 09:06 EDT, Martin Petricek CLA
no flags Details
bad color of selection bar in code completion (18.99 KB, image/png)
2007-06-01 09:08 EDT, Martin Petricek CLA
no flags Details
Configurable hover colors (13.41 KB, patch)
2008-03-05 06:22 EST, Konstantin Yablunivsky CLA
no flags Details | Diff
Compiled files for configurable hover colors (34.39 KB, application/zip)
2008-03-05 06:23 EST, Konstantin Yablunivsky CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Petricek CLA 2007-06-01 09:03:26 EDT
Build ID: I20070525-1350

Steps To Reproduce:
1. In CDT settings, have altered color scheme to use dark blue color for background and light (white, yellow ...) colors for foreground text. I have also altered background color of code completion select box to also dark blue

2. Problem is with grey selection bar on select box - I found no way of altering its color. It is similar to some of the colors in my color scheme, so some texts are badly readable.
3. Worse problem is with the code hint popup that will show declaration of something if I hover mouse a while on it. Its background color is somewhat orange-yellow, which makes my syntax higlighting almost invisible on it. I have found no way to set its color too.
Comment 1 Martin Petricek CLA 2007-06-01 09:06:22 EDT
Created attachment 69685 [details]
helper popup window - example of bad colors

Inability to alter color of this helper popup window makes the text badly readable. Grey on orange is almost invisible, I found no way to alter the "orange" color
Comment 2 Martin Petricek CLA 2007-06-01 09:08:17 EDT
Created attachment 69686 [details]
bad color of selection bar in code completion

Found no way to alter in settings color of selection bar in code completion. The default is this grayish color, making light blue text on it badly readable.
Comment 3 Konstantin Yablunivsky CLA 2008-03-05 06:22:21 EST
Created attachment 91632 [details]
Configurable hover colors

Patch for 4.1 or 4.2 (dont remember).
Adds a configurable hover colors.
Adds chars '?' ',' '/' to operators color list.
Comment 4 Konstantin Yablunivsky CLA 2008-03-05 06:23:24 EST
Created attachment 91633 [details]
Compiled files for configurable hover colors
Comment 5 Anton Leherbauer CLA 2008-03-05 06:59:09 EST
The list selection color is a system default which cannot be changed from within Eclipse. You need to change this within the OS/Window system.
See also the SWT FAQ on how to change default fonts and colors under GTK: <http://www.eclipse.org/swt/faq.php#gtkfontsandcolors>.

The source hover background color can be configured in 5.0 (bug 194312).

(In reply to comment #3)
> Adds chars '?' ',' '/' to operators color list.

Please open a new bug for that.