Bug 537061 - Javadoc black background UI property
Summary: Javadoc black background UI property
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.8   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on: 501742
Blocks:
  Show dependency tree
 
Reported: 2018-07-16 05:05 EDT by Mael Le Monnier CLA
Modified: 2022-12-12 11:53 EST (History)
3 users (show)

See Also:


Attachments
screencast ineffective config UI (1.52 MB, image/gif)
2018-07-16 05:05 EDT, Mael Le Monnier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mael Le Monnier CLA 2018-07-16 05:05:19 EDT
Created attachment 274998 [details]
screencast ineffective config UI

Dear all,

I just upgraded from Eclipse 4.5 to Eclipse 4.8, and the "Javadoc background" UI property in General > Appearance > Colors and Fonts is ineffective.

I'm using the "Light [Mac OS X]" theme with customized UI items, but the Javadoc tooltips background stay black.

When I try to change the color in the Appearance option tab, it does not take into account the change I made, and when I reopen the option tab the black is back.

I took a little screencast to explain the issue.
Comment 1 Dani Megert CLA 2018-07-22 05:15:26 EDT
This works for me using http://download.eclipse.org/eclipse/downloads/drops4/R-4.8-201806110500/.


> I just upgraded from Eclipse 4.5 to Eclipse 4.8

Did you upgrade 4.5 or install a fresh 4.8?


> customized UI items

What do you mean exactly?
Comment 2 Mael Le Monnier CLA 2018-07-30 06:00:20 EDT
Hello,

I'm using the R4.8 Build id: 20180619-1200.

I did a "fresh install", meaning I downloaded the zip archive ("Eclipse IDE for Java Developers") and extracted to a new empty folder. Then I loaded my existing workspace and I accepted the workspace migration.

By talking of customized UI items, I mean I customized some items (colors, not fonts) in General > Appearance > Colors and Fonts, like I show on the attached screencast. Mainly in the "View and Editor Folders" subcategory.

Those customization works fine, but the "Javadoc background" item in the "Java" subcategory doesn't works. As shown on the screencast, when I change it, the choice is not taken into account.
Comment 3 Mael Le Monnier CLA 2018-07-30 06:21:18 EDT
I just found a temporary workaround (and maybe a precision to find the bug): Still in the same customization menu General > Appearance > Colors and Fonts > Java > Javadoc background.

Using "Reset" button select the default color. This color is the same as the "Declaration view background" item: (R,G,B)=(255, 255, 225).
So, instead of using "Reset" button, I choosed "Edit", and I typed manually the color using the RGB integer fields of the color-picker.
After apply, the bug persists! The background is still black.

Now, I changed one value (here I set Blue to 224 instead of 225). Now it works, the change is well supported.

Unfortunately, when I close & restart Eclipse, I need to the modification again. It's not a big issue since I restart my IDE rarely, one time per weeks max.

For additional information the customization is stored in the following file: \Workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.workbench.prefs with the key: org.eclipse.ui.r30.org.eclipse.jdt.ui.Javadoc.backgroundColor
The file is not read-only, and when I change the value, the file is correctly updated by Eclipse.
Comment 4 Roland Grunberg CLA 2018-08-03 12:37:54 EDT
Build id: I20180801-2000

I'm able to reproduce this on Windows 10 with Light, Dark and even the "Light [ Mac OS X ]" themes by simply setting the "Colour And and Font Theme" under "Appearance" to "Classic Theme", or "Reduced Palette". The Javadoc View and and tooltip hovers show up as black.

From there, the "Reset" button updates the displayed colour but has no effect on the view/tooltips. However, if one uses the "Edit" button to select a colour, it works as expected, and the "Reset" button also works afterwards.

It would be worth having a look at why Javadoc View is black when the colour/font theme is changed to the ones mentioned, and why the reset button doesn't work the first time.
Comment 5 Rodrigo de Salvo Braz CLA 2018-11-28 04:54:15 EST
I had the same problem in Windows 10 with Oxygen.3a Release (4.7.3a).

In my case, this was specific to the Classic Theme.

It appeared when I changed to the Classic Theme, and went away after moving back to Default Theme and restarting. I found this solution at the end of comments in this page: https://stackoverflow.com/questions/50628165/eclipse-javadoc-background-overrides-default
Comment 6 Eclipse Genie CLA 2020-11-18 02:33:10 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 7 Eclipse Genie CLA 2022-12-12 11:53:20 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.