(Footprint editor) Changing user grid exits custom pad edit mode, turning all elements of the pad into graphic shapes
Description
As in the title. If you change the user grid while editing a custom pad ("Edit pad as graphic shapes" option in the right click menu), the pad edit mode is exited without turning the graphic shapes back into a pad. I would expect this not to exit pad edit mode at all, but at least turn the shapes back into a pad if it does!
Steps to reproduce
- While editing a footprint, right click one of the pads and choose "Edit pad as graphical shapes".
- Realize this component has the dimensions of its pads all on a weird grid, and pick "edit user grid" from the grid selection dropdown.
- Change the grid to whatever you want, then press OK.
- Suddenly, all your work is for naught! You're no longer in pad edit mode, and the pad has turned into a pile of graphical shapes and one regular rectangular pad, with no clear way to turn it all back. (Entering pad edit mode on the relevant pad and then exiting it does work, but it's not clear that you can do this.)
KiCad Version
Application: KiCad Footprint Editor (64-bit)
Version: (6.0.8), release build
Libraries:
wxWidgets 3.1.7
libcurl/7.83.1-DEV Schannel zlib/1.2.12
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Sep 29 2022 00:21:26
wxWidgets: 3.1.7 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON