Hi,
I noticed that there's a bug in the decoding of repetitive fields. In that kind of fields, the first byte gives the number of repetitions and you do not skip it while decoding the repetitions. It means that the decoding of the fields is one byte before the actual fields and all the decoded data are wrong (but it does not influence the next fields and items in the file, they are still correct).
I attached two files with a possibility to solve the problem. You can diff the files against version 0.13.1. You can ignore the modification in applyUnitAndScale, I just did a reformating since I wanted to see the milliseconds of the fields having a time value.
Anonymous
Hello,
I can confirm both: The bug exists in the latest version 0.13.1, and the suggested code (dataItemWidget.cpp/h) do fix the problem. However, the fix is not really beautiful and probably need some refactoring.
Nevertheless, it would be nice if this bugfix would somewhen find its way into the repository.
Thanks and regards
Andreas