netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Cannot invoke context menu by two fingers tapping on MacBook with M2 chip

Open pechn opened this issue 1 year ago • 4 comments

Apache NetBeans version

Apache NetBeans 18

What happened

chip: Apple M2 Max OS: macOS Vertura 13.5.1

I cannot open the context menu by gently tapping two fingers on the touchpad, which is equivalent to not being able to open the menu by right-clicking.

I think it is the same issue reported by IDEA before: https://youtrack.jetbrains.com/issue/JBR-4765/Cannot-invoke-context-menu-by-two-fingers-tapping-on-MacBook-with-M2-chip

And there may be something to do with the MOUSE_PRESSED events. The event codes are different between pressing and tapping.

Please help to chek.

How to reproduce

No response

Did this work correctly in an earlier version?

Apache NetBeans 16

Operating System

macOS Vertura 13.5.1

JDK

11

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

pechn avatar Sep 04 '23 08:09 pechn

Can someone help?

pechn avatar Sep 20 '23 00:09 pechn

I think this is a platform issue you have to Force Touch on the built in trackpad. If you have an external trackpad my experience is that the problem goes away

ctipper avatar Dec 18 '23 09:12 ctipper

I think this is a platform issue you have to Force Touch on the built in trackpad. If you have an external trackpad my experience is that the problem goes away

Agree with you that it is a platform issue. But I think it should be fixed as most of the Macbook owner would prefer to use the built-in touch pad.

pechn avatar Apr 23 '24 06:04 pechn

I can confirm that this is only a problem with the built-in track pad on an M2 MacBook Pro. If I connect an external trackpad the two finger tap works as expected. I never use an external trackpad however so would prefer it to work on the built-in one.

dstevick41 avatar Jun 14 '24 18:06 dstevick41