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

Bug 322204

Summary: Sort order of build configurations is chronological and not alphanumerical in the toolbar
Product: [Tools] CDT Reporter: Dirk Wibben <dirk.wibben>
Component: cdt-buildAssignee: Andrew Gvozdev <angvoz.dev>
Status: RESOLVED FIXED QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: normal    
Priority: P3    
Version: 8.0   
Target Milestone: 7.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Chronological order of 'Build' targets
none
Alphanumeric order of 'Managing Configurations' none

Description Dirk Wibben CLA 2010-08-10 04:15:24 EDT
Build Identifier: 20100617-1415

When one selects a 'Build' target by using the 'drop down'-arrow besides the hammer, that drop-down-list is sorted chronological (order of added targets) and not alphanumerical like in the 'Managing configurations' dialog (Project | Properties | C/C++ Build  -> 'Manage Configurations...'-button).

Reproducible: Always

Steps to Reproduce:
1. Add several 'Build' targets in NON-alphanumeric order in 'Managing Configurations'.
2. Click on the 'drop down' arrow beside the hammer.
Comment 1 Dirk Wibben CLA 2010-08-10 04:17:48 EDT
Created attachment 176209 [details]
Chronological order of 'Build' targets
Comment 2 Dirk Wibben CLA 2010-08-10 04:18:21 EDT
Created attachment 176210 [details]
Alphanumeric order of 'Managing Configurations'
Comment 3 CDT Genie CLA 2010-08-10 16:23:06 EDT
*** cdt cvs genie on behalf of agvozdev ***
bug 322204: Sort order of build configurations is chronological and not alphabetical in the toolbar

[*] ChangeBuildConfigActionBase.java 1.12 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/ChangeBuildConfigActionBase.java?root=Tools_Project&r1=1.11&r2=1.12
Comment 4 Andrew Gvozdev CLA 2010-08-10 16:33:32 EDT
That one was easy for a change. Committed on HEAD (8.0) and 7.0.1.
Comment 5 CDT Genie CLA 2010-08-10 17:23:03 EDT
*** cdt cvs genie on behalf of agvozdev ***
bug 322204: Sort order of build configurations is chronological and not alphabetical in the toolbar

[*] ChangeBuildConfigActionBase.java 1.11.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/ChangeBuildConfigActionBase.java?root=Tools_Project&r1=1.11&r2=1.11.2.1