Skip to content

Create Project from Template doesn't rename template files

Description

Template files (schematics, pcb) have set names in the template folder. They used to (KiCad v5) be renamed to the new project name when creating a project from template. Now, they are copied to the new project folder but retain their old names. Empty files with the new project name are also created

Steps to reproduce

  1. Launch KiCad
  2. Create Project from Template

KiCad Version

Application: KiCad

Version: (5.99.0-10632-g8f3343b9e3-dirty), debug build

Libraries:
	wxWidgets 3.0.5

Platform: Linux 5.8.0-3-amd64 x86_64, 64 bit, Little endian, wxGTK, xfce, x11

	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.5.1
	Curl: 7.74.0
	ngspice: 34
	Compiler: GCC 10.2.1 with C++ ABI 1014

Build settings:
	KICAD_SCRIPTING=ON
	KICAD_SCRIPTING_MODULES=ON
	KICAD_SCRIPTING_PYTHON3=ON
	KICAD_SCRIPTING_WXPYTHON=ON
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
	KICAD_SCRIPTING_ACTION_MENU=ON
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON
	KICAD_STDLIB_DEBUG=OFF
	KICAD_STDLIB_LIGHT_DEBUG=OFF
	KICAD_SANITIZE_ADDRESS=OFF
	KICAD_SANITIZE_THREADS=OFF