This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249766 - Options->Fonts & Colors. Choosing "Inherited" as foreground color results in text for category being invisible in editor.
Summary: Options->Fonts & Colors. Choosing "Inherited" as foreground color results in ...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 8.0.2
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-12 23:45 UTC by mrellis63
Modified: 2015-08-28 13:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mrellis63 2015-01-12 23:45:05 UTC
Options->Fonts & Colors. Choosing "Inherited" option as foreground color for any [Syntax] category causes the text to be invisible in the editor. Looking at the preferences xml file "org-netbeans-modules-editor-settings-CustomFontsColors-tokenColorings.xml" it is clear that there is no linkage to a valid color for the foreground attribute of the affected category like "Field" or "Identifier".
Comment 1 mrellis63 2015-01-12 23:46:52 UTC
This occurs on my Mac and windows 7 systems. So it does not appear to be OS specific.
Comment 2 Milutin Kristofic 2015-08-28 13:56:41 UTC
I am sorry for late response, but can you still reproduce this behavior? 

What are your reproducible steps? This is what I tried:

1, open options-fonts&colors-syntax
2, choose comment in all languages
3, click on font foreground settings and set inherited (it was grey before)
4, press ok
5, comments are black.


It seems that it works.


Product Version: NetBeans IDE Dev (Build 20150828-ddfeacf3da8e)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16
System: Linux version 3.16.0-45-generic running on amd64; UTF-8; en_US (nb)