Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348781 - Problem adding environment variables to preferences
Summary: Problem adding environment variables to preferences
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 8.2   Edit
Assignee: Andrew Gvozdev CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 13:22 EDT by Joseph Remes CLA
Modified: 2013-02-27 12:16 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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