Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 209783 - Javadoc tab and popup window do not honor Javadoc font color settings etc
Summary: Javadoc tab and popup window do not honor Javadoc font color settings etc
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 339615 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-14 07:58 EST by Ian Brown CLA
Modified: 2011-03-11 09:06 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Brown CLA 2007-11-14 07:58:09 EST
Build ID: I20070625-1500

Steps To Reproduce:
1. Open a Java file, select a method and show the Javadoc view to see the javadoc for that method
2. Go into Preferences
3. Select General|Appearance|Colors and Fonts
4. Select the "Javadoc display font" and press Change
5. Change the font color, and choose 'strikeout' and 'underline' and click OK
6. Observe that the strikeout and underline settings are visible in the preferences list, but the color change is not
7. Close the preferences window, applying the change
8. Notice that neither font color, strikeout or underline setting has been adopted
9. Revisit the preferences page and observe that the color setting has reset to black





More information:
Basically, any change to font color here is immediately lost - when you go back to the Font dialog immediately after changing the setting, it has already reset

Changes to underline/strikeout are preserved and are visible in preferences - but again do not get reflected in either the Javadoc view, or the hover tooltip window

I don't care about the underline/strikeout values, but I do want to be able to change the Javadoc text color - and I want that change to apply to both the view and the tooltip

It does not matter whether you attempt to change the settings all at one time, or individually - I initially observed the problem while trying to change just the font color

Changes to the font itself, its size, or whether it is regular, bold or italic work fine

Changes to the background color also work fine - in the Javadoc view, but the tooltip window continues to use the default tooltip background color. This may be by design and is not a problem for me
Comment 1 Dani Megert CLA 2007-11-14 09:55:41 EST
You can only set the background color. Setting the color on the font dialog does not work anywhere (see bug 19485).

Pleae reopen if this is a feature request to set Javadoc fg color.
Comment 2 Markus Keller CLA 2011-03-11 09:06:52 EST
*** Bug 339615 has been marked as a duplicate of this bug. ***