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 223795 - Netbeans 7.2 dark theme doesn't highlight the class variables properly
Summary: Netbeans 7.2 dark theme doesn't highlight the class variables properly
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 7.2.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 15:33 UTC by hrzafer
Modified: 2013-06-27 12:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (988.16 KB, text/plain)
2012-12-13 15:33 UTC, hrzafer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hrzafer 2012-12-13 15:33:10 UTC
Like the default Netbeans theme, Norway Today used to highlight the global and class variables in green. With NB 7.2 it doesn't. The default theme still works fine. I tried this on both of my computers. I also have another computer which have NB 7.0 and it highlights properly. Here are the screenshots

default: http://i.stack.imgur.com/XpZY9.png

norway: http://i.stack.imgur.com/y9PBo.png

Product Version = NetBeans IDE 7.2.1 (Build 201210100934)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_10
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Comment 1 hrzafer 2012-12-13 15:33:39 UTC
Created attachment 129339 [details]
IDE log
Comment 2 Jiri Prox 2012-12-19 14:46:49 UTC
Reproducible

in 7.0 there was set green color for 'Field Usage' but now in 7.3 there is  'Inherited' color by default

Anyway user can customize the color settings.
Comment 3 hrzafer 2012-12-19 14:57:35 UTC
(In reply to comment #2)
> Reproducible
> 
> in 7.0 there was set green color for 'Field Usage' but now in 7.3 there is 
> 'Inherited' color by default
> 
> Anyway user can customize the color settings.

How ? I couldn't find any other way to do so.
Comment 4 Jiri Prox 2012-12-19 15:04:20 UTC
open Tools -> Options and select Fonts&Colors tab, from Language combobox select Java, and from the Category list choose Field Use.
Now click on the Foreground combo box (in the right side of the dialog) and from the list select 'Custom...' this open the color chooser dialog.
Here select the desired color (in 7.0 it was RGB= [9,138,24]) now confirm all by 'OK'.
Comment 5 hrzafer 2012-12-19 17:57:10 UTC
(In reply to comment #4)
> open Tools -> Options and select Fonts&Colors tab, from Language combobox
> select Java, and from the Category list choose Field Use.
> Now click on the Foreground combo box (in the right side of the dialog) and
> from the list select 'Custom...' this open the color chooser dialog.
> Here select the desired color (in 7.0 it was RGB= [9,138,24]) now confirm all
> by 'OK'.

that helped. thanks a lot. I wasn't able to find the Field Use because in Language combobox Java wasn't selected. Now I have my good old Theme back!
Comment 6 hrzafer 2012-12-21 13:33:16 UTC
I realized that function parameters (Parameter Use) are also inherited. They should be brown.
Comment 7 Milutin Kristofic 2012-12-21 13:38:34 UTC
I set green color by default for fields in Norway Profile. 

http://hg.netbeans.org/jet-main/rev/41b5daf43b20
Comment 8 David Strupl 2012-12-21 14:17:12 UTC
Please don't change the priority without justification. Thanks. For a guide how to assess priority please check http://wiki.netbeans.org/BugPriorityGuidelines
Comment 9 Milutin Kristofic 2012-12-21 14:25:31 UTC
http://hg.netbeans.org/jet-main/rev/80a667a5ee08

Fixed parameter use to brown
Unused to gray
Comment 10 hrzafer 2012-12-21 19:45:45 UTC
(In reply to comment #8)
> Please don't change the priority without justification. Thanks. For a guide how
> to assess priority please check http://wiki.netbeans.org/BugPriorityGuidelines

Sorry, I didn't do it on purpose. It is the first time that i'm contributing by a bug tracking tool.
Comment 11 hrzafer 2012-12-21 20:00:18 UTC
(In reply to comment #9)
> http://hg.netbeans.org/jet-main/rev/80a667a5ee08
> 
> Fixed parameter use to brown
> Unused to gray

When is the next update that this fix will be available on.
Comment 12 Jiri Prox 2012-12-21 20:35:53 UTC
> When is the next update that this fix will be available on.

There will be an announcement in this issue once this fix will be propagated to daily build. Usually it takes one or two days.
Comment 13 Quality Engineering 2012-12-22 02:28:32 UTC
Integrated into 'main-golden', will be available in build *201212220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/41b5daf43b20
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #223795 - Netbeans 7.2 dark theme doesn't highlight the class variables properly