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.
Applied IEP NBM files from build080720 to JavaCAPS R6. Steps to reproduce: 1. open an existing .iep file in IEP editor 2. click AutoLayout icon * notice that icons on iep canvas are re-aligned; however, NB toolbar Save and Save All icons are not enabled. 3. move one operator slightly to see Save/Save All icons enabled, then click Save 4. close IEP editor 5. open the same .iep file again * notice that operator positions reverted back to prior to clicking AutoLayout, except for the one operator that was slightly moved. Workaround: click AutoLayout, then select all operators on the canvas and move them all slightly, then click Save icon.
Autolayout action was not settting the newly changed EntitiyNode positions on the underlying model. Doing this will trigger the model events that enable the Save/Save All button . Fixed by: changeset: 85174:91b35778b6aa tag: tip user: <pvarghese@netbeans.org> date: Mon Aug 25 15:13:44 2008 -0700 files: iep.editor/src/org/netbeans/modules/iep/editor/designer/PlanCanvas.java iep.editor/src/org/netbeans/modules/iep/editor/designer/actions/AutoLayoutAction.java description: bug 142333 Autolayout action does not enable SaveCookie
Verified using IEP nbm files from build080915 with JavaCAPS R6. After clicking AutoLayout icon, icons are re-aligned in iep canvas and Save All icon is enabled. If all icons are already aligned, hitting AutoLayout icon will not change any icon positions, thus Save All icon is not unnecessarily enabled.