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 270521 - Right click context menu flickers and disappears with 2-finger trackpad gesture
Summary: Right click context menu flickers and disappears with 2-finger trackpad gesture
Status: RESOLVED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: UI (show other bugs)
Version: 8.2
Hardware: Macintosh Mac OS X
: P2 normal with 1 vote (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-30 03:34 UTC by djmordigal
Modified: 2017-06-04 02:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description djmordigal 2017-04-30 03:34:35 UTC
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.
Comment 1 osantana85 2017-05-25 11:00:32 UTC
Same problem. I have bought a new Macbook Pro 2016 with force trackpad and have the same problem with right click.
Comment 2 djmordigal 2017-05-25 15:16:42 UTC
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.
Comment 3 djmordigal 2017-06-04 02:26:50 UTC
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.