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.
reproducible with 070221_1 steps: 1. create diagram 2. add element 3. invoke 'Close All Documents' on diagram's tab 4. say No in first dialog second dialog appears
the same if close from dialog after shift-f4
Issue 96133 - The problem is that NetBeans is calling canClose more than one time (I do not know why). However if the user said do not save the first time, the diagram will still be marked as dirty. So we will try to save again the second time. Therefore the dialog will be displayed again. However when the user says to not save, we remove the SaveCookie from the DataObject. So, check if the save cookie is present. If the save cookie is not present, we can not save anyway. So, let the user close the diagram.
verified in build 070222.