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.
The color and style of font decoration are randomly changed without user intention when browsing the settings. Steps to reproduce: 1) start IDE with fresh userdir 2) open some java file 3) open Fonts&Colors 4) use mouse to select categories (language: All Languages) a) select 'Whitespace' -> all is fine b) select category "URL" -> from now on - all categories which does not have any decoration set display 'blue' color (but this is only minor issue) c) select 'Warnings' d) select 'Whitespace' -> White space are now set to have yellow wave underline, if user not press OK the color in editor are changed according to setting! Product Version: NetBeans IDE Dev (Build 201209120001) Updates: Updates available Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: D:\udir-5 Cache directory: D:\udir-5\var\cache
I tried debug it and I think there is problem in cbEffectColor.setSelectedItem (new ColorValue (null, null)); at SyntaxColoringPanel:781 and combo.setSelectedIndex(combo.getItemCount()-2); at ColorComboBoxSupport:112 Can you look at it, Standa?
core-main d785cb8f30bc
Integrated into 'main-golden', will be available in build *201209210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d785cb8f30bc User: S. Aubrecht <saubrecht@netbeans.org> Log: #218375 - do not listen to combo changes when you aren't supposed to