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.
When pressing "Delete" on a Java source file whilc classpath scanning is in progress, a message box "Safely Delete" appears with the text "Please wait, classpath scanning in progress..." and a single button "Cancel Safely Delete". This is too early, and unnecessary if non-safe delete was intended. In the normal "Delete" dialog that follows, there is a checkbox for "Safely delete (with usage search)" which by default is unchecked (at least for me). The expected behaviour would be to only show the "Please wait" message box after having pressed OK in the normal "Delete" dialog where "Safely delete" is checked in that dialog.
Makes sense. Thanks for the report.
*** This issue has been marked as a duplicate of 134716 ***