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 44780 - There's a hole in my IDE where the rain comes in
Summary: There's a hole in my IDE where the rain comes in
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: RANDOM
: 56422 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-12 02:00 UTC by Jesse Glick
Modified: 2008-12-22 18:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The obligatory screenshot (49.62 KB, image/png)
2004-06-12 02:00 UTC, Jesse Glick
Details
Example of earlier stack trace (3.01 KB, text/plain)
2004-06-16 03:37 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-06-12 02:00:27 UTC
Totally unreproducibly, in 040610 (1.5.0 b54,
GTK), one time, something caused there to be a
hole where the Edit menu had been. Repainting the
main window did not help. Could even use the menus
- confirm that the Edit menu exactly matches the
shape of the hole - but after closing them, the
hole is still there. Nothing painted inside the
hole, and could not get rid of it except by
restarting the IDE.
Comment 1 Jesse Glick 2004-06-12 02:00:49 UTC
Created attachment 15663 [details]
The obligatory screenshot
Comment 2 _ tboudreau 2004-06-12 21:53:49 UTC
...that stops my mind from wanderin', where it will go...

Had the menu ever been shown when this occurred?

I'd hazard a guess the bug is in whatever GTK L&F uses for PopupFactory (no idea if they 
replace it or use the standard Swing one).  In other words, there is an empty 
lightweight popup component sitting on top of everything, that was somehow forgotten 
about after the popup was hidden.  The default impl of PopupFactory recycles 
components, so this shouldn't happen, but it wouldn't surprise me if some kind of race 
condition could cause it to forget about one and leave it behind.  Certainly the things we 
do with menus are strange enough to make something like this possible.
Comment 3 Jesse Glick 2004-06-14 17:15:01 UTC
"Had the menu ever been shown when this occurred?" - unfortunately
can't remember now.

Feel free to close this as WORKSFORME if you have no idea what, if
any, NB code might cause it. Just felt it would be better brought to
someone's attention.
Comment 4 David Simonek 2004-06-14 17:50:01 UTC
Passing to Tim.
Comment 5 Jesse Glick 2004-06-16 03:36:25 UTC
Happened to me again in 040615. Edit menu again. Again, no particular
steps to reproduce, but I will note that earlier in the IDE session, a
couple of times I had posted the Edit menu (trying to confirm a bug
reported on nbusers that Find is sometimes enabled when Go To Line is
not) and gotten unexplained NPEs from Swing code, which I will attach.
Apparently the menuItem field is null for some reason.
Comment 6 Jesse Glick 2004-06-16 03:37:21 UTC
Created attachment 15719 [details]
Example of earlier stack trace
Comment 7 Jesse Glick 2004-06-16 04:36:02 UTC
Note that Actions.SubMenu extends JMenuPlus, which could cause this
sort of weird problem I guess.
Comment 8 _ tboudreau 2004-06-16 04:50:59 UTC
Might be interesting to manually remove PasteAction from the Edit menu (just put it 
somewhere else) and see if the problem moves to the new menu or goes away in the Edit 
menu.  Just a hunch - I could imagine what we do with that confusing the heck out of a 
look and feel.
Comment 9 Jesse Glick 2004-06-16 05:06:58 UTC
Yeah, that's my guess too.
Comment 10 _ tboudreau 2004-07-21 14:38:00 UTC
GTK not supported for promo D -> future
Comment 11 Jan Chalupa 2004-11-01 16:50:42 UTC
Re-assigning Tim's issues to Dafe.
Comment 12 David Simonek 2005-01-19 15:10:34 UTC
Passing to Martin to distribute bugs evenly. Thanks Martine :-)
Comment 13 Martin Krauskopf 2005-03-16 10:31:21 UTC
*** Issue 56422 has been marked as a duplicate of this issue. ***
Comment 14 Martin Krauskopf 2005-03-16 10:32:05 UTC
Good, we have more information - see issue 56422. Not GTK specific, however
still random.
Comment 15 Jesse Glick 2005-04-06 19:47:30 UTC
I haven't seen this in a long time, BTW.
Comment 16 Marian Mirilovic 2005-07-14 13:59:31 UTC
Jesse, is it still reproducible ? (It's summer so probably not so rainy ;) 
Comment 17 Jesse Glick 2005-07-14 20:38:46 UTC
Never saw it again. Doubt we can do anything unless it is reproduced.
Comment 18 Marian Mirilovic 2005-07-19 15:39:36 UTC
verified