Skip to content

pcbnew: de-highlight a track without name doesn't work

Description

The highlighting of tracks can be removed with 3 actions:

  1. CTRL-click on any empty canvas space to remove all highlighting
  2. CTRL-click on another track to remove first highlight and instead move the highlight to the new clicked track
  3. second CTRL-click on already highlighted track --> removes highlight

This works for standard tracks with names (as imported from eeschema).

But for unnamed tracks the option 3) doesn't works. YOu can CTRL-click 1000times on an unnamed track, the highlight doesn't goes away.

sidenote:

  • highlighting an unnamed track highlights ALL no-net-name tracks on the whole board together.
  • Intentional?
  • Wouldn't it be better in this case to only highlight the "connected copper tracks"?

Steps to reproduce

  1. open attached project, open board
  2. highlight any of the tracks on the left side
  3. try to remove the highlight with all 3 options mentioned:
  • CTRL-click on any empty canvas space --> works
  • CTRL-click on another track to remove first highlight --> works
  • second CTRL-click on already highlighted track --> works
  1. highlight the unnamed tracks on the bottom right side
  2. try to remove the unnamed-net-track highlight:
  3. second CTRL-click on already highlighted track --> doesn't remove highlight

dehighlight_60.zip

version-info: also regards v6.99

KiCad Version

Application: KiCad PCB Editor (64-bit)

Version: (6.0.0-rc2-14-ga17a58203b), release build

Libraries:
	wxWidgets 3.1.5

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

	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.5.0
	Curl: 7.78.0-DEV
	ngspice: 35
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON
Edited by Jeff Young