Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 207176 - Background color on left Diff window is incorrect
Background color on left Diff window is incorrect
Product: utilities
Classification: Unclassified
Component: Diff
Macintosh Mac OS X
: P3 (vote)
: 7.4
Assigned To: Tomas Stupka
Depends on:
  Show dependency treegraph
Reported: 2012-01-11 14:12 UTC by Voxen
Modified: 2013-06-04 13:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

Screen capture (37.96 KB, image/jpeg)
2012-01-11 17:30 UTC, Voxen
screenshot of the problem (108.18 KB, image/png)
2012-02-28 12:12 UTC, spaolo

Note You need to log in before you can comment on or make changes to this bug.
Description Voxen 2012-01-11 14:12:08 UTC
Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Mac OS X version 10.7.2 running on x86_64
Java; VM; Vendor = 1.6.0_29
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402

When using a black background color for syntax coloring, the Diff panels don't match.
The left panel has default background color (white) while the right panel has the correct background color (i.e. black in my case).
This is annoying because when using dark background I can't see anything in the left panel since texts are white over white.
Comment 1 Ondrej Vrabec 2012-01-11 16:58:21 UTC
Can you check and let us know what are the colors for "Guarded block" in Tools > Options > Fonts & Colors, tab Highlighting?
Comment 2 Voxen 2012-01-11 17:26:47 UTC
"Guarded block" says "Foreground : Inherited" / "Background : 223, 223, 223"
Comment 3 Voxen 2012-01-11 17:30:34 UTC
Created attachment 114806 [details]
Screen capture

Here is a screenshot of the problem
Comment 4 spaolo 2012-02-28 12:12:13 UTC
Created attachment 116176 [details]
screenshot of the problem
Comment 5 spaolo 2012-02-28 12:13:30 UTC
Same problem here. (see attachment 'screenshot of the problem').

Changing the color of the 'Guarded block' seems not to have any effect

Product Version: NetBeans IDE 7.1 (Build 201112071828)
Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02
System: Linux version 3.0.0-16-generic running on amd64; UTF-8; en_US (nb)
Comment 6 spaolo 2012-02-28 13:31:30 UTC
Just to let everybody know that in my case after a couple of restarts to NetBeans the background color settings (defined in Tools->Options->Fonts & Colors->Highlighting->Guarded Block) did take effect.
Comment 7 Ondrej Vrabec 2013-06-04 13:36:18 UTC
Could you check in the latest dev build? When i switch from "Netbeans" profile to e.g. "City Lights" in Tools -> Options -> Fonts & Colors, both panels' backgrounds turn black. Seems to work in dev builds (possibly in 7.3?)

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo