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 50752 - "component must be showing on the screen to determine its location" from NavigationView.setPopupVisible
Summary: "component must be showing on the screen to determine its location" from Navi...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords: RANDOM
Depends on:
Blocks: 49288
  Show dependency tree
 
Reported: 2004-10-22 19:02 UTC by Jesse Glick
Modified: 2009-10-01 14:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (2.40 KB, text/plain)
2004-10-22 19:02 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-10-22 19:02:24 UTC
041021 custom, JDK 1.5.0. Thrown I think when I
had just closed a few source editor windows; one
was a *.java file. (Do not remember which one was
focused when I pressed A-S-F4.) I currently have
the editor toolbar visible. Only seen this once.
Comment 1 Jesse Glick 2004-10-22 19:02:51 UTC
Created attachment 18455 [details]
Stack trace
Comment 2 Jesse Glick 2004-10-22 19:03:14 UTC
Well, is an uncaught exception, but random.
Comment 3 Jesse Glick 2004-10-22 19:31:25 UTC
Just happened to me again. Two Java source files were open; closed
both w/ A-S-F4.
Comment 4 Martin Matula 2004-10-24 10:13:34 UTC
Honzo, please look at it.
Comment 5 Jan Pokorsky 2004-10-25 12:01:25 UTC
It relates to issue #50752.

Honzo B., the action listener registered in the NV constructor is
never getting unregistered. NV.addNotify/removeNotify is more
appropriate for that stuff. You will also have to check NV visibility
in focuseGained which is quite strange.
Comment 6 Jan Pokorsky 2004-10-25 12:03:37 UTC
Sorry, it relates to issue #49288
Comment 7 Jan Becicka 2004-10-25 12:15:34 UTC
Honzo, thanks for evaluation.

Fixed.

Checking in NavigationView.java;
/cvs/java/src/org/netbeans/modules/java/ui/NavigationView.java,v  <--
 NavigationView.java
new revision: 1.34; previous revision: 1.33
done
Comment 8 Marian Mirilovic 2009-10-01 14:49:23 UTC
reopen to fix status and resolution
Comment 9 Marian Mirilovic 2009-10-01 14:51:59 UTC
fix status and resolution