giseldo/neodataset huggingface dataset:
Graphical window in PLeditor not updating correctly  when using escape key (lp:#1822158)

[Original report](https://bugs.launchpad.net/bugs/1822158) created by **KiCad bug report (kicad-bug-report)**
```
Please check out the strange lines and rectangles in the attached
screenshot.

Below the sequence of events to end up with such a situation :
 - select a horizontal line (segm8:Line in the original layout)
 - move this line a little upwards (see screenshot for position)
 - select the info-block rectangle with the mouse (look at dark-green
selection rectangle in the  screenshot) (rect1:Rect in the original layout)
 - start moving the mouse to move the rectangle to another position (the
moving rectangle is shown in black)
 - push the escape button on the keyboard to cancel the moving
 - next, you end up with a result as in the attached screenshot, and the
graphical part of the interface does not update anymore



Application: pl_editor
Version: (5.1.0-0), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0
Platform: Mac OS X (Darwin 17.7.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.51.0
    Compiler: Clang 8.0.0 with C++ ABI 1002
Build settings:
    USE_WX_GRAPHICS_CONTEXT=ON
    USE_WX_OVERLAY=ON
    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: gal pleditor

Story points: 6.0
F1 key in Pcbnew zooms in AND opens help (lp:#1822041)

[Original report](https://bugs.launchpad.net/bugs/1822041) created by **typoknig (typoknig)**
```
Fresh install of Linux Mint 19.1 Cinnamon.

Kicad version info:

Version: 5.1.0-060a0da~80~ubuntu18.04.1 release build
wxWidgets: 3.0.4 Unicode and Boost 1.65.1
Platform: Linux 4.15.0-46-generic x86_64, 64 bit

Installed Kicad per the instructions here:

http://docs.kicad-
pcb.org/5.1.0/en/getting_started_in_kicad/getting_started_in_kicad.html#download-
and-install-kicad

When I'm in Pcbnew, Footprint Editor, or Gerber Viewer and I press F1 the
screen zooms in as expected, but the help file also opens in my browser and
my browser gains focus.  I am NOT seeing this problem in Eeschema, Symbol
Editor, or Page Layout Editor.  All the settings in Kicad are default.  No
hotkeys have been changed.

Fun fact: The "View" menu in all of the Kicad applications lists zoom
in/out as ALT+F1 and ALT+F2. In Linux Mint those hotkey combos are showing
all the workspaces and showing the run bar respectively. None of the Kicad
applications respond to those hotkey combos. I can't see in Mint's settings
that either of those hotkey combos are actually map to any function though,
and I have been through the list of hotkeys several times.
```
Original tags: hotkeys pcbnew

Story points: 18.0
Raytracing 3d redraw requires zoom (lp:#1822034)

[Original report](https://bugs.launchpad.net/bugs/1822034) created by **David Pearce (halzia)**
```
5.1.0 on Windows 10 64 bit
View a board 3D in Raytracing mode
Rotate the board, the view goes blocky and does not redraw.
Zoom in or out and the view redraws correctly

Application: kicad
Version: (5.1.0)-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

Story points: 16.0
modedit crashes after deleting graphic zone corner (lp:#1821909)

[Original report](https://bugs.launchpad.net/bugs/1821909) created by **Grzegorz Obuch (grzegorzobuch)**
```
1. In Footprint Editor import test.kicad_mod (simplest sample I found)
2. Select graphic zone
3. Right click on any corner
4  Remove Corner => crash



Application: kicad
Version: (5.1.0)-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
```

Story points: 6.0
pcbnew text properties tab order (lp:#1821887)

[Original report](https://bugs.launchpad.net/bugs/1821887) created by **Mitja Nemec (mitjan)**
```
The tab order in "Text Properties" dialog, which opens when placing text
could (should) be improved.

Current order is "Text" -> "Layer" -> "Width" -> "Italic" -> "Height" ->
"Justification" -> "Thickness" -> "Orientation" -> "Position X" ->
"Mirrored" -> "Position Y"

Proper order could be "Text" -> "Layer" -> "Width" -> "Height" ->
"Thickness" -> "Position X" -> "Position Y" -> "Italic" -> "Justification"
-> "Orientation" -> "Mirrored"

If you are willing to change the layout of the dialog I would move the
"Mirrored" checkbox alongside Layer and then the order could be "Text" ->
"Layer" -> "Mirrored" -> "Width" -> "Height" -> "Thickness" -> "Position X"
-> "Position Y" -> "Italic" -> "Justification" -> "Orientation"

Using:
Application: kicad
Version: (5.1.0)-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 ui

Story points: 14.0
Blank Black Canvas When Enabling Crosshairs In Eeschema (lp:#1821840)

[Original report](https://bugs.launchpad.net/bugs/1821840) created by **Matt Rohloff (mrohloff)**
```
This report is similar to #1797238 which was marked as corrected back in
2018.

Initial settings in eeschema:
- Modern Toolset (Accelerated): Selected
- Graphics (Accelerated): Subpixel Antialiasing (Ultra Quality)
- Always show crosshairs: Unchecked

To recreate the issue (with the initial settings above already in place):
- Open the Preferences window
- Check "Always show crosshairs"
- Click OK

The result is a black/blank screen.  I can pan/zoom/refresh, but nothing is
shown.  Panning/zooming occurs because I can see the result if I disable
the crosshairs.

To get the crosshairs working in accelerated mode (once the above fault is
in place):
- Change to the Fallback toolset
- Change back to the Accelerated toolset


Application: kicad
Version: 5.1.0, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.1.1 libpsl/0.20.2
(+libidn2/2.1.1) libssh2/1.8.1 nghttp2/1.36.0
Platform: Linux 5.0.4-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.69.0
    OpenCASCADE Technology: 7.3.0
    Curl: 7.64.0
    Compiler: GCC 8.2.1 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=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=OFF
    KICAD_USE_OCC=ON
    KICAD_SPICE=ON
```

Story points: 6.0
Add design rule settings for blind/buried/microvia stackup (lp:#1821801)

[Original report](https://bugs.launchpad.net/bugs/1821801) created by **Andrew Zonenberg (azonenberg)**
```
Right now, if blind/buried vias are allowed, they can be created between
any pair of layers. This can easily lead to a much more expensive design
than intended, or even one physically impossible to manufacture.

The board setup dialog should include configuration for sequential
lamination / HDI drill stackups, where the user can set the allowed drill
diameters separately for each drillable layer pair.

If the user requests a blind/buried via between two layers which cannot be
created using the available drill stackups, KiCAD should pop up a message
explaining that this is not a valid blind via for the current stackup, and
asking if they want to create a through-board via instead.

Blind/buried vias between layers which are a subset of the allowed drills
should be extended as needed. For example, if the user has configured blind
vias from layer 1 to 4, and requests a blind via from layer 1-2, this
should be extended to a 1-4 blind via. Maybe display a quiet notification
in the status bar mentioning that this has been done?
```

Story points: 26.0
Footprint Editor: Pad number auto increment not following last edited pad number (lp:#1821786)

[Original report](https://bugs.launchpad.net/bugs/1821786) created by **YunChang Jiang (jyckicad)**
```
KiCad: Footprint Editor
Version: 5.0.2 & 5.1.0 stable (occurs on Modern Toolset
Accelerated/Fallback)
Platform: Windows 8.1 Pro
wxWidgets: 3.0.4 Unicode and Boost 1.68.0

Version information (5.0.2):
Application: kicad
Version: (5.0.2)-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_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON


Version information (5.1.0):
Application: kicad
Version: (5.1.0)-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


Bug report:
When adding pads, auto increment number does not follow the last
edited/created pad, it attempts to follow the largest pad number. Only
occurs in Modern Toolset (Legacy Toolset works fine).

Step to reproduce (Example):
1. Create (or edit) a footprint.
---Note: make sure editor is in "Modern Toolset"
2. Add pads 1, 2, 3, 4, 5
---Observe: auto increment working properly
3. Edit last pad to A0
4. Continue to add next pad
---Observe: auto increment Not working properly, next pad number increments
to '6' instead of 'A1'

Compares to "Legacy Toolset", next pad increments to 'A1'.

(Please see attached JPEG screenshot for another example.)
```
Original tags: missing-gal-tool pcbnew

Story points: 6.0
pcbnew writer outputs Layer names as symbols rather than strings (lp:#1821776)

[Original report](https://bugs.launchpad.net/bugs/1821776) created by **Seth Hillbrand (sethh)**
```
While we do not support S-Expr pairs in our file format, the current output
of layer names prevents the use of canonical S-Expr parsers that do.  This
is because we output the pair control character "." in layer names.

Options:

1) We could ignore it and say that this is just our variant of the S-Expr
format.  But then we should document where we deviate.

2) We could quote the layer names making them strings instead of symbols.

3) We could ban '.' from layer names and use one of the allowed S-Expr
symbols instead.
```
Original tags: pcbnew

Story points: 6.0
minor issue: graphic line "auto merge" in eeschema (lp:#1821728)

[Original report](https://bugs.launchpad.net/bugs/1821728) created by **Dino Ghilardi (dino-ghilardi)**
```
Problem: when you align two consecutive joint lines they are merged into a
single line even if the line style is different.

Reproducing the issue: In eeschema draw a first horizontal line, dashed.
Edit the line and change the line style to "solid"
Draw a new line starting from one of the external points of the old line.
If you draw it horizontal, eeschema joins the line with the old one, using
only one of the settings for the line style, so, for instance, you cannot
continue a solid line with a dashed segment if they are aligned.

The same problem arises if you edit a line moving an initial-final point:
when it is aligned with an old segment it is joined also when line
attributes are different.

Possible solution: do not join two lines in a single one if the line
attributes are different.

The same behaviour can be seen for other attributes as the color of the
line.

-------------------------------------------------
kicad version (version information from help->about kicad menu):

Application: kicad
Version: (5.1.0-47-gaef369f4a), 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.69.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

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

-----------------------------------------------
Cheers,
Dino.
```
Original tags: issue minor

Story points: 6.0
Symbol Editor - if is pressed click on "Alias name" input field the Property window is blocked, no alias can be added (lp:#1821698)

[Original report](https://bugs.launchpad.net/bugs/1821698) created by **Silviu Laurentiu (silviulaurentiu)**
```
   - Open Symbol Editor
   - Edit Symbol Properties
   - Select Aliases tab
   - Click on "Alias name" input field
   Bug: All button will be locked, the only thing that can be done is to
close the window using red close button.
   I attached a movie with this bug.

   ______________________________________________

   Application: kicad
Version: (5.1.0)-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
```

Story points: 6.0
Symbol Editor - Not refresh library list if an empty library is deleted from Library Manager (lp:#1821691)

[Original report](https://bugs.launchpad.net/bugs/1821691) created by **Silviu Laurentiu (silviulaurentiu)**
```
  1. From Symbol Editor, remove last symbol from a library
  2. From Library Manager - remove empty library
  3. Bug: The library is not deleted from Symbol Editor
  4. After restart of Symbol Editor the library is removed also from the
Library Editor list

  I added a movie which reproduce the bug


      Application: kicad
Version: (5.1.0)-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: eeschema

Story points: 6.0
Wishlist: Clear Recent opened projects (lp:#1821685)

[Original report](https://bugs.launchpad.net/bugs/1821685) created by **Silviu Laurentiu (silviulaurentiu)**
```
       Open Recents, do not have the possibility to clear the list. It will
be helpful.
       Many thanks!
```
Original tags: ui wxwidgets

Story points: 12.0
EEschema used to show project/sheet info in title bar (lp:#1821616)

[Original report](https://bugs.launchpad.net/bugs/1821616) created by **Frank Severinsen (shack)**
```
I have attached a screenshot snip from 4.0.7 (only one I have installed
except 5.1 and nightly)

Application: kicad
Version: 5.1.0-060a0da~80~ubuntu18.10.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.32.1 librtmp/2.3
Platform: Linux 4.18.0-16-generic 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.61.0
    Compiler: GCC 8.2.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
```

Story points: 6.0
Removing a symbol library throws off all other symbols (lp:#1821606)

[Original report](https://bugs.launchpad.net/bugs/1821606) created by **Romain (romain145)**
```
On KiCAD 5.1.0.
When removing an unrelated symbol library, ALL symbols from the schematic
turn to the "??" box as if their library just got removed.
Steps to reproduce:
1. Create a new project using one of the templates
2. Remove any library from the Global Libraries (say 4xxx for example)
3. Press Ok and return to the schematic
4. Do any action (edit one of the symbols or add a new symbol, like a
capacitor): all symbols get unreferenced.

Saving the schematic, closing and reopening the schematic fixes the issue.



Application: kicad
Version: (5.1.0)-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
```

Story points: 12.0