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 231808 - [dark theme] font unreadable in the documentation window
Summary: [dark theme] font unreadable in the documentation window
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: markiewb
Keywords: NETFIX, NO74
Depends on:
Reported: 2013-06-26 03:53 UTC by John Jullion-ceccarelli
Modified: 2016-07-25 01:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

screenshot (15.26 KB, image/png)
2013-06-26 03:53 UTC, John Jullion-ceccarelli
Another example (10.33 KB, image/png)
2013-08-12 20:03 UTC, markiewb

Note You need to log in before you can comment on or make changes to this bug.
Description John Jullion-ceccarelli 2013-06-26 03:53:28 UTC
Created attachment 136301 [details]

see it with javascript doc window, but assume it's everywhere. black text font doesn't work on dark background.
Comment 1 Marek Fukala 2013-06-26 12:58:55 UTC
Passing to JS for further evaluation as I'm not sure what is the exact source of the documentation in the screenshot. I've tried documentation of "common" objects in JS/HTML/CSS/java and the font is always properly inverted (white) - tried dark nimbus and dark metal on Mac OSX
Comment 2 Petr Pisl 2013-07-16 08:29:56 UTC
Reassigning to the CSL API. I don't have access to the javadoc window creation, needs to be set up correctly some properties. More Standa knows:).
Comment 3 Milutin Kristofic 2013-07-16 16:54:49 UTC
Ok, I set HONOR_DISPLAY_PROPERTIES for this javadoc window (as Standa did in Bug #227530) However, javascript client should prepare css properties that will make font readable in dark laf. Reassing back to javascript.
Comment 4 Quality Engineering 2013-07-20 02:10:49 UTC
Integrated into 'main-silver', will be available in build *201307192300* on (upload may still be in progress)

User: Milutin Kristofic <>
Log: #231808 - [dark theme] font unreadable in the documentation window
Comment 5 markiewb 2013-08-12 20:03:46 UTC
Created attachment 138609 [details]
Another example

Another example: <code>document.writ|</code> will popup a doc window with a title white on light-gray.

Dark Metal-Norway Today
Product Version: NetBeans IDE Dev (Build 201308092300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 6 Marian Mirilovic 2013-08-23 13:53:19 UTC
Dark themes were moved to the NetBeans Update Center for NB 7.4
Comment 7 markiewb 2016-07-23 14:37:04 UTC
For the record:
Comment 8 markiewb 2016-07-24 16:07:05 UTC
*fixed* - at least the last open issue
* Use "Label.background" and "Label.foreground" incl. fallback
* Refactor: Extract inline colors as private static fields, so that colors can be updated easier (or LaFs like Darcula can access them via Reflections)
Comment 9 Quality Engineering 2016-07-25 01:55:00 UTC
Integrated into 'main-silver', will be available in build *201607250002* on (upload may still be in progress)

User: Benno Markiewicz <>
Log: #231808 [dark theme] font unreadable in the documentation window

Use "Label.background" and "Label.foreground" incl. fallback