Hello, there still a point that needs to be fixed (it is still possible to loose data in this way):
If you creatc the second child sheet with copy/paste before the first sheet has been saved you get a
"Error occurred opening schematic file..."
"Unable to open filename "....
then clicking OK you can place the "empty copy"
If you save now you get the old behaviour loosing data from the first and second child sheet.
workaround: save the schematic before pasting the file.
To reproduce the bug:
Create a new child sheet, DON't SAVE now.
put something on it, Don't save.
go up one level and create a new child sheet copying the old one, now:
-you get an error (the child sheet file is not found since it has not been saved)
-click OK
Place the new sheet. Since the file has not been loaded it is empty.
Save now and you loose the content of the child sheet (old and new).
Tested on revision cb83f8acdfdfc1f7659e7e87d2e0696520150bc9.
----------------------------------------------------------------------------
Application: Eeschema
Version: (5.1.0-843-gcb83f8acd), release build
Libraries:
wxWidgets 3.0.2
libcurl/7.52.1 OpenSSL/1.0.2r zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
Boost: 1.62.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.52.1
Compiler: GCC 6.3.0 with C++ ABI 1010
Hello, there still a point that needs to be fixed (it is still possible to loose data in this way):
If you creatc the second child sheet with copy/paste before the first sheet has been saved you get a
"Error occurred opening schematic file..."
"Unable to open filename "....
then clicking OK you can place the "empty copy"
If you save now you get the old behaviour loosing data from the first and second child sheet.
workaround: save the schematic before pasting the file.
To reproduce the bug:
Create a new child sheet, DON't SAVE now.
put something on it, Don't save.
go up one level and create a new child sheet copying the old one, now:
-you get an error (the child sheet file is not found since it has not been saved)
-click OK
Place the new sheet. Since the file has not been loaded it is empty.
Save now and you loose the content of the child sheet (old and new).
Tested on revision cb83f8acdfdfc1f 7659e7e87d2e069 6520150bc9.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ 843-gcb83f8acd) , release build compatible with 2.8) GTK+ 2.24
Application: Eeschema
Version: (5.1.0-
Libraries:
wxWidgets 3.0.2
libcurl/7.52.1 OpenSSL/1.0.2r zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.62.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.52.1
Compiler: GCC 6.3.0 with C++ ABI 1010
Build settings: WX_GRAPHICS_ CONTEXT= OFF WX_OVERLAY= OFF SCRIPTING= ON SCRIPTING_ MODULES= ON SCRIPTING_ PYTHON3= OFF SCRIPTING_ WXPYTHON= ON SCRIPTING_ WXPYTHON_ PHOENIX= OFF SCRIPTING_ ACTION_ MENU=ON GITHUB_ PLUGIN= ON USE_OCE= ON USE_OCC= OFF
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON