Loading modified drawing sheet quite tricky
Description
Schematic Editor and PCB Editor won't recognize modified drawing sheet file when selecting current version of a drawing sheet which has been used with same file name before.
After modifying a drawing sheet in Drawing Sheet Editor and saving with same name Schematic Editor and PCB Editor will still use the old version after opening the new file since the old version is embedded into the schematic or PCB file and won't get replaced. Should embedded the current file version in any case when selecting the drawing sheet.
Steps to reproduce
- Create a new schematic.
- Open File -> Page Settings dialog and select a custom Drawing sheet, click ok.
- Open the custom Drawing Sheet in Drawing Sheet Editor and do a modification (e.g. change/edit text).
- Save the Drawing Sheet and close Drawing Sheet Editor.
- Go back to Schematic Editor.
- Open File -> Page Settings dialog and select the same custom Drawing sheet again, click ok. Schematic Editor will still use the old version of the file.
- Open File -> Schematic Setup dialog, select "Embedded Files" from the tree at the left.
- Select the corresponding drawing sheet from the list and click the trashcan button to delete it.
- Leave the dialog by clicking "ok". 10.Save and close the schematic. 11.Open the schematic again.
- Open File -> Page Settings dialog and select the affected Drawing sheet again, click ok. Now it will work, the current file version will have been imported into the schematic file.
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: 9.0.1, release build
Libraries:
wxWidgets 3.2.6
FreeType 2.13.3
HarfBuzz 10.2.0
FontConfig 2.15.0
Platform: Windows 11 (build 26100), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: NVIDIA Corporation, NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2, 4.6.0 NVIDIA 560.94
wxWidgets: 3.2.6 (wchar_t,wx containers)
Boost: 1.86.0
OCC: 7.8.1
Curl: 8.11.1-DEV
ngspice: 44
Compiler: Visual C++ 1942 without C++ ABI
KICAD_IPC_API=ON
Locale:
Lang: en_GB
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited by Michael Reimann