Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317323

Summary: Table: Multiple selected items cannot be deselected by clicking.
Product: [Eclipse Project] Platform Reporter: subhayes
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: skovatch, tpwinkle
Version: 4.0   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description subhayes CLA 2010-06-18 13:19:50 EDT
Build Identifier: Version: 3.4.0 Build id: I20080617-2000

In a SWT/JFace Table, you can select multiple items. On the Mac, to deselect the entire selection, you have to find an empty spot in the table widget and click there. This is very difficult to do when the widget occupies the entire composite/window. On Windows, clicking on a selected item will undo the entire selection. This is how the Mac Finder window works as well. 

Reproducible: Always

Steps to Reproduce:
1. Create a Table with the multiple selection flag. Add multiple TableItems to it.
2. Click on the first item. Shift Click the last item. This will select the entire table.
3. Click on one of the already selected items. It should undo the entire selection but it does not do that currently.
Comment 1 Scott Kovatch CLA 2010-06-18 13:35:33 EDT
Fascinating -- Carbon 3.6 has this behavior as well. Cocoa does not, however, so the odds of this being fixed are very low. If you can move to Cocoa that would be your best solution.
Comment 2 Tim CLA 2011-02-22 12:12:00 EST
Wouldn't this be a duplicate of 108328?
Comment 3 Lakshmi P Shanmugam CLA 2017-07-04 05:28:30 EDT
Carbon is not a supported platform anymore.