EDIT: Looks like this is a Windows permission issue. Will confirm after fixing and testing.
Kicad 5.1.7, Windows 10.
This concerns a library of mine that contains a few symbols and is added to the library paths.
Steps to reproduce:
Open Schematic Editor
Open Symbol Editor
Filter down to part I want to edit. This part is in a library I created. I also created this part.
Double click on part in the list on the left.
Click “Edit Symbol Properties” on toolbar.
Click + button to add a field. Give this field a name.
Click OK, click save button.
Close Symbol Editor.
Repeat steps 2-5 to get to Edit Symbol Properties.
New field is gone.
If instead I don’t close the Symbol Editor after adding the field and saving, and open Edit Symbol Properties again, the field shows, but when I close Edit Symbol Properties, now I have an asterisk beside my symbol, meaning that it needs to be saved. This does not make sense because I had previously saved.
I have confirmed that the lib file does get modified when I click save (via Notepad++), but the new field does not get added to the actual file upon save.
I also tried duplicating the symbol in the library after adding the new field and saving, but the duplicated part does not contain the new field (as viewed in the symbol editor and with Notepad++).
I’ve tried reproducing this and have no problems. I can add a field and save it.
Mind you, I’m running Linux/Lubuntu, but that shouldn’t be an issue with KiCAD.
Thank you for taking the time for trying to reproduce!
Looks like this is a Windows permissions issue. How on earth did my D drive suddenly become Read Only for regular users? Windows, y u gotta b like that
I’m a bit out my league here but have an Idea that may help…
I have a memory of extra attributes of schematic symbols being saved in a separate file from the rest of the libraries.
After looking at a project of mine in which I know I’ve added an extra field to a schematic symbol I found a file with the name: “project-name.dcm” which has info about the extra attributes I added.
I’ve also got the idea that changes made with the Schematic Symbol Editor are not always immediately reflected in the schematic. It seems that sometimes I have to exit KiCad and restart it. I have never put enough effort in it to determine if this is a bug or my imagination.