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.
040611, 1.5.0 b54. Easy to reproduce. Run IDE on fresh userdir. Now from a shell, type "netbeans --userdir <whatever>". The IDE's window is fronted - fine. "netbeans --userdir <whatever> --open <somefile>" works too, etc. Now type "netbeans --userdir <whatever> --hello", i.e. some unrecognized option. Shell prints "Ignored unknown option: --hello" as expected. But now a 0x0 empty window is opened above the IDE's main window. Empty (grey), can be resized but not closed, always on top of main window. Have to restart IDE to make it go away. Presumably some bug in CLIOptions2 whereby WindowManager.getDefault is the default "trivial" WM in openide?
I think this did not use to happen, not sure when the bug was introduced.
No regression, just does not work on 1.5. Removing the problematic code as 1.5 on KDE seems to switch the active desktop correctly without this trick. core/src/org/netbeans/core/CLIOptions2.java,v <-- CLIOptions2.java new revision: 1.2;
OK, thanks. I did not think to check on JDK 1.4.
*** Issue 42724 has been marked as a duplicate of this issue. ***
Product Version = NetBeans IDE Dev (Build 200507281800) Operating System = SunOS version 5.9 running on sparc Java; VM; Vendor = 1.5.0_02; Java HotSpot(TM) Client VM 1.5.0_02-b09; Sun Microsystems Inc. Verified.