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.
Fedora 2/GNOME problem happens with both jdk1.4.2 and 1.5.0. NB 4.0beta2 Netbeans seems to start in the primary display; if I move the netbeans window to the other (right) monitor context menus (right click) fail to appear sometimes (condition appears to be able to spontaneously appear and recover) (also affects menus file, edit, build, run but not refactor, versioning, tools etc; truely weird) Auto complete menus don't seem to be appected. (no logged messages other than ordinary startup) Might be a java bug, but I've never had it happen with 3.6
Hmm, weird. Could you somehow find some background logic when menus work and when not? I can't reproduce so far... Also, to verify that it's Netbeans bug, not Swing's, please could you try to run SwingSet2 demo contained in jdk demos and play with context and main menu as well? Thanks.
More experimenting... Still haven't found consistent way to triger, although dragging the maximixed window to the left monitor, then to the right seems to work most of the time (particularly immeadiately after startup); de-maximise, maximise once in the right monitor seems seems to fix. It seems that the problem also affects tooltips; all tooltips, why it doesn't affect all menus is an interesting problem. Found similar (probably same) problem where instead of not appearing the menus appear at the right edge of the left monitor; since the same menus (and tooltips) are affected and with a similar sparodic appearance I think this is the same problem, but in this case the wrongly placed menus are not visible for some reason. After playing a bit with the SwingSet2 demo I couldn't get menus to misbehave, but tool tips consistently had the positioning problem, so JDK/X/GNOME problems are at least partly to blame.
This looks like a well known problem with menus on multiple displays. See issue #38375 if interested in details. Also see issue #47719 for a likely duplicate. Running NetBeans with the -J-Dnetbeans.popup.no_hack=true option should help. To use it permanently, add it to the etc/netbeans.conf file.
should be fixed now, netbeans popup hacks are gone. I haven't tested on linux though, just win xp.
verified in: NetBeans IDE Dev (Build 200612041900) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 Linux version 2.6.17-10-generic running on i386 en_US (nb); UTF-8