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.
[dev-200501181900, JDK 1.5.0_02] 1) Open Tools | Options, select Editor Settings, Java Editor, open Fonts & Colors customizer 2) Set any font to be Default, font is OK in editor, but first font in the list is shown as value in the customizer. 3) Set any bgcolor to be Default, color in editor is OK, but both color values (fg and bg) are set to null. After reselecting the node Default all values are displayed corectly.
*** Issue 54301 has been marked as a duplicate of this issue. ***
This works OK in build 16.01.2005 Starts failling in 17.01. Problem seems to be in the replacement of inplaceEditor (please see attached stacktrace). The ColorEditor is replaced during clicking on the red box from the color palette (tab Swatches in color customizer). After ColorEditor replacement the new instance is asked for "getAsText". As "color" value was set in the previous instance, the "color" value is null in the current and it returns "null" String. Reassigning to beaninfo...
Created attachment 20746 [details] stacktrace of ColorEditor replacement
This is very annoying behavior, increasing prio to P2.
*** Issue 56425 has been marked as a duplicate of this issue. ***
Looks as regression of bugfix issue 52179. Assigned to author this change. Martin, please review this fix and consider if causes this problem. Thanks
You are right. Started...
Since there are situations where it is inappropriate to update property editors when they are being customized by custom editor component (see issue 52179) I can't remove the whole code commited with issue 52179. I can just compare few dumped stack traces and conditionally update property editor. It works for all *known* cases now. So fixed. We can tune it more when something goes wrong (hope not). If someone understand the property code vs. property editors better feel free to enhance it ;) Checking in openide/src/org/openide/explorer/propertysheet/PropUtils.java; new revision: 1.49; previous revision: 1.48 Checking in openide/src/org/openide/explorer/propertysheet/ReusablePropertyModel.java; new revision: 1.5; previous revision: 1.4
*** Issue 55630 has been marked as a duplicate of this issue. ***
*** Issue 56632 has been marked as a duplicate of this issue. ***
*** Issue 56509 has been marked as a duplicate of this issue. ***
Verified in dev-200503221900.