Differential Pair Length Tuning doesnt use entire track length

Description

Using the differential pair length tuning tool only works for a segment and not the entire trace.

Net Inspector correctly highlights and calculates the trace length. image

But the length tuning tool shows that the trace has no mismatch on this side. image

On the shorter end it displays the difference. image

Steps to reproduce

  1. Create a differential pair with connected components like TVS diodes.
  2. Route from side A to the component and from the component to side B.
  3. Try to create a length mismatch.
  4. Use differential length tuning.

KiCad Version

Application: KiCad Leiterplatteneditor (64-bit)

Version: (6.0.10), release build

Libraries:
	wxWidgets 3.2.1
	libcurl/7.86.0-DEV Schannel zlib/1.2.13

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Dec 19 2022 21:23:04
	wxWidgets: 3.2.1 (wchar_t,wx containers)
	Boost: 1.80.0
	OCC: 7.6.2
	Curl: 7.86.0-DEV
	ngspice: 38
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON
Edited by Martin Gandler