apache / apache/netbeans

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

Open
#6,403 4 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage os:macos UI
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### 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

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. Start by reproducing the two-finger tap on macOS with the reported NetBeans, JDK, and Apple M2 setup, then inspect the MOUSE_PRESSED event handling mentioned in the report. Done means the gesture opens the context menu like a right-click without breaking earlier supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, macos
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.