I have a weird Eschema behaviour when editing custom fields.
I added two custom fields in File > Schematic Setup > General > Field Name Templates. Let’s say Aaa and Bbb.
I used Aaa and filled it with some data for many components, but Bbb was completely empty. Then I renamed Bbb to Ccc (because the new name would better represent what I wanted to use).
Now in the Field Name Templates I can see Aaa and Ccc fields only, but each component has Aaa and Ccc fields as well as Bbb field (the one renamed to Ccc later).
@jmk - many thanks for checking. I didn’t spotted that, because I’ve had a Bbb field created a few days ago and each components were opened and edited in meantime (with Bbb field not used at all) and no new components added since the rename to Ccc.
Could someone else confirm it please, so I’ll fill a bug report if this is not intentional “feature”
I’m not sure whether or not this is a bug, although it is confusing behavior. Feel free to report it and we can discuss.
The Field name templates are just that: templates – there is not a strong link between the field name template and the fields created from these templates, so currently renaming them works like you describe.
Give a template a name (without filling in anything), open a symbol, find you need to change the name or correct a typo, correct or change the name. Now you have a single replacement template for all symbols except the one that has been opened which now has two templates.
I’d call it confusing and probably a program oversight rather than a bug. JMHO
Theoretically, I suppose the offending template should first be removed and a replacement then added, in which case corrections/changes shouldn’t be allowed.
After these actions, try to delete the original template that has been changed and is being displayed on a/some symbols.
It is not possible without deleting and then replacing the symbol/s displaying the two templates.
Correct! This can be deleted only from Edit Symbol Field dialog, but you have to do it for each symbol which doesn’t make sense.
Looks like a bug then.
Will report.
Thank you everyone for your feedback.
EDIT:
I created an issue report there if anyone wants to contribute and comment: