Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334048 - [3.6.2] Clicking on a checkbox in a CheckboxTreeViewer selects the row.
Summary: [3.6.2] Clicking on a checkbox in a CheckboxTreeViewer selects the row.
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.2   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.6.2   Edit
Assignee: Scott Kovatch CLA
QA Contact: Silenio Quarti CLA
URL:
Whiteboard:
Keywords:
Depends on: 329840
Blocks:
  Show dependency tree
 
Reported: 2011-01-11 18:08 EST by Scott Kovatch CLA
Modified: 2011-01-13 01:29 EST (History)
4 users (show)

See Also:
Silenio_Quarti: review+


Attachments
3.6 branch fix (28.88 KB, patch)
2011-01-12 15:32 EST, Scott Kovatch CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Kovatch CLA 2011-01-11 18:08:36 EST
+++ This bug was initially created as a clone of Bug #329840 +++

Build Identifier: 20100617-1415

On Mac clicking on a checkbox in a CheckboxTreeViewer causes the corresponding row to be selected.

This does not happen on Windows. Also I could not find an Apple style guide that would require it to be like that. I think the behavior should be the same in this case.

P.s. I was not sure about the product and component and copied them form another bug related to the CheckboxTreeViewer.

Reproducible: Always

Steps to Reproduce:
1. Select an element in a CheckboxTreeViewer.
2. Click on the checkbox in a different row.
3. The selection changes.
Comment 1 Scott Kovatch CLA 2011-01-11 18:09:13 EST
Nominating for 3.6.2.
Comment 2 Silenio Quarti CLA 2011-01-12 14:36:52 EST
We need a patch for the R3_6_maintenance branch. The patch from bug#329840 does not apply clean.
Comment 3 Scott Kovatch CLA 2011-01-12 15:31:19 EST
I'll attach the patch in a moment, but it would also pick up a fix for bug 325230 (disallow clearing of selection in SWT.SINGLE mode). It's easy to comment it out, but it also seems like a good fix to bring over as well.
Comment 4 Scott Kovatch CLA 2011-01-12 15:32:58 EST
Created attachment 186673 [details]
3.6 branch fix
Comment 5 Silenio Quarti CLA 2011-01-12 17:24:25 EST
The patch looks good to me. It is a kind of scary to release it in RC2, but I will +1 since it has been running in HEAD for a couple of months.
Comment 6 Scott Kovatch CLA 2011-01-13 01:29:55 EST
Fixed in R3_6_maintenace > 20110113.