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.
build 200203080100, jdk1.4-b92, MDI -start IDE with clean userdir -do quick x-click on Open File... button on Welcome Screen or in toolbar -> Open File dialog opens more than once Couldn't this action open only one dialog ?
Created attachment 4994 [details] screenshot with more Open File dialogs opened
Why do you click on it more than once? I do not want to fix it, sorry.
Why I clicked two times ? It was by mistake and because of slow response of IDE. Can you image how I was frightened by all these Open File wizards ? ;) Which is the right one ? Can I close the rest of them etc... these was question that I had in my mind. So we don't want to scare our users, do we ? BTW: it's strange behaviour that modal dialog can be invoked more times, synchronize it somehow ;)) Is there any valuable reason why this isue should be marked WONTFIX ?
It is same behavior as any other icon button which open modal dialog. A: Modal dialog is opened from method which can be called multiple times so I am not able to avoid multiple opening.
This issue still happends in dev 200304160100. I reproduce it only by first opening Open dialog, because dialog was opened longer than 1 sec. Open dialog is modal and should be present only once. I know that this is not stadard use of IDE, but this issue can bring improper behavior (errror) in newer version. I don't know any application which has the same behavior of toolbar buttons. Which opens modal dialogs more than once. This dosn't reflect good quality of NB IDE.
Note 1: Opening multiple modal dialogs is possible due to NetBeans' threading policy - actions (like OpenFileAction) are not executed in the AWT event dispatching thread. Note 2: This problem applies also to the Find action and maybe several more actions. I am going to fix the problem for all actions in the Utilities module.
Fixed in the trunk.
ok, verified