Skip to content

New jobset won't overwrite existing jobset file

Description

When you select the menu entry for "New jobset" in the project manager and then tell it to overwrite an existing jobset file, you get the dialog prompting you that the contents will be overwritten:

image

However, if I click "Replace" the existing jobset file is actually opened instead of a new blank jobset being created to overwrite that file.

Steps to reproduce

  1. Create a jobset and save it with a new name.
  2. Reopen KiCad so no jobsets are open
  3. Open the menu item for "New jobset file"
  4. Select the jobset from 1 in the dialog
  5. Clock "Replace" in the dialog
  6. See that instead of an empty jobset, the contents of the existing jobset are loaded

KiCad Version

Application: KiCad x86_64 on x86_64

Version: 9.0.0-rc3-14-g3d526edc8a, debug build

Libraries:
	wxWidgets 3.2.6
	FreeType 2.13.3
	HarfBuzz 9.0.0
	FontConfig 2.15.0
	libcurl/8.9.1 OpenSSL/3.2.2 zlib/1.3.1.zlib-ng brotli/1.1.0 libidn2/2.3.7 libpsl/0.21.5 libssh/0.10.6/openssl/zlib nghttp2/1.62.1 OpenLDAP/2.6.8

Platform: Fedora Linux 41 (MATE-Compiz), 64 bit, Little endian, wxGTK, X11, mate, x11

Build Info:
	Date: Feb  9 2025 15:15:52
	wxWidgets: 3.2.6 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.83.0
	OCC: 7.8.0
	Curl: 8.9.1
	ngspice: 43
	Compiler: Clang 19.1.5 with C++ ABI 1002

Build settings:
	KICAD_IPC_API=ON
	KICAD_STDLIB_DEBUG=OFF
	KICAD_STDLIB_LIGHT_DEBUG=ON
	KICAD_SANITIZE_ADDRESS=ON
	KICAD_SANITIZE_THREADS=OFF

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)