giseldo/neodataset huggingface dataset:
KiCAD suite crashes when opening Add Footprint dialog if the name of a footprint has been changed in the footprint editor after adding it to PCBnew in the same session. (lp:#1842113)

[Original report](https://bugs.launchpad.net/bugs/1842113) created by **Michael Kafarowski (aliasmk)**
```
KiCAD suite crashes when opening Add Footprint dialog if the name of a
footprint has been changed in the footprint editor after adding it to
PCBnew in the same session. (I.e. if it appears in the "Recently Used"
section of Add Footprint)

Steps to Reproduce:
1) Create a new KiCAD project
2) From KiCad launcher open the kicad_pcb file and the footprint editor.
2) In the footprint editor create a new footprint in a new or existing
library
3) In PCBnew, open the Add Footprint dialog and place the new footprint on
the page, verify it now appears in "Recently Used"
4) With PCBnew still open, change the name of that footprint in the
Footprint Editor.
5) In PCBnew, attempt to open the Add Footprint dialog again.

At this point the KiCAD suite crashes and all open KiCAD windows close.

Version Information:

Application: kicad
Version: (5.1.2)-2, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6
libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
Running on Windows 10 Home.
```

Story points: 6.0
Wishlist: Turn Net Highlight Tool into Cross Probe Tool (lp:#1842108)

[Original report](https://bugs.launchpad.net/bugs/1842108) created by **Evan Shultz (evan-shultz)**
```
From https://bugs.launchpad.net/kicad/+bug/1841691/comments/2.

When single-clicking on a net in "Highlight net" mode, the net is
highlighted and cross-probed. Nice!

This does not happen for symbols, but they are highlighted and cross-probed
using the window-select in "Highlight net" mode. Note that this mode
(command?) is confusing called "Highlight net" even though it does work
with symbols and pins in with a window selection.

I would like this mode to work the same for symbols as it does for nets,
with a single click both highlighting and cross-probing. The name of the
mode is already questionable, and it would be moreso with this change.
Perhaps it should just be called "Highlight", leaving off the " net"?

Application: Eeschema
Version: (5.1.0-1584-gc85d1fa00), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6
libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: eeschema

Story points: 8.0
Deleting locked component crashes pcbnew (lp:#1842096)

[Original report](https://bugs.launchpad.net/bugs/1842096) created by **Chris (charlychimpo)**
```
Selecting a locked footprint in pcbnew and then deleting it crashes and
closes pcbnew.

Example project attached, simply select component, press Del, confirm =>
crash.

Tested on Win 7 and Win 10.


Version information Win 10:
Application: Pcbnew
Version: (5.1.4)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6
libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON



Version info Win 7:
Application: Pcbnew
Version: (5.1.4)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6
libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit,
Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: pcbnew

Story points: 6.0
3DC files not deleted (lp:#1842089)

[Original report](https://bugs.launchpad.net/bugs/1842089) created by **David Pearce (halzia)**
```
A minor bug I see on two Windows 10 PCs running 5.1.x versions.
I am seeing a large number of files with a .3DC extension in
C:\Users\David\AppData\Local\kicad\3d\
The 3d directory is the only KiCad entry in Local

The files have names like 2d514096b01b51ccf911367c7261a90815f71621.3dc

I presume that these are something to do with the 3D view being created and
not deleted after closing.

A similar directory, close to the rest of the KiCad setup is empty
C:\Users\David\AppData\Roaming\3d


Application: KiCad
Version: (5.1.4)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6
libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: 3d-viewer starter

Story points: 6.0
PCBNew - add mouse explanation to slope-locked polygons (lp:#1842055)

[Original report](https://bugs.launchpad.net/bugs/1842055) created by **DDuck007 (dduck007.01)**
```
At actual version selecting an edge of a polygon is not possible - the only
points that can be selected and moved are the "round" ones. The "square"
points can neither be selected nor moved (see picture).


Application: KiCad
Version: (5.99.0-36-g71c7bf327), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.65.0 OpenSSL/1.1.1b (Schannel) zlib/1.2.11 brotli/1.0.7
libidn2/2.1.1 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.38.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.70.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.65.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: pcbnew

Story points: 6.0
Canceling Dimension tool doesn't un-capture mouse (lp:#1841996)

[Original report](https://bugs.launchpad.net/bugs/1841996) created by **Seth Hillbrand (sethh)**
```
Steps:

1) Begin dimension tool and click to place first point
2) Press escape

At this point, the dimension tool is canceled and we are back to choosing
the first point for a new dimension.  But the mouse remains captured by the
frame and we cannot move outside of it.

Application: Pcbnew
Version: (5.99.0-29-gc3274e15f-dirty), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-5-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF
```
Original tags: pcbnew starter

Story points: 6.0
Duplicate and move a circle changes its radius (lp:#1841989)

[Original report](https://bugs.launchpad.net/bugs/1841989) created by **Seth Hillbrand (sethh)**
```
Steps:
1) Draw a 10mm circle on Edge.Cuts in pcbnew
2) Select and Duplicate the circle
3) Press Ctrl-M to move exact (before placing)
4) Enter values for X

After moving, the circle is no longer 10mm

Application: Pcbnew
Version: (5.99.0-29-gc3274e15f-dirty), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-5-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF
```
Original tags: pcbnew

Story points: 12.0
Placing imported graphics doesn't end the import graphics tool (lp:#1841975)

[Original report](https://bugs.launchpad.net/bugs/1841975) created by **Seth Hillbrand (sethh)**
```
When importing an svg or dxf file, after the imported items are placed, the
import tool doesn't end and clicking again will attempt to re-start the
import.

Application: Pcbnew
Version: (5.99.0-29-gc3274e15f-dirty), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-5-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF
```
Original tags: pcbnew

Story points: 6.0
Rotate and Move Exact causes drawsegments to break (lp:#1841961)

[Original report](https://bugs.launchpad.net/bugs/1841961) created by **Seth Hillbrand (sethh)**
```
In the attached board:

1) Select all items and duplicate.
2) Then press 'R' to rotate the selection twice.
3) Next, press "Ctrl-M" to move the rotated selection exactly.

At this point, the arcs no longer match the segments they were connected
to.

Application: Pcbnew
Version: (5.1.4-50-g11097cba9-dirty), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-5-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=ON
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: pcbnew

Story points: 6.0
Feature:  Arc tool, start/end points with a given radius. (lp:#1841952)

[Original report](https://bugs.launchpad.net/bugs/1841952) created by **Erkut Uygun (euygun)**
```
Ver: (5.1.2)-2 release build, pcbnew

Current arc tool works on a sequence of;
1-) specifying the center of the arc.
2-) selecting the start and end points of the arc.

Radius is calculated based on the center and start point entered by the
user through GUI.

This works well if the center of the arc easyly entered (graphically).

In case of very large radiuses and the start/end points are determined by
other elements (consider mechanical Edge.Cuts), the current method is not
very helpfull.

Request of an arc tool option to enter Start and End points on the GUI,
then provide the radius as number (or drag the mouse whlist reporting the
radius on the screen).

For an example: see the PCB digram(for Edge.Cuts) in
https://www.hammfg.com/files/parts/pdf/1553ABK.pdf
See the given arc with R190.5mm

Many thanks...
```
Original tags: arc pcbnew

Story points: 6.0
Board print out for identical components for assembly purposes (lp:#1841945)

[Original report](https://bugs.launchpad.net/bugs/1841945) created by **Art (diametrix)**
```
When I do a manual assembly of a prototype, I usually have to use different
color markers for multiple identical footprints (components) to speed up
the assembly.  It is especially useful if assembling multiple prototypes.

For example, if I have five identical 10K resistors in the schematic I will
highlight them with the same color in the board printout and in the BOM, so
I can populate them all at the same time.  The problem is - it takes time
and eventually you run out of colors.  It would be a neat feature if you
could automatically print a board layout with identical components printed
in bold and the rest of the board greyed out all on separate sheets.

For example, when I print a board layout for the assembly purposes I print
only silkscreen, paste, Fob and mask layers for each side of the board.
Let's say you have a check box in the print dialog to collate sheets based
on the components.  When checked, instead of one page print you will get as
many pages as there are unique components on the board, with each page
containing all the layers I selected to be printed and only the current set
of components printed in bold and the rest of the board greyed out (still
visible but barely)
```
Original tags: feature.request pcbnew printing

Story points: 6.0
eeschema crash - segfault on block select (lp:#1841919)

[Original report](https://bugs.launchpad.net/bugs/1841919) created by **Dino Ghilardi (dino-ghilardi)**
```
On eeschema, master branch, I get a weird crash: selecting some particular
blocks crashes kicad.

Attached a kicad project with a box marked "SELECT THIS BOX". On my machine
selecting it crashes eeschema and kicad in a deterministic way.

It is still a strange behaviour since block-selecting other combinations of
items does not crash, so may be it is my machine/os/library version
specific.

Cheers,
Dino.


------------------------------------------------------------------------------
Application: Eeschema
Version: (5.99.0-29-gc3274e15f), release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2s 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.69.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: eeschema

Story points: 6.0
Starting a new track segment doesn't snap to the last endpoint of a short segment (lp:#1841909)

[Original report](https://bugs.launchpad.net/bugs/1841909) created by **eelik (eelik)**
```
I think this is somehow related to
https://bugs.launchpad.net/kicad/+bug/1813665 which still makes me insane,
too.

When starting a new track segment, trying to continue from the end of an
old one, when the old last segment is short, the new start point snaps not
to the farthest end point of the last old segment but to the junction of
the last two segments. The junction kind of "steals" the mouse
click/snapping even though it's not under the cursor. This causes the new
track being non-continuous.

See the attached video. I'll also attach a stripped down board file with
which this can be tested. The problem is the lower end of BT1 track.

Grid has been 0.1mm all the time.

The bug mentioned above, 1813665, can also be tested with that same track
end in the board file.

Application: Pcbnew
Version: (5.1.4-26-gdcd31f570)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6
libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit,
Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: pcbnew pns

Story points: 6.0
Footprint-Editor. Duplicate & Delete custom shape -> Assertion Failed (lp:#1841837)

[Original report](https://bugs.launchpad.net/bugs/1841837) created by **cpresser (cpresser)**
```
How to reproduce:
KiCAD 5.0.2+dfsg1-1

* Open Footprint editor
* Place new SMD Pad
* Create pad from selected shape
* Move mouse over custom pad
* Press CTRL-D (duplicate)
* Press DEL (delete)
* Assertion is thrown
```
Original tags: pcbnew

Story points: 6.0
eeschema segfault on  cut-and-pasting a hierarchical child sheet (lp:#1841801)

[Original report](https://bugs.launchpad.net/bugs/1841801) created by **Dino Ghilardi (dino-ghilardi)**
```
eeschema segfaults on cut-and-paste of a child hierarchical sheet.

An "error" dialog pops up saying:
Error occurred loading schematic file "/home/dinoghi/file5D668DAB.sch"

Unable to open filename "/home/dinoghi/file5D668DAB.sch" for reading.

After clicking "ok" I get a segmetation fault and kicad exits.

Note that the file it is looking for is still on the disk, but the path is
truncated to my user's home and it is not the full path to the file (that
is /home/dinoghi/tmp/testkicad/selectMulti/select/file5D668DAB.sch).

If at least one copy of that block is present in the schematic there is no
error. It seems that on the "cut" operation on the last block the path to
the file is not correct anymore.

To re-create the behaviour:
1) Create a new project
2) in eeschema add a hierarchical sheet
3) ctrl-x to cut
4) ctrl-v to paste and here you get the error and the segfault exiting the
error dialog.

---------------------------------
In master branch I get the error.
In Stable 5.1.4 and 5.1.2 I don't get it.
-----------------------------------------------

Application: Eeschema
Version: (5.99.0-24-g494d0de9b), release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2s 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.69.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: eeschema

Story points: 6.0