Community
Participate
Working Groups
CDT Outline items are shown in black while dark theme is used. So these items are difficult to read. OS: Ubuntu Linux x86-64. Eclipse is used with GTK. Version: Luna Release (4.4.0) Build id: 20140612-0600 Steps to Reproduce: 1. Set the dark theme in Eclipse. 2. Open any C++ file in Eclipse with CDT installed and open Outline view. Expected Results: Text in Outline view is written in light color (may be white).
Created attachment 244650 [details] Screenshot
Hi Petr. Which version of Ubuntu are you using? I'm asking because it will determine which version of GTK Eclipse is using (GTK2 or GTK3) which often affects the appearance.
Ubuntu 14.04. GTK oxygen theme. Now I tried to pass SWT_GTK3=1. The result is shown in the second screenshot.
LXQt from PPA lubuntu-dev.
Created attachment 244651 [details] With SWT_GTK3=1
Same issue in Windows and Mac versions.
Same problem with Eclipse Luna Service Release 1 (4.4.1) and CDT 8.5.0.201409172108 on Ubuntu 14.04 and the "MoonRise (Standalone)" Eclipse theme. It is virtually identical to the first screenshot (black on black)
Also having this issue. Verified that it is caused by inactive code highlighting. It seems the color becomes hard coded when you have inactive code in the editor. The active members are colored in black. Steps to reproduce: 1. Create/open a C file with no inactive code 2. Outline uses all white text for member titles 3. Create a snippet of code in the editor that will be inactive (i.e. wrap one of your members in #if(FALSE) 4. Outline will change all active member title text to black and all inactive members to grey.
This bugs is fixed on eclipse neon 4.6 CDT 9.0 At least with ubuntu 14.04 and 16.04
I suspect this was fixed in Neon along with bug 442869. Marking as fixed.