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.
Summary: | There's a hole in my IDE where the rain comes in | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Window System | Assignee: | Martin Krauskopf <mkrauskopf> |
Status: | CLOSED WORKSFORME | ||
Severity: | blocker | CC: | mmirilovic, tboudreau |
Priority: | P4 | Keywords: | RANDOM |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
The obligatory screenshot
Example of earlier stack trace |
Description
Jesse Glick
2004-06-12 02:00:27 UTC
Created attachment 15663 [details]
The obligatory screenshot
...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. "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. Passing to Tim. 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. Created attachment 15719 [details]
Example of earlier stack trace
Note that Actions.SubMenu extends JMenuPlus, which could cause this sort of weird problem I guess. 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. Yeah, that's my guess too. GTK not supported for promo D -> future Re-assigning Tim's issues to Dafe. Passing to Martin to distribute bugs evenly. Thanks Martine :-) *** Issue 56422 has been marked as a duplicate of this issue. *** Good, we have more information - see issue 56422. Not GTK specific, however still random. I haven't seen this in a long time, BTW. Jesse, is it still reproducible ? (It's summer so probably not so rainy ;) Never saw it again. Doubt we can do anything unless it is reproduced. verified |