“Remove redundant tracks” should not (silently) remove locked tracks

The function

Route → Interactive Router Settings → General Options → Remove redundant tracks

silently removes locked tracks. Locked tracks are locked for a reason. They should be there, no matter what. This behaviour is unexpected and has confused users in the past:

Why does Kicad automatically remove my trace even if locked?

Redundant track remover overrides locked flag on tracks

Actual behaviour

“Remove redundant tracks” does silently remove locked tracks.

Desired behaviour

When “Remove redundant tracks” is selected, do remove redundant unlocked tracks and leave locked tracks in place. Maybe issue a warning that not all tracks could be removed.

Version: 9.0.6

Application: KiCad x86_64 on x86_64

Version: 9.0.6+dfsg-1, release build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.13.3
	HarfBuzz 12.1.0
	FontConfig 2.15.0
	libcurl/8.17.0 OpenSSL/3.5.4 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 ngtcp2/1.16.0 nghttp3/1.12.0 librtmp/2.3 mit-krb5/1.21.3 OpenLDAP/2.6.10

Platform: Debian GNU/Linux forky/sid, 64 bit, Little endian, wxGTK, X11, lightdm-xsession, x11

Build Info:
	Date: Nov  3 2025 16:44:05
	wxWidgets: 3.2.8 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.83.0
	OCC: 7.8.1
	Curl: 8.17.0-rc3
	ngspice: 45.2
	Compiler: GCC 15.2.0 with C++ ABI 1020
	KICAD_IPC_API=ON

Locale: 
	Lang: en_IE
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited Nov 24, 2025 by Marco T
Assignee Loading
Time tracking Loading