FP editor, Symbol editor: issues with "new", "save as", "rename" if footprint/symbol with same name already exist
Description
-
Trying to create new symbol with the name of already existing one displays same warning as in "save as" case, but after choosing "cancel" symbol creation dialog disappears and all info typed by user to this dialog is lost, which I think is incorrect - user should have opportunity to change name, not fill all dialog fields again. -
Trying to create new footprint with the name of already existing one silently overwrites old footprint, I think this is incorrect and same warning as in "save as" case must be displayed. -
Trying to rename existing footprint to the name of already existing one displays warning without opportunity to overwrite existing one (I think this is incorrect and same dialog as in "save as" case should be displayed) and after closing this warning user can edit new name - this part is almost correct, but new name field pre-filled with name of original footprint, not with name previously typed by user. -
Trying to rename existing symbol to the name of already existing one displays warning without opportunity to overwrite existing one and after closing this warning rename dialog is closed too and user unable to edit new name - he/she has to start all over again. I think user should have the opportunity to edit already typed new name.
Steps to reproduce
- Open symbol editor.
- Try to create new symbol, type symbol name same as name of existing one.
- Try to rename symbol to name of existing one.
- Try to "save as" symbol with the name of existing one.
- Repeat all above in footprint editor.
KiCad Version
Application: KiCad PCB Editor
Version: (7.0.0-93-gc189053ee5), release build
Libraries:
wxWidgets 3.0.5
FreeType 2.11.1
HarfBuzz 2.7.4
FontConfig 2.13.1
Platform: Linux Mint 21.1, 64 bit, Little endian, wxGTK, cinnamon, x11
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.1
Curl: 7.81.0
ngspice: 38+
Compiler: GCC 11.3.0 with C++ ABI 1016
Build settings:
KICAD_SPICE=ON
```зкште увшещкб