Skip to content

Editing length tuning on net inspector highlighted net sometimes takes a long time

Description

The current behavior: If a net is highlighted using the net inspector, editing the length tuning could sometimes take a long time (between several seconds to over a minute, often around 10 seconds) The expected behavior: Editing the length tuning when the net is not highlighted finishes instantly. Highlighting it shouldn't slow it down this much.

Steps to reproduce

  1. Open some KiCad project, open the PCB in the PCB editor
  2. Find one trace, turn its length using 7 key
  3. Open tools -> net inspector, click on the net that was just tuned. It should now be highlighted
  4. Click on the length tuned section, the section should be selected now
  5. Drag on the control points to turn its spacing/ amplitude/ start point etc
  6. Even though tuning finishes instantly, note the application is still busy and the trace might flicker multiple times before the application is responsive again

KiCad Version

Application: KiCad PCB Editor arm64 on arm64

Version: 8.0.0-rc3-2-g1717f39daf, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.13.2
	HarfBuzz 8.2.0
	FontConfig 2.14.2
	libcurl/7.88.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.51.0

Platform: macOS Ventura Version 13.4 (Build 22F66), 64 bit, Little endian, wxMac

Build Info:
	Date: Feb 17 2024 08:07:08
	wxWidgets: 3.2.4 (wchar_t,wx containers)
	Boost: 1.82.0
	OCC: 7.7.2
	Curl: 7.87.0
	ngspice: 42
	Compiler: Clang 14.0.3 with C++ ABI 1002

Build settings: