Bug 532982 - Photon 4.8 M6 - autocomplete suggestion have black background
Summary: Photon 4.8 M6 - autocomplete suggestion have black background
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2018-03-28 04:29 EDT by Tobias Hirning CLA
Modified: 2018-04-06 10:55 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot of black background for autosuggestion. (12.28 KB, image/jpeg)
2018-03-28 04:29 EDT, Tobias Hirning CLA
no flags Details
Screenshot of black background for JavaDoc for java keywords. (42.62 KB, image/jpeg)
2018-04-06 10:20 EDT, Tobias Hirning CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Hirning CLA 2018-03-28 04:29:37 EDT
Created attachment 273342 [details]
Screenshot of black background for autosuggestion.

Version: Photon Milestone 6 (4.8.0M6)
Build id: 20180315-1217
on Kubuntu 14.04.5 LTS with KDE 4.13.3 and GTK 3.10.8-0ubuntu1.6. GTK theme is clearlooks-phenix-5.

When using autocompletion in the java editor the suggestion of variables have a black background with black text. (See screenshot).
I think it is related to KDE/GTK as it does not appear on Windows.

But: With Oxygen 3 the colors were fine and now I can't find a color setting in the OS which could contribute to the black background.
Comment 1 Tobias Hirning CLA 2018-03-28 08:11:10 EDT
General->Appearance has the settings:
* Enable theming (activated)
* Theme: Light
* Color and Font theme: Default (current)
* Enable animations (disabled)
* Use mixed fonts and colors for labels (disabled)
* Show most recently used tabs (enabled)

I never change anything in here.
Comment 2 Dani Megert CLA 2018-04-05 10:26:28 EDT
This looks like the param hint assist. Is the "normal" content assist background OK?

Can you try with http://download.eclipse.org/eclipse/downloads/drops4/R-4.7.3-201803010715/?
Comment 3 Tobias Hirning CLA 2018-04-06 07:01:17 EDT
(In reply to Dani Megert from comment #2)
> This looks like the param hint assist. Is the "normal" content assist
> background OK?
Yes the background for the "normal" content assistent looks good.

> Can you try with
> http://download.eclipse.org/eclipse/downloads/drops4/R-4.7.3-201803010715/?
I downloaded
eclipse-SDK-4.7.3-linux-gtk-x86_64.tar.gz
which identifies at runtime as
Version: Oxygen.3 (4.7.3)
Build id: M20180301-0715

Is this the correct version to test?

There the param hint assist looked good.
Comment 4 Dani Megert CLA 2018-04-06 08:05:35 EDT
(In reply to Tobias Hirning from comment #3)

> > Can you try with
> > http://download.eclipse.org/eclipse/downloads/drops4/R-4.7.3-201803010715/?
> I downloaded
> eclipse-SDK-4.7.3-linux-gtk-x86_64.tar.gz
> which identifies at runtime as
> Version: Oxygen.3 (4.7.3)
> Build id: M20180301-0715
> 
> Is this the correct version to test?
> 
> There the param hint assist looked good.

OK, so, we confirmed that plain 4.7.3 works. Can you now try our latest Photon build: http://download.eclipse.org/eclipse/downloads/drops4/I20180405-2000/
Comment 5 Tobias Hirning CLA 2018-04-06 10:20:51 EDT
Created attachment 273477 [details]
Screenshot of black background for JavaDoc for java keywords.

Tested with
eclipse-SDK-I20180405-2000-linux-gtk-x86_64.tar.gz
which identifies as
Version: Photon (4.8)
Build id: I20180405-2000

The param hint assistant looks good now! Seems to be fixed. Thank you! :-)

But I found another issues while trying to reproduce this bug:
When showing autocomplete for "foreach" or other java keywords the JavaDoc also has black background. For other JavaDoc (like for normal method calls) the background is okay with a light yellow.
See attached screenshot.

Should I open a new bug for this issue?
Comment 6 Dani Megert CLA 2018-04-06 10:52:50 EDT
(In reply to Tobias Hirning from comment #5)
> Created attachment 273477 [details]
> Screenshot of black background for JavaDoc for java keywords.
> 
> Tested with
> eclipse-SDK-I20180405-2000-linux-gtk-x86_64.tar.gz
> which identifies as
> Version: Photon (4.8)
> Build id: I20180405-2000
> 
> The param hint assistant looks good now! Seems to be fixed. Thank you! :-)

Great!

 
> But I found another issues while trying to reproduce this bug:
> When showing autocomplete for "foreach" or other java keywords the JavaDoc
> also has black background. For other JavaDoc (like for normal method calls)
> the background is okay with a light yellow.
> See attached screenshot.
> 
> Should I open a new bug for this issue?

There's a preference to change the Javadoc colors on the General > Appearance > Colors and Fonts page. Maybe the color is initialized wrongly based on the OS theme you are using.

I'm marking this one as WORKSFORME. Please open a new bug if you still see a problem.
Comment 7 Dani Megert CLA 2018-04-06 10:55:23 EDT
Did you test with a new or old workspace? If old, you might see
Comment 8 Dani Megert CLA 2018-04-06 10:55:51 EDT
(In reply to Dani Megert from comment #7)
> Did you test with a new or old workspace? If old, you might see

... bug 530613