The path to drawing sheet in PCB changes whenever the project is closed

Hello everyone,

I am using KiCad 9.0.2 on Windows 11 and have created a custom drawing sheet using the Drawing Sheet Editor.
The sheet file is saved in Documents\KiCad\9.0\template\xxx.kicad_wks, and I use it for both the schematic and the PCB.

The issue is: whenever I close and reopen the project, the drawing sheet for the PCB gets reset. The root cause seems to be related to the file path formatting.
As shown in the attached image, KiCad automatically stores the path with double backslashes (\\). If I manually replace them with forward slashes (//) and click OK, the issue is resolved and my custom .kicad_wks file is correctly applied.

However, this change does not persist — each time I close the project and then reopen it, the sheet on the PCB is reset and the path needs to be fixed again.

Interestingly, the schematic editor does not have this problem and consistently retains the correct drawing sheet without any manual adjustment.

Now, I’m not sure whether this is a bug or if I’m just missing something and getting a false result.
I’d really appreciate any insights or suggestions.

Many thanks in advance!

Looks like a bug, but as 9.0.3 was released than before reporting it as a bug you should check if the problem still exists in 9.0.3.

But…
I wonder why you show sheet file path with ‘\’ and then need to change ‘\’ into ‘/’.
I suppose I have my path (Windows 10, KiCad V 8.0.9) with ‘\’ specified, but will be able to check it in 1 hour.

Here is your answer . .

And I got surprise:
In (V8) schematic file path uses ‘/’, but in PCB uses ‘\’.
I have never written it myself, I have just selected a file.

Thank you for your response and refer!
So, I write it down again for further visitors.

When you want to choose/browse for the drawing sheet (.kicad_wks) file, you should uncheck the “Embed File” checkbox in order not to have embed path(?).

Then after clicking ok, it comes up, stays steady and does not get reset after closing and reopening the project.

1 Like

Exactly.