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 33285 - Ctrl-click performs right-click ... but shouldn't
Summary: Ctrl-click performs right-click ... but shouldn't
Status: CLOSED DUPLICATE of bug 32463
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-28 22:03 UTC by benjc
Modified: 2008-12-22 20:30 UTC (History)
0 users

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 benjc 2003-04-28 22:03:39 UTC
In Netbeans 3.4 running on OSX JDK 1.4.1 it was working fine where the Command-
Click and mouse Right-Click opened the submenu, and the Ctrl-click did what it's 
supposed to ... allow multiple selections, but now when Ctrl-click is used, it also 
performs the right-click action and opens the submenu ... which ofcourse is really 
annoying and gets in the way.

Please make it so Command-Click and mouse right-click open the submenu, but not 
the Ctrl key.
Comment 1 _ ttran 2003-04-29 08:00:20 UTC
AFAIK, Ctrl+Click -> Right Click translation is a "feature" on MacOS.
 This  is intended to work for systems with single-button mice and is
done at the level underneath NB
Comment 2 benjc 2003-04-30 15:17:02 UTC
I would accept that as fact, except that Netbeans 3.4.1 acts differently than 3.5 beta. In 
3.4.1 Ctrl-click does not open the menu, only Command-click, or mouse right-click 
does.

This means to me that something changed in the code between 3.4.1 and 3.5beta, 
because I have both running on my system, both with JDK 1.4.1 and they act differently 
side by side.
Comment 3 benjc 2003-05-13 22:44:13 UTC
In 3.5 RC1 this is still not working as it did in 3.4. Why should this not be able to be 
made as it was in 3.4?

Ben
Comment 4 Tomas Hurka 2003-06-25 13:41:28 UTC
You are right. There was a change in NB 3.5. See issue #25536. NetBeans now correctly 
uses isPopupTrigger() to open  submenu. Using crtl-click is a strandard way, how to 
emulate right click in Mac OS X. You can try it in (for example) Mail.app. ctrl-click 
activates context menu and command-click allow multiple selections.
Comment 5 Tomas Hurka 2003-06-25 13:53:36 UTC

*** This issue has been marked as a duplicate of 32463 ***
Comment 6 Marian Mirilovic 2003-07-23 15:48:17 UTC
verified, closed - it's duplicate.