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.
This is the most serious problem up to now. It is described in bugtraq #4645584. This could happen in IDE whe such dialog is scheduled behind the scenes, on one hand its very seldom, on the other hand it has terrible consequences. When the modal dialog is shown during DnD, there is some problem, DnD is still in progress but can't be finished, it still prevent event to be propagated to the dialog -> it is the jdk bug (see the number above). Only way to recover is to close the dialog by click on "x" button. But in case the dialog has operation DO_NOTHING_ON_CLOSE set, even this last resort is gone. Since dialogs created by NbPresenters have the DO_NOTHING_ON_CLOSE option set as default there is necessary to make a some workaround for the situation. Listen on possibly opened such modal dialogs during the DnD and if the case occures, unset the DO_NOTHING_ON_CLOSE option, thus allowin user to close it and recover.
Current only workaround is when the dialog is going to be shown via NbPresenter, and the window DnD is in progress already, it's changed to modeless one. Note: There alway remain the problem if somebody else will create the modal dialog and show it while there is DnD in progress.
issue doesn't apply to new window system - verified