Project: SWT
Bug 264764 Table, Tree, List send DefaultSelection when double-click in header
Reported: 2009-02-12 15:01:44 | Status: resolved fixed

- run the snippet below and observe that DefaultSelection events are incorrectly received if you double-click in the header or in the Table's whitespace - Tree and List have the same problem - this creates some strange behaviours in eclipse - also note that the DefaultSelection event never has its item field set (it should for Table and Tree)

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableView.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java