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.
I spent some time investigating bug #47719 only to find that the bug has many duplicates that were resolved with a recommendation to use a workaround with the netbeans.popup.no_hack=true property. If I understand it correctly, the property itself is a hack to disable another hack that was supposed to address problems with menu placement in ancient (1.2.x) JDK versions. I've tested with n.p.no_hack=true on 1.4.2 (Windows, Mac) and 1.5.0 (Windows) and all menus (both heavy-weight and light-weight) seemed to work fine. Morever, the problem described in #47719 disappeared. (I've tested with a dual-monitor configuration on Windows.) So, the question is whether n.p.no_hack=true shouldn't be the default and whether the original "popup hack" shouldn't be removed completely. I found bug #38375 where David suggested exactly this long time ago. At that time, Tim discovered that removing the hack caused some menu repaint problems on Mac (and heavy-weight menus in general). My testing on Mac with no_hack=true didn't show any problems. I think we should revisit this issue and get rid of the "popup hack" if possible in 4.1. Does anyone see any reasons why not to do it? Does the problem with heavy-weight menus that Tim described in 3.6 still exist? I wasn't able to reproduce it. Could there be any issues on Linux?
done, removed all popup hacks.