9.0.5 - some tracks lengths calculation inconsistences
Description
We found out that there is a problem with single track length calculation as well as diff pair tuning tool. Track lengths seem to depend on the place of the cursor in some cases. It happens to some tracks, not all of them. Here is an example:
It seems that it is caused by this commit: 176d0f58. Reverting it gives more stable results, but they are also different from regular 9.0.5:
I have no idea if calculation by using the old code is accurate, but unstable results from 9.0.5 are very misleading and untrustworthy.
Steps to reproduce
TBD.
Maybe we can provide You with a kicad pcb file which contains such tracks.
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 9.0.5, release build
Libraries:
wxWidgets 3.2.8
FreeType 2.13.3
HarfBuzz 10.2.0
FontConfig 2.15.0
Platform: Windows 11 (budowa 26100), wydanie 64-bitowe, 64 bit, Little endian, wxMSW
OpenGL: ATI Technologies Inc., AMD Radeon(TM) 780M, 4.6.0 Compatibility Profile Context 24.10.30.10.250218
wxWidgets: 3.2.8 (wchar_t,wx containers)
Boost: 1.88.0
OCC: 7.9.1
Curl: 8.13.0-DEV
ngspice: 45.2
Compiler: Visual C++ 1944 without C++ ABI
KICAD_IPC_API=ON
Locale:
Lang: pl_PL
Enc: UTF-8
Num: 1 234,5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)


