https://bugs.kde.org/show_bug.cgi?id=119929

Piotr Mierzwinski <piotr.mierzwin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |piotr.mierzwin...@gmail.com

--- Comment #15 from Piotr Mierzwinski <piotr.mierzwin...@gmail.com> ---
The same happen when we unfold QStringList contains more than 10 items. I aware
that QStringList is vector variation contains strings instead of numbers. It
was only next example.
This issue probably happens because there are sorting strings (presenting
indexes) and not numbers.

Some solution for this could be adding 0 to the left side of indexes, making
that them length (as string) would be equal. I mean left padding every indexes
shortest than one longest (counting number of digits). I think, example will
show the best what I mean.
There is QStringList contains 12 strings. This vector/list would be presented
in Variable view like this.

myStrList
 |-[00] aa
 |-[01] bb
 |-[02] cc
 |-[03] dd
 |-[04] ee
 |-[05] ff
 |-[06] gg
 |-[07] hh
 |-[08] ii
 |-[09] jj
 |-[10] kk
  \-[11] ll

Thanks leading "0", change of sorting would not broke the order of items.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to