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.
On Mac OS, a control+mouseclick combination is the trigger for the right-menu popup, ie, context- sensitive menu. But in the Designer window in Matisse, command-click is triggering the popup menu, and control-click is adding/removing the selected item from the current selection. These key-mouse comibinations should be reversed.
*** Issue 77371 has been marked as a duplicate of this issue. ***
Both Control-click and Command-click show popup menu. The problem is that with the command key the mouse event has both left and right mouse button (together with META modifier). We check the buttons exclusively, right one first. To recognize when to show popup menu we should use MouseEvent.isPopupTrigger() (check both in mousePressed and mouseReleased). To recognize a plain right click (that e.g. cancels dragging) we should check there is no left mouse button at the same time (on mousePressed). For adding/removing selection we should check left button and Meta (like Ctrl, on mousePressed).
*** Bug 214432 has been marked as a duplicate of this bug. ***
Tried to fix the situation a bit. Could not actually try on Mac. http://hg.netbeans.org/jet-main/rev/120eef741d63
Integrated into 'main-silver', will be available in build *201308112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/120eef741d63 User: Tomas Pavek <tpavek@netbeans.org> Log: #60643: trying to correctly map Command+click on Mac to multiselect, plus some more tweaks in clicking