The Length Tuning Tool does not correctly display the trace length for internal layers

Description

The Length Tuning Tool does not correctly display the trace length for internal layers when compared to the analysis In the status bar at the bottom of the screen. This discrepancy does not occur when internal layers are not used.

image image imageimageimage image

Steps to reproduce

  1. Project file attached.testproject.rar
  2. The project uses a custom design rule to set the target length.
  3. (version 1) (rule "target length and skew for My_class" (condition "A.hasNetclass('My_class')") (constraint length (min 30mm) (opt 31mm) (max 32mm)) (constraint skew (max 0.1mm)) )

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 9.0.7, release build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.13.3
	HarfBuzz 12.2.0
	FontConfig 2.15.0

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

	wxWidgets: 3.2.8 (wchar_t,wx containers)
	Boost: 1.89.0
	OCC: 7.9.2
	Curl: 8.17.0-DEV
	ngspice: 45.2
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON

Locale: 
	Lang: en_CA
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Assignee Loading
Time tracking Loading