JDK-7170657 : [macosx] There seems to be no keyboard/mouse action to select non-contiguous items in List
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7,7u4,7u9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x,windows_7
  • CPU: x86
  • Submitted: 2012-05-22
  • Updated: 2013-07-12
  • Resolved: 2012-08-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u6Fixed 8 b49Fixed
Related Reports
Duplicate :  
Relates :  
Description
Mac OS X 10.7.3, macmini4,1
JDK 7u6 b09.
Start any code with a java.awt.List with setMultipleSelection(true); you cannot select noncontiguous items non-programmatically.

On Mac, Cmd+click does that: it doesn't work in 7u6, neither does Ctrl+click etc. You can select contiguous items by Shift+click though but that's not enough.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/c277657e5e10
14-08-2012

SUGGESTED FIX http://hg.openjdk.java.net/jdk8/awt/jdk/rev/c277657e5e10
12-07-2012

EVALUATION Bug in SwingUtilities.convertMouseEvent(). It ignores extended statet of the event. getModifiers() should be replaced with getModifiers()|getModifiersEx()
12-07-2012