autosave file is not opened after crash but removed silently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Seth Hillbrand |
Bug Description
KiCad used to ask user if he wants to recover files from autosave file but currently it doesn't work this way. Instead the autosave is silently removed. I think that the function which did that is the "CheckForAutoSa
Also it seems to me that default autosave intervals are random. I installed new stable KiCad on two computers with windows and the values were -27 minutes on one and some thousands of minutes the second one.
Application: kicad
Version: 5.1.0-unknown-
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-46-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
assignee: | nobody → Seth Hillbrand (sethh) |
status: | Triaged → In Progress |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Well, this is embarrassing. It appears that this function is not working correctly. It is _only_ called when loading pcbnew files (should also be called for eeschema) AND it uses the eeschema autosave prefix instead of the pcbnew prefix.
So I'll propose two actions here:
1) Unify the autosave prefix strings as there doesn't appear to be a reason for them to be different
2) Add this function to eeschema.
Objections?