pcbnew: When making reference field invisible in Edit Text & Graphics, also makes fields containing ${REFERENCE} invisible
Description
When "Reference designators" is selected in "Edit Text & Graphics Properties", the requested edits also apply to text fields with the value "${REFERENCE}". I expected the latter fields to be included with "Other footprint text items".
Steps to reproduce
- Select a component that includes additional copies of the reference (e.g., Capacitor_SMD:C_0603_1608Metric).
- Open Edit Text & Graphics.
- In the "Scope" group, select only "Reference designators". In the "Filters" group, select only "Only include selected items".
- In the "Action" group, uncheck "Visible".
- Select "OK".
- Observe that both the primary reference designator and the extra copy within the body outline have been rendered invisible.
KiCad Version
Application: KiCad PCB Editor (64-bit)
Version: (6.0.4), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.78.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 22000), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Mar 18 2022 03:04:44
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.6.0
Curl: 7.78.0-DEV
ngspice: 36
Compiler: Visual C++ 1928 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON