Auto save doesn't rescue subsheets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Blair Bonnett |
Bug Description
Only changes in top level can be rescued after crash.
Steps to reproduce 1:
1. Create root sheet and add subsheets
2. Set auto save to 1 min
3. Draw something in the sheets and close KiCad
4. Remove auto save ($...) files
5. Run KiCad in terminal, open root and go to some subsheet immediately
6. Make changes in subsheet and wait 1 min - auto save file of subsheet is created
7. Kill KiCad (ctrl+c)
8. Run eeschema - there is no proposition to get changes from auto save file
Steps to reproduce 2:
1. Make steps 1, 2, 3, 4 as above
2. Run KiCad in terminal and make changes in root and in some subsheet
3. After 1 min auto save files of root and subsheet are created
4. Kill and open KiCad - you can rescue root but changes from subsheets are lost.
Application: kicad
Version: (2015-02-26 BZR 5453)-product Release build
wxWidgets: Version 3.0.1 (debug,
Platform: Linux 3.13.0-37-generic x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0
Changed in kicad: | |
status: | New → Incomplete |
Changed in kicad: | |
status: | Confirmed → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I can't reproduce this in either case. When just editing the sub-sheet, I get a dialog
> Well this is potentially embarrassing! It appears that the
> last time you were editing the file 'subsheet.sch' it was not
> saved properly. Do you wish to restore the last edits you made?
when I reopen. If I edit both the main sheet and sub-sheet then I get two dialogs in a row, one for each file.
This is using the latest version (BZR 5464) on Arch Linux. Can you please try with the latest version and see if this still occurs for you?
------- ------- ------- ------- ------- ------- ------- ------- ------- --
Application: kicad wchar_t, compiler with C++ ABI 1002,GCC 4.9.2,wx containers, compatible with 2.8)
USE_WX_ GRAPHICS_ CONTEXT= OFF
USE_WX_ OVERLAY= OFF
KICAD_ SCRIPTING= ON
KICAD_ SCRIPTING_ MODULES= ON
KICAD_ SCRIPTING_ WXPYTHON= ON
USE_FP_ LIB_TABLE= HARD_CODED_ ON
BUILD_ GITHUB_ PLUGIN= ON
KICAD_ USE_WEBKIT= ON
Version: (2015-02-28 BZR 5464)-product Debug build
wxWidgets: Version 3.0.2 (debug,
Platform: Linux 3.18.6-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.57.0