eeschema hierarchical sheet copy-paste looses child sheet content
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
High
|
Jeff Young |
Bug Description
Using copy-paste on a child sheet block to have two sheets coming from the same file creates an empty sheet, possibly loosing data.
To reproduce the bug:
1 Create a project
2 Create a new hierarchical sheet (using "Add a hierarchical sheet").
2.5 Put something inside it (components, connections, etc.)
3 Go back to the parent sheet.
4 use copy-paste to create a new hierarchical sheet. It has the same file reference (correct)
5 if you enter the new created sheet it is empty (not correct, it should be the same as the copied sheet).
if you save the schematic now you loose the old child sheet content. It seems it is overwritten by the new empty one having the same filename.
6: Workaround: If you edit the properties of the new block in the parent sheet (shortcut E or right-click-
Quicker (more dangerous) way to reproduce the bug:
-Open a schematic (that has a backup somewhere) with some hierarchical sub-sheet
-copy-paste one of them
-save-->...data lost.
-------
Tested on revision db90e97d0beaeeb
-------
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.69.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.52.1
Compiler: GCC 6.3.0 with C++ ABI 1010
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
summary: |
- eeschema hierarchical sheet copy-paste + eeschema hierarchical sheet copy-paste looses sheet content |
description: | updated |
summary: |
- eeschema hierarchical sheet copy-paste looses sheet content + eeschema hierarchical sheet copy-paste looses child sheet content |
Changed in kicad: | |
milestone: | none → 6.0.0-rc1 |
Changed in kicad: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in kicad: | |
assignee: | nobody → Jeff Young (jeyjey) |
status: | Triaged → In Progress |
Changed in kicad: | |
status: | Fix Committed → In Progress |
Fixed in revision c7fa5c567fd9388 f019800f49b9680 73e2523858 /git.launchpad. net/kicad/ patch/? id=c7fa5c567fd9 388f019800f49b9 68073e2523858
https:/