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

Bug 358835

Summary: Tools Settings page forgets selected node
Product: [Tools] CDT Reporter: Eugene Ostroukhov <eostroukhov>
Component: cdt-build-managedAssignee: Andrew Gvozdev <angvoz.dev>
Status: RESOLVED FIXED QA Contact: Chris Recoskie <recoskie>
Severity: enhancement    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: 8.1.0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Suggested attachment cdtdoug: iplog+

Description Eugene Ostroukhov CLA 2011-09-25 22:19:31 EDT
Created attachment 203980 [details]
Suggested attachment

I believe following use-case may be quite common:
1. Adjust compiler settings (i.e. debug settings)
2. Close properties and compile.
3. Reopen property dialog to further alter the settings.

Another use-case would be to alter same settings across several projects.

I believe that it would be better if the tools settings tab restored tree selection on restart. Please find suggested implementation attached to this bug.
Comment 1 Andrew Gvozdev CLA 2011-09-26 10:56:41 EDT
Looks good to me, pushed to master. Thanks for the patch.

Note that there is another use case (as well as for bug 358829): While creating a new project user can use "Next" button to get "Select Configurations" and edit properties of project being created. I am unsure if it is a good thing or not to reuse selection in there but that use case would be quite uncommon.
Comment 2 CDT Genie CLA 2011-09-26 11:23:02 EDT
*** cdt git genie on behalf of Eugene Ostroukhov ***

    bug 358835: Tools Settings page forgets selected node

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