Bug 355852

Summary: sorting of variables messes up indexes in vectors/arrays
Product: [Applications] kdevelop Reporter: peje66
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: niko.sams
Priority: NOR Keywords: regression, release_blocker
Version: 4.90.90   
Target Milestone: 5.0.0   
Platform: Other   
OS: Linux   
URL: https://www.dropbox.com/s/l49z59q9xpixx58/kdevelop4.90.90.png?dl=0
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description peje66 2015-11-24 16:53:26 UTC
When debugging and looking at a vector in variable window the indexes of this vector is alphabetically sorted not numerically sorted.
Indexes 0 to 12 becomes:
0,
1,
10,
11,
12,
2, 
3,
4, 
5, 
6, 
7, 
8, 
9


Reproducible: Always


Actual Results:  
0,
1,
10,
11,
12,
2, 
3,
4, 
5, 
6, 
7, 
8, 
9


Expected Results:  
0,
1,
2, 
3,
4, 
5, 
6, 
7, 
8, 
9,
10,
11,
12,
Comment 1 Milian Wolff 2015-11-24 17:04:45 UTC
should be fixed by using natural sorting and/or revising the patch that added the sorting to limit it to the first level and not reorder child items.
Comment 2 Milian Wolff 2016-01-23 18:22:45 UTC
fixed now

*** This bug has been marked as a duplicate of bug 119929 ***