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

Bug 348781

Summary: Problem adding environment variables to preferences
Product: [Tools] CDT Reporter: Joseph Remes <joe.remes>
Component: cdt-buildAssignee: Andrew Gvozdev <angvoz.dev>
Status: RESOLVED FIXED QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: normal    
Priority: P3 CC: cdtdoug, yevshif
Version: 8.0   
Target Milestone: 8.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Joseph Remes CLA 2011-06-08 13:22:16 EDT
I am migrating C projects to Indigo (RC4) and I'm finding a bug in the C Preferences. 
In Window->Preferences->C/C++->Build->Environment, it behaves badly when trying to add a new variable. I am not getting an error message. It just ignores me when I hit the OK button. It acts as if I hit the Cancel button. But not every time. Most of the time it ignores me on the first try. I go through the Add dialog a second time and it works. Sometimes it takes three or four tries before it accepts it and the variable that I wish to add shows up in the list.

CDT Build ID is  201105301135
I am running a 64-bit SE1.6 JVM
Comment 1 Andrew Gvozdev CLA 2013-02-24 15:36:38 EST
Fixed on master (CDT 8.2).
Comment 2 CDT Genie CLA 2013-02-27 12:16:33 EST
*** cdt git genie on behalf of Andrew Gvozdev ***

    bug 348781: Problem adding environment variables to preferences

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=fffc3a13e357dff2755f39e5b88055cb886321da