Red Hat Bugzilla – Bug 110469
Finish button not correctly enabled when converting projects to C/C++ natures
Last modified: 2014-08-11 01:46:17 EDT
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):
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.
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.
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.
This works in CDT 2.0 (tested with eclipse-cdt-2.0.2-1 rpm).