today I was using Pcbnew and instead of opening a library and editing the footprint there I opted instead to right click on my existing footprint, and selected “Open in Footprint Editor”. From there I was able to edit my footprint, which happens to be for a fairly complex assembly. This took me nearly 3 hours of editing, along with regular saves along the way. I had just finished my footprint, including 3D model imported, and was putting the finishing touches to it. I attempted to move a line (Referenced move) which brought up the menu as it usually does, but unfortunately when I put in my move measurement it froze for several seconds before crashing out, shutting down not only the footprint editor, but also the PCB instance that had opened the footprint.
“Not to worry” I thought as I re-opened Pcbnew, as at most I should have only lost about 10 minutes work. Well guess what? All my work for this afternoon is gone! None of my saves in the footprint editor are visible. I have tried opening the footprint again by right clicking on the footprint in pcbnew and selecting “Open in Footprint Editor”. I have also looked in the original library, but all I see is the foot print as it stood from earlier today!
Where has it magically saved my footprint to? Can I recover it? Was it saved at all while in the footprint editor? I have noticed that when I clicked save in the footprint editor, in the background the main pcb in Pcbnew suddenly flashes up the “Save” icon, indicating there is unsaved work. Does this mean that work in the footprint editor is only truly saved if you first click save in the footprint editor, and then when you exit and click save in Pcbnew? If this is the case, this is definitely a UI bug, as people would expect that when you click save, your work is saved.
Any help would be appreciated, as otherwise I’m going to have to start over
For reference, I am using Kicad Version 5.1.5 on Ubuntu 20.04. Plenty RAM and horsepower on this machine and crashes like this are exceedingly rare.