Skip to content

Find function: omits some found strings

Description

The Find-function in the provided example seems to find all strings (all are highlighted with rose color), but on click on "Find"-button some occurences are not selected but skipped.

  • Affects also the "F3"-FindNext-hotkey.
  • Affects also the Find&Replace-function.

Raising priority to medium as the affected "Find&Replace" could lead to real problems at renaming nets.

Steps to reproduce

  1. open attached project, open schematic: Use_Netclass_Trackwidth_Bug.zip (kindly provided by @straubm))
  2. "CTRL+F" to search for "SOLDERTIP"
  3. 6 occurences are highlighted at root-page, but only first occurence is selected at click on "FIND"-button, after that the "Find"-dialog jumps to page "Analog"
  4. on page "Analog" all 4 occurences are found (highlighted) and also subsequently selected.

search_soldertip

KiCad Version

Application: KiCad Schematic Editor x64 on x64

Version: (7.0.0-rc1-70-g9298defd3f), release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.12.1
	HarfBuzz 5.0.1
	FontConfig 2.14.1

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

	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++ 1934 without C++ ABI

Build settings:
	KICAD_SPICE=ON
Edited by Maik Freitag