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
Status: RESOLVED FIXED
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
URL:
Keywords: NETFIX, NO74
Depends on:
Blocks:
 
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:


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

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]
screenshot

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.

http://hg.netbeans.org/jet-main/rev/153262c40a05
Comment 4 Quality Engineering 2013-07-20 02:10:49 UTC
Integrated into 'main-silver', will be available in build *201307192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/153262c40a05
User: Milutin Kristofic <mkristofic@netbeans.org>
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: https://github.com/Revivius/nb-darcula/issues/108
Comment 8 markiewb 2016-07-24 16:07:05 UTC
*fixed* - at least the last open issue https://netbeans.org/bugzilla/show_bug.cgi?id=231808#c5

http://hg.netbeans.org/core-main/rev/20d3101eab14
* Use "Label.background" and "Label.foreground" incl. fallback

http://hg.netbeans.org/core-main/rev/7d22108b9ef2
* 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 http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/20d3101eab14
User: Benno Markiewicz <markiewb@netbeans.org>
Log: #231808 [dark theme] font unreadable in the documentation window

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