Bug 355852 - sorting of variables messes up indexes in vectors/arrays
Summary: sorting of variables messes up indexes in vectors/arrays
Status: RESOLVED DUPLICATE of bug 119929
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (show other bugs)
Version: 4.90.90
Platform: Other Linux
: NOR normal
Target Milestone: 5.0.0
Assignee: kdevelop-bugs-null
URL: https://www.dropbox.com/s/l49z59q9xpi...
Keywords: regression, release_blocker
Depends on:
Blocks:
 
Reported: 2015-11-24 16:53 UTC by peje66
Modified: 2016-01-23 18:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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