giseldo/neodataset huggingface dataset:
PCBNew crashes when attempting to copy anything to the clipboard (lp:#1836905)

[Original report](https://bugs.launchpad.net/bugs/1836905) created by **Art (diametrix)**
```
Most of the time KiCad crashes without any error message.  One time I had
an error message saying something to the effect that it failed to copy
something and then it crashed. I verified it on tracks, vias and
footprints.

Application: KiCad
Version: (5.1.0-1292-g920f128cc), 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: pcbnew

Story points: 14.0
PCBNew - shifted-hotkeys don't work when running a tool (lp:#1836903)

[Original report](https://bugs.launchpad.net/bugs/1836903) created by **Art (diametrix)**
```
I think a submitted a similar bug report before, but it seems it reappeared
again.  If I try to route a track, the "+" and "-" keys on the D-pad don't
change the layers anymore.  The only key that still works is "-" on the
regular keyboard (top raw, the key right after "0").  Interestingly enough
the "+" key on the regular keyboard doesn't work (by itself or with a
shift).  If I'm trying to change layers in a regular mode (not trying to
route), everything works fine and D-pad "+" and "-" increment and decrement
layers just fine.  However, regular "+" still doesn't work here.

Application: KiCad
Version: (5.1.0-1292-g920f128cc), 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: hotkeys pcbnew ui

Story points: 6.0
Hotkeys are missing from EESchema and PCBNew (lp:#1836901)

[Original report](https://bugs.launchpad.net/bugs/1836901) created by **Art (diametrix)**
```
If I try to access hotkeys setting in EESchema or PCBNew the list is
completely empty.

Application: KiCad
Version: (5.1.0-1292-g920f128cc), 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 hotkeys pcbnew

Story points: 28.0
Cross highlighting between EESchema and PCBNew doesn't work for nets that are not on a single layer (lp:#1836895)

[Original report](https://bugs.launchpad.net/bugs/1836895) created by **Art (diametrix)**
```
It seems if a net is located on more than one layer the cross highlighting
doesn't work either from EESchema or from PCBNew.  See video attached.

Application: KiCad
Version: (5.1.0-1292-g920f128cc), 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 pcbnew

Story points: 6.0
kicad preferences->preferences->pcbnew->Action Plugins: table with cell width too small (lp:#1836863)

[Original report](https://bugs.launchpad.net/bugs/1836863) created by **Dino Ghilardi (dino-ghilardi)**
```
with empty cells, Table header is too narrow and cannot be read (See
attached image).

The column width can be adjusted manually to be able to read it, but
closing and reopening the dialog the table is back to "narrow-cells".

Also the preferences dialog beheaves differently depending on which
applications are opened simultaneously. If you open the dialog from
eeschema, it has also the pcbnew preferences, but only if pcbnew is open
(may be this is intentional, I don't know).


Tested on master branch, commit 920f128cc7b5e7d76aca7feb5ca68385c42fcce6.

--------------------------------------------------------------------
Application: KiCad
Version: (5.1.0-1292-g920f128cc), 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: pcbnew ui

Story points: 6.0
Aditional option in Right-click-context-menu in project window (lp:#1836837)

[Original report](https://bugs.launchpad.net/bugs/1836837) created by **Urs Obernolte (urs-obernolte)**
```
I have one suggestions for the right-click-menu in the project view in the
main window:

If you right click a file or folder in the main window, there should be the
option from the menu "Browse" --> "Browse Project files" also available.
Maybe to get it even better in the following behavior:

If you right click on a file, open the folder where it its placed in.

If you right click on a folder, open the folder itself, so you can see the
files in it.
```
Original tags: feature.request ui

Story points: 6.0
EESchema - enter in the text box is represented by a question mark on MSW (lp:#1836757)

[Original report](https://bugs.launchpad.net/bugs/1836757) created by **Art (diametrix)**
```
Sometimes it is beneficial to use add text tool for revision notes, memos
etc.  So it doesn't look like a wall of text, it is natural to add some
paragraphs.  Now every time you hit enter in the text tool it shows as a
question mark.

Application: Eeschema
Version: (5.1.0-1275-gdad8c9821), 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: 6.0
Changing grid origin in Footprint Editor causes crash (lp:#1836673)

[Original report](https://bugs.launchpad.net/bugs/1836673) created by **ocb-hd-ccb (ocb-hd-ccb)**
```
I am making footprints and when I hit hotkey "S" to set the grid origin it
crashes all of kicad.

If you let me know how to provide additional information I would be happy
to but I don't see a crash log or anything.

Application: KiCad
Version: (5.1.0-1269-ge4e2d1700), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.6.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 with C++ ABI 1002

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: macos pcbnew

Story points: 6.0
Pin properties sets pin visibility in preview (lp:#1836658)

[Original report](https://bugs.launchpad.net/bugs/1836658) created by **Seth Hillbrand (sethh)**
```
Setting the pin property to not "Visible" does not show the pin at all in
the preview window.  It should show the pin in full grey mode as it is
drawn in libedit after being placed.

Application: LibEdit
Version: (5.1.0-1277-g16f672a9b), 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
```
Original tags: eeschema

Story points: 6.0
Segfault when cancelling line edit in libedit (lp:#1836652)

[Original report](https://bugs.launchpad.net/bugs/1836652) created by **Seth Hillbrand (sethh)**
```
1) Open libedit
2) Open TLP148G (probably works in others)
3) Click on one of the arrows and drag an edit point
4) Press escape to cancel

Application: LibEdit
Version: (5.1.0-1277-g16f672a9b), release 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
```
Original tags: eeschema

Story points: 6.0
pcbnew -> eeschema cross probe not working after eeschema probe (lp:#1836640)

[Original report](https://bugs.launchpad.net/bugs/1836640) created by **Seth Hillbrand (sethh)**
```
This breaks with some regularity but seems to work correctly for many
cases.

Steps:
1) Start pcbnew/eeschema with the video project
2) Start the highlight net tool in both
3) In eeschema, go into the esvideo.sh sheet and hightlight the GREEN net
(B7)
4) Switch to pcbnew, clear the highlight and try to highlight a different
net
 - This does not change the eeschema highlight
5) Switch to eeschema, clear the highlight and switch back to pcbnew,
highlight a new net
 - This does not highlight anything in eeschema.

Application: Eeschema
Version: (5.1.0-1277-g16f672a9b), release 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
```
Original tags: eeschema pcbnew

Story points: 6.0
pcbnew: Various click actions do not work (lp:#1836639)

[Original report](https://bugs.launchpad.net/bugs/1836639) created by **Seth Hillbrand (sethh)**
```
After selecting "Add a footprint" from the vertical toolbar and cancelling,
every click brings the add a footprint selection window up again, even if I
have clicked on a new tool in the toolbar

This happens until I press escape.

Application: Pcbnew
Version: (5.1.0-1277-g16f672a9b), release 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
```
Original tags: pcbnew

Story points: 6.0
Kicad crashes most of time on moving an item (lp:#1836626)

[Original report](https://bugs.launchpad.net/bugs/1836626) created by **jean-pierre charras (jp-charras)**
```
All editors (schematic, libedit, board editor, fp editor) most of time (not
every time) crash when moving an item:
- when cancelling the move (type ESC key)
- or when placing the item by clicking on the place position.

(tested with pic_programmer demo)

Looks to me it is related to commit 58ca5b71

Application: KiCad
Version: (5.1.0-1276-g58ca5b71a), release build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.65.1 OpenSSL/1.1.1c (Schannel) zlib/1.2.11 brotli/1.0.7
libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.1
Platform: Windows 7 (build 7601, Service Pack 1), 32 bit, Little endian,
wxMSW
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers)
    Boost: 1.70.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.65.1
    Compiler: GCC 9.1.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    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 pcbnew

Story points: 6.0
Pcbnew: interactive router incorrect process arcs in cut edges (lp:#1836606)

[Original report](https://bugs.launchpad.net/bugs/1836606) created by **Eldar Khayrullin (eldar)**
```
Version 5.1.2.
If a board has cut edge that contain arc with angle >= 42.5 deg then
interactive router think about that as it is full circle.
```
Original tags: pcbnew router

Story points: 6.0
A new EESchema -> PCBnew cross probbing issue (lp:#1836600)

[Original report](https://bugs.launchpad.net/bugs/1836600) created by **Art (diametrix)**
```
If I select a symbol in EEschema it becomes highlighted in PCBNew. Now if I
switch into PCBNew and select a different footprint the previous one
remains selected in both PCBNew and EESchema.  If I click on the footprint
that remains selected again and then on another one it still remains
selected.  Clicking outside the board outline doesn't deselect it either.
The only way to deselect it is to hit ESC.

The logic behind highlighting the footprint is also unclear.  If I simply
click on a footprint in the PCBNew, that footprint becomes highlighted
without affecting any contrast settings, just like you would expect it.
Now if I select a symbol in the EESchema, you would expect the same
behavior, but instead everything become dark except for the selected symbol
(the same way it looks when you select "Highlight all copper items of a
net" )  And again, clicking outside the board outline doesn't quit this
weird mode or deselects the footprint.

Application: KiCad
Version: (5.1.0-1275-gdad8c9821), 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 pcbnew

Story points: 6.0
Eeschema crashes if  "Probe" or "Tune" is clicked from simulator frame (lp:#1836544)

[Original report](https://bugs.launchpad.net/bugs/1836544) created by **jean-pierre charras (jp-charras)**
```
When the simulator frame is open, if a tool is the schematic editor is
already activated,
if "Probe" or "Tune" is clicked a crash happens as soon as the mouse cursor
enters the schematic canvas (in Debug mode there are some wxASSERT).

The most easy way to reproduce this issue is (in simulator frame):
Click on "Tune"
then Click on "Probe"
and move the mouse cursor to the schematic canvas.

Application: Eeschema
Version: (5.1.0-1274-g6da11de5e), release build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.65.1 OpenSSL/1.1.1c (Schannel) zlib/1.2.11 brotli/1.0.7
libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.1
Platform: Windows 7 (build 7601, Service Pack 1), 32 bit, Little endian,
wxMSW
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers)
    Boost: 1.70.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.65.1
    Compiler: GCC 9.1.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    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 ngspice

Story points: 6.0
PCBnew: Import Graphics (lp:#1836538)

[Original report](https://bugs.launchpad.net/bugs/1836538) created by **Jorge Neiva (jo-joven)**
```
I'm user of linux mint 19.1 xfce.

When I try o Import Graphic on PCBnew, the two radio button appears both is
select, but in Windows 10 appears normal. I don't know if in other linux
distributions happens the same.
Have annexed image from linux mint xfce.

This happens in both version of kicad the versions have installed are:

Application: kicad
Version: 5.1.2-f72e74a~84~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.1 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-54-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
    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_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

Application: KiCad
Version: 6.0.0-unknown-be5f371~100~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.1 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-54-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.58.0
    Compiler: GCC 7.4.0 with C++ ABI 1011

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
```
Original tags: import pcbnew ui

Story points: 6.0
ngspice subcircuits with parameters + netlabels, broken (lp:#1836502)

[Original report](https://bugs.launchpad.net/bugs/1836502) created by **Jonatan Liljedahl (kymatica)**
```
Simulation breaks with subcircuits with parameters in 5.1.2, if the
subcircuit is connected to a named net. It’s the quotes around the net name
that breaks it:

XPOT1 Net-_POT1-Pad1_ “/pot_out” GND pot r=100k k=0.5

5.1.0 does not produce the quotes, and works as expected.

Error message is:

Circuit: KiCad schematic
Original line no.: 25, new internal line no.: 45:
Mismatch: 2 formal but 3 actual params.
R=OT;K=100K;
Original line no.: 25, new internal line no.: 45:
Undefined number [OT]
Original line no.: 25, new internal line no.: 45:
Formula() error.
R=OT;K=100K;
Original line no.: 0, new internal line no.: 9:
Undefined number [K]
Original line no.: 0, new internal line no.: 9:
Cannot compute substitute
Original line no.: 0, new internal line no.: 10:
Undefined number [K]
Original line no.: 0, new internal line no.: 10:
Cannot compute substitute
Copies=48 Evals=47 Placeholders=2 Symbols=2 Errors=7
Numparam expansion errors: Problem with input file.
Error: ngspice.dll cannot recover and awaits to be detached

For reference, here's the subcircuit:

.SUBCKT pot 1 2 3 r=100k k=0.5
*
R1 2 3 {r*(1-k)}
R2 1 2 {r*(k)}
.ENDS
```
Original tags: eeschema ngspice

Story points: 6.0