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 270639 - Right-click doesn't work on OS X
Summary: Right-click doesn't work on OS X
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: UI (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-14 13:02 UTC by maxnitribitt
Modified: 2017-11-16 11:41 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 maxnitribitt 2017-05-14 13:02:40 UTC
For a couple of weeks I cannot right-click any more on my macbook pro using the touchpad. The right-click gesture on the touchpad is to tap with two fingers and then click. This doesn't work any more. NetBeans behaves as if I do a small scroll movement, it opens the context menu and closes it again immediately. If I make the project window small enough, I can see it scrolls the content a bit.

The gesture works fine in all other applications.

I first thought it's something specific to my machine, but last week I met a developer at a conference who reported that same problem to me. I assume it's related to the JDK version (Java(TM) SE Runtime Environment (build 1.8.0_131-b11)), since it's not a new installation of NetBeans, and it worked flawlessly before. 

I think it's a P2, because there's a workaround (to use a mouse).
Comment 2 maxnitribitt 2017-05-18 14:35:03 UTC
I did a screen recording to illustrate the problem
Comment 3 maxnitribitt 2017-05-18 14:35:34 UTC
I hit Save too fast: https://www.youtube.com/watch?v=Swm-1AHRtBs&feature=youtu.be
Comment 4 maxnitribitt 2017-05-18 15:20:38 UTC
does not happen with u112, but with u121
Comment 5 maxnitribitt 2017-05-18 15:25:40 UTC
This fix looks like it could be the reason:
https://bugs.openjdk.java.net/browse/JDK-8166591
Comment 6 arungupta 2017-08-24 18:48:28 UTC
Using

java version "1.8.0_141"
Java(TM) SE Runtime Environment (build 1.8.0_141-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)

This error is extremely frustrating and make it very unproductive.
Comment 7 arungupta 2017-08-24 19:45:10 UTC
Here is what worked:

- Download JDK 1.8.0_121 from http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
- Edit /Applications/NetBeans/NetBeans 8.2.app/Contents/Resources/NetBeans/etc/netbeans.conf
- Change netbeans_home to set the value:

netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home"
Comment 8 arungupta 2017-08-25 20:17:39 UTC
This should get fixed in 8 u152:

https://twitter.com/serb___/status/901161277891919872

More details: https://bugs.openjdk.java.net/browse/JDK-8173876
Comment 9 rennay 2017-11-16 11:41:49 UTC
Another workaround is to use Control + Click