Bug 110469

Summary: Finish button not correctly enabled when converting projects to C/C++ natures
Product: [Retired] Red Hat Developer Suite Reporter: Jeremy Handcock <handcock>
Component: CDTAssignee: Tom Tromey <tromey>
Status: CLOSED UPSTREAM QA Contact: eclipse-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: ben, patrickm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-29 21:30:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeremy Handcock 2003-11-19 19:49:14 UTC
Description of problem:
When converting a project to C/C++, the "Finish" button is not
initially enabled in the "Candidates for conversion" dialog, even
though a checkbox in the list is checked.  

Version-Release number of selected component (if applicable):
snapshot-20031119-eclipse-2.1.1-3

How reproducible:
Always

Steps to Reproduce:
1. Right-click on project to be converted: New -> Other...
2. Select "C" (or "C++") and "Convert to a C/C++ Make Project"
3. Click Next

Actual Results:  The project that I selected to convert has its
checkbox checked, but the Finish button is not enabled.

Expected Results:  The Finish button should be enabled whenever a
checkbox is checked.

Comment 1 Tom Tromey 2003-11-19 20:28:33 UTC
I've investigated this a little.
If you click on the project's name, the Finish button
will be enabled.  So, that's a workaround.


Comment 2 Tom Tromey 2003-11-20 18:49:28 UTC
I researched this some more.
It appears to be a bug either in SWT or in Gtk.
It looks like the CDT code is implemented properly...

When creating the CheckboxTableViewer, the CDT code calls
setAllChecked(false) to clear all the items.  If you examine
the checked items immediately after this, none are checked.

So, at this point it looks like a rendering problem of some kind:
the item really isn't checked, and is simply displayed incorrectly.

I'm going to stop work on this PR for the time being.  It isn't
critical enough to justify the time I've already put in...
We can look again later.


Comment 3 Ben Konrath 2004-11-29 21:30:13 UTC
This works in CDT 2.0 (tested with eclipse-cdt-2.0.2-1 rpm).