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.
Created attachment 108654 [details] patch DialogDisplayerImpl contains issue which was detected by fixing issue #197802. It seems that DialogDisplayerImpl.showDialog() doesn't care about NbPresenter.currentModalDialog.isLeaf() property for NotifyDescriptors. It causes i.e. that every invoked NotifyDescriptors by project opening is hidden together with finished opening of project. I'm attaching some patch for core.windows and projectui which should fix that. But I'm not sure why DialogDisplayerImpl.showDialog() differs between DialogDescriptor and others so it's possible that there could be one code for all cases. The short change for projectui is just creating DD as a leaf. Thanks in advance for fixing that. BTW, it has to be fixed in the same release as #197802 - means 7.0.1.
This problem blocks P2 issue 197891, so I am raising this to P2 as well.
Created attachment 108795 [details] Scatch of a unit test
ergonomics#4a9e97a78e16 Merged to release701 as 64143ef511d0
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/4a9e97a78e16 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #199083: NotifyDescriptor.isLeaf works also for notify(...). Fix contributed by Martin Fousek. Test written by me.
Verified in trunk. Thanks Jardo.
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/4a9e97a78e16 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #199083: NotifyDescriptor.isLeaf works also for notify(...). Fix contributed by Martin Fousek. Test written by me.