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.

Bug 44838 - Empty unclosable window opened when some CLI option is unrecognized
Summary: Empty unclosable window opened when some CLI option is unrecognized
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: JDK_SPECIFIC
: 42724 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-14 16:48 UTC by Jesse Glick
Modified: 2008-12-22 18:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-06-14 16:48:59 UTC
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?
Comment 1 Jesse Glick 2004-06-14 16:50:07 UTC
I think this did not use to happen, not sure when the bug was introduced.
Comment 2 Jaroslav Tulach 2004-06-15 16:05:23 UTC
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;
Comment 3 Jesse Glick 2004-06-15 16:15:46 UTC
OK, thanks. I did not think to check on JDK 1.4.
Comment 4 Jaroslav Tulach 2004-07-21 15:00:14 UTC
*** Issue 42724 has been marked as a duplicate of this issue. ***
Comment 5 Tomas Danek 2005-08-01 09:34:10 UTC
 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.