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 am using a MacBook Pro with the Force Touch trackpad. Latest version of Mac OS, latest version of NetBeans, and the latest JDK. When I right-click on anything in the IDE (file objects, within a file in the editor, GUI builder objects, etc.) the right click context menu flickers for a fraction of a second, then disappears. Repeatedly right-clicking in this manner several times will sometimes make the menu stay put, but this behavior is random and very unpredictable. Sometimes the viewport will scroll a little bit when I right click (uses the same 2-finger gesture on the trackpad), sometimes it will not. If I tap the trackpad rather than click it, the menu appears and stays visible, but there is a brief delay in the menu's appearance when tapping the trackpad vs. clicking it, which is why I prefer to click it. This issue has never happened before. I have been using this setup for weeks with no problems, and it just started happening today.
Same problem. I have bought a new Macbook Pro 2016 with force trackpad and have the same problem with right click.
I have resorted to using a Linux VM on top of the Mac using VirtualBox. Not the most ideal setup, but it works well and I have no problems. Probably the way it will have to go since this issue probably isn't high priority.
UPDATE: I have discovered that this is an inherent issue with Java Swing. I was using another Swing application on a MacBook Pro with the force touch trackpad, and encountered the same issue with the right-click context menu. So, this is not specific to NetBeans. I will be submitting this issue to the Java development team, but, it's unlikely it will be looked at since Swing is on the path to eventual deprecation.