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 164966 [details] TestActions.java Only first call of OptionsDisplayer.getDefault().open(...) affects dialog modality. All subsequent calls ignore the modality parameter. Steps to reproduce: Create netbeans module and include attached class. Launch the module. There will be three actions in menu bar: Test/open() which calls OptionsDisplayer.getDefault().open(), Test/open(false) which calls OptionsDisplayer.getDefault().open(false), Test/open(true) which calls OptionsDisplayer.getDefault().open(true). Click Test/open(true). Close the dialog. From this point no matter how you open the Options dialog, it is in modal mode. Click Test/open(false), dialog is opened in modal mode. Close the dialog. Click Test/open(), dialog is opened in modal mode. Close the dialog. Click Tools/Options, dialog is opened in modal mode. Close the dialog. Restrart the application. Click Test/open(false). Close dialog. Click Test/open(true), dialog is opened in non-modal mode. Close the dialog. Click Test/open(), dialog is opened in non-modal mode. Close the dialog. Click Tools/Options, dialog is opened in non-modal mode. Close the dialog.