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.
a) open bundle property properties editor i) expand resource bundle node in editor ii) select some key iii) in contextual menu select 'Properties' b) in properties editor edit some property - you can 'propagate' the changes by pressing <Enter> or by selecting other property -> in both cases the Peoperties Editor window will close immediately
This was caused by inconvenient and ineffective updates made after changes of item node properties. I've tried to fix it a bit... Changed files: Element.java rev. 1.24 KeyNode.java rev. 1.23 PropertiesFileEntry.java rev. 1.37 PropertiesParser.java rev. 1.25 PropertiesStructure.java rev. 1.30
Reopened. The fix caused serious problems and was rolled back.
fixed in [maintrunk] Tomas, thank you for your patch. I have integrated all your changes except PropertiesParser. The parser seems to follow "butterfly effect". Minor change can cause a big and unexpected behaviour ;-) Mato /cvs/properties/src/org/netbeans/modules/properties/Element.java,v <-- Element.java new revision: 1.26; previous revision: 1.25 /cvs/properties/src/org/netbeans/modules/properties/KeyNode.java,v <-- KeyNode.java new revision: 1.25; previous revision: 1.24 /cvs/properties/src/org/netbeans/modules/properties/PropertiesEditorSupport.java,v <-- PropertiesEditorSupport.java new revision: 1.61; previous revision: 1.60 /cvs/properties/src/org/netbeans/modules/properties/PropertiesFileEntry.java,v <-- PropertiesFileEntry.java new revision: 1.39; previous revision: 1.38 /cvs/properties/src/org/netbeans/modules/properties/PropertiesStructure.java,v <-- PropertiesStructure.java new revision: 1.32; previous revision: 1.31
Unfortunatelly, I have to reopen this issue again. The same problem has been found as before, the fix causes a serious bug #18269.
Evaluation: KeyNode would rather listen on its model then recreating it by calling refreshKey() on every ITEM_CHANGE event handled by PropertieFileEntry.PropKeysChildren.
Children.Keys.refreshKey() call avoided. Now it gets closed only on key property change. I could make this property read-only if required. KeyNode.java new revision: 1.28 PropertiesFileEntry.java new revision: 1.42 PropertiesStructure.java new revision: 1.37
Verified in dev 200303240100.
Resolved for 3.4.x or earlier, no new info since then -> closing.