giseldo/neodataset huggingface dataset:
Application task bar title: project name (lp:#1745607)

[Original report](https://bugs.launchpad.net/bugs/1745607) created by **Timothée Manaud (timothee)**
```
Application task bar title don't show the project name first but instead
the application such as:
[(icon)Pcbnew -- /home/user/project/my_blinker.kic...]
(note the filename cut as the title is too long)

On desktop, most application display filename first, and application
second, such:
[(icon)my_blinker -- Pcbnew]
-note you can skip the folder and extension as there is no way to display
the full path here)
```
Original tags: starter ui

Story points: 22.0
Remove layer name max char length (lp:#1745587)

[Original report](https://bugs.launchpad.net/bugs/1745587) created by **Timothée Manaud (timothee)**
```
In Pcbnew, Layer Setup, one can change the copper layer name. (BTW why no
other layers?)
But the layer name is limited to 20 char, is there a good reason? As I
would like explicit naming in my project.

Version:
Application: kicad
Version: no-vcs-found-bf44d39~61~ubuntu16.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.13.0-26-generic 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.58.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
```

Story points: 10.0
EEschema text box can't highlight text (lp:#1745482)

[Original report](https://bugs.launchpad.net/bugs/1745482) created by **Art (diametrix)**
```
I leave revision changes comments for the schematics in a regular text box
and sometimes I need to copy that text.  When you use mouse pointer to
highlight (select) text in the textbox (place text tool) there is no
highlighting visible.  However the text is being highlighted, the selection
is just not visible because if I hit copy and then paste the selected text
is pasted just like it is supposed to.

Application: kicad
Version: (2018-01-18 revision 959767c09)-makepkg, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1
librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian,
wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

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_SPICE=ON
```

Story points: 6.0
symbol library: no way to even rename old parts (lp:#1745437)

[Original report](https://bugs.launchpad.net/bugs/1745437) created by **Nicholas Savenlid (nicholas-z)**
```
Cant even rename old parts with "illegal" chars in name like "/"

double licking in refuses an opening and rename is not an option in right
click meny.


See attached pic.


Application: kicad
Version: (2018-01-21 revision 6b9866de8)-makepkg, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1
librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit,
Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

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_SPICE=ON
```

Story points: 18.0
Poor performance when opening gerbers (lp:#1745203)

[Original report](https://bugs.launchpad.net/bugs/1745203) created by **Hildo Guillardi Júnior (hildogjr)**
```
I am using nightly compilation c6d0075~61~ubuntu 16.04.

When I try to open a gbrjob on GerbView, the software freeze or at least
spend a long (really long) time to load and render all layers (and when do
the screen is not focused on the board, this is in some place away in the
black dashboard).

At the process all the menu bars appear unconfigured and still after finish
(check the screen).

The board have 7 GERBERs files: 2 copper, silks, masks and edge.
```
Original tags: gerbview

Story points: 10.0
Unable to edit pad position in module editor (lp:#1847867)

[Original report](https://bugs.launchpad.net/bugs/1847867) created by **Michele Santucci (weirdgyn)**
```
In KiCAD 5.1.4-1 on Windows 10 Home 64 bit (kicad report Windows 8 build
9200).
When creating / editing modules I'm unable to modify pad positions trough
pad properties panel. Clicking Ok doesn't work the dialog stay open the
only option is to close it. Moving the pad with mouse is possibile.
```
Original tags: pcbnew

Story points: 6.0
Exclude from PCB (lp:#1847798)

[Original report](https://bugs.launchpad.net/bugs/1847798) created by **ArakelTheDragon (arakelthe)**
```
Hi guys,

thanks for the great software. Please don’t listen to the few idiots who
complain about it. In fact I think no changes will be needed in a long
time(20 years :D).

Here is 1 suggestion from me:

select a hierarchical sheet or multiple components in the
schematic(Eeschema) and right-click -> exclude from PCB.
```
Original tags: eeschema ui

Story points: 10.0
Hatched zones are very slow (lp:#1847764)

[Original report](https://bugs.launchpad.net/bugs/1847764) created by **Mishka (mike-volokhov)**
```
Hi,

as I've mentioned in my another ticket, I'm trying to implement a flexible
PCB in KiCad. Recently I've switched to development branch because of the
hatched copper pour zones. Thank you very much for adding them to the
pcbnew!

However, the hatched zones are very slow. When instant refill of my zones
takes about a minute, export to Gerber files took it one hour and 30
minutes. At the same time, export with all zones set to solid takes
seconds.

Is it a known issue? Is there any way to improve this?

Thank you!

Application: Pcbnew
Version: (5.99.0-216-gf0b29de6e), debug 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:
    Build date: Oct  9 2019 04:52:13
    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
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF
```
Original tags: pcbnew

Story points: 6.0
Hatched pour zones: solid areas for pads and vias (lp:#1847758)

[Original report](https://bugs.launchpad.net/bugs/1847758) created by **Mishka (mike-volokhov)**
```
Hi,

I'm trying to implement a flexible PCB in KiCad. Recently I've switched to
development branch because of the hatched copper pour zones. Thank you very
much for adding them to the pcbnew!

One feature I miss though is solid area around pads and vias. Currently
pcbnew does good job by outlining perimeter of the fill area. However, in
case if hash lines are located far enough of each other the pad regions may
suffer from inconsistent and insufficient connection.

Also, it would be just wonderful if there will be an option to specify
width of the outline. Thus it will look like a thermal relief options, but
just doing the opposite job.

To show the issue please take a look to my schematic where pads 2, 3, 4,
and 5, as well as bunch of vias around are asking for solid areas.

Thanks!
```
Original tags: feature.request pcbnew

Story points: 6.0
GerbView assertion when opening multiple files (lp:#1847743)

[Original report](https://bugs.launchpad.net/bugs/1847743) created by **Mishka (mike-volokhov)**
```
Hi,

the recent GerbView throws me assertion when I try to open multiple files
at once. The same assertion occurs when I'm reloading already opened files.
Please note, I still can open several files, but one by one only.

The assertion (wxWidgets Debug Alert):

vagrant/build/wxwidgets-dest/include/wx-3.0/wx/strvararg.h(456): assert
"(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in
wxArgNormalizer(): format specifier doesn't match argument type

Call stack:
[00] wxArgNormalizerWchar<unsigned long>::wxArgNormalizerWchar(unsigned
long, wxFormatString const*, unsigned int)
[01] wxString wxString::Format<unsigned int, unsigned long,
wxString>(wxFormatString const&, unsigned int, unsigned long, wxString)
[02] GERBVIEW_FRAME::loadListOfGerberAndDrillFiles(wxString const&,
wxArrayString const&, std::__1::vector<int, std::__1::allocator<int> >
const*)
[03] GERBVIEW_FRAME::LoadGerberFiles(wxString const&)
[04] GERBVIEW_FRAME::Files_io(wxCommandEvent&)
[05] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[06] wxEvtHandler::ProcessEvent(wxEvent&)
[07] EDA_BASE_FRAME::ProcessEvent(wxEvent&)
[08] wxEvtHandler::ProcessEventLocally(wxEvent&)
[09] wxEvtHandler::ProcessEvent(wxEvent&)
[10] wxWindowBase::TryAfter(wxEvent&)
[11] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[12] wxMenuBase::SendEvent(int, int)
[13] wxMenu::HandleCommandProcess(wxMenuItem*, wxWindow*)
[14] -[wxNSMenuItem clickedAction:]
[15] -[NSApplication(NSResponder) sendAction:to:from:]
[16] -[NSMenuItem _corePerformAction]
[17] -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
[18] -[NSMenu performActionForItemAtIndex:]
[19] -[NSMenu _internalPerformActionForItemAtIndex:]
[20] -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:]
Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.

Pressing Cancel button results in GerbView not responding with intense CPU
use (wait for 5 minutes before killing it).

Application: GerbView
Version: (5.99.0-216-gf0b29de6e), debug 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:
    Build date: Oct  9 2019 04:52:13
    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
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF
```
Original tags: gerbview

Story points: 6.0
Attempt to create a H/V/45 zone always losts very last point  (lp:#1847741)

[Original report](https://bugs.launchpad.net/bugs/1847741) created by **Mishka (mike-volokhov)**
```
Hi,

on attempt to create a zone with Constrain outline to H, V, and 45 degrees
option set, the resulting shape will always lost the very last corner. I.e.
instead of square you'll get a triangle, instead of pentagon you'll get
square, and so on. Of course, instead of triangle it will create a line.

How to reproduce:

1) Click on Add a filled zone (Alt+A).
2) Click in the workspace.
3) In the Copper Zone Properties dialog ensure the Constrain outline to H,
V, and 45 degrees checkbox is enabled.
4) Create a square.
5) Observe a triangle with the very last point lost.

My KiCad version:
Application: Pcbnew
Version: (5.99.0-216-gf0b29de6e), debug 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:
    Build date: Oct  9 2019 04:52:13
    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
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF
```
Original tags: pcbnew

Story points: 6.0
Stray lines on hatched fill zones (lp:#1847737)

[Original report](https://bugs.launchpad.net/bugs/1847737) created by **Mishka (mike-volokhov)**
```
Hi,

the GerbView shows stray lines within the area of hatched fill zones. This
depends on zone fill settings and happens when both of the following
occurs:

- hatch pattern orientation is not 0 degrees (I've tested on 30 and 45)
- hatch width equals to minimum zone fill width

This is how you can reproduce it:

1) create a copper zone
2) set the follwing parameters for the zone fill:
   Fill type: Hatch pattern
   Orientation: 45
   Hatch width: <same as Minimum width which is 0.254 mm by default)
   Hatch gap: <same as Hatch width, just for better visibility, i.e. 0.254
mm)
3) refill the zone
4) export it to Gerber
5) open the file in GerbView to observe the case

For your convenience I've attached PCB and Gerber samples.

I don't know though, is it pcbnew only or gerbview only issue. I've tried
number of online viewers and they display the Gerber file correctly. But at
the same time please note the issue depends on the pcbnew zone settings.

My version:

Application: GerbView, pcbnew
Version: (5.99.0-216-gf0b29de6e), debug 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:
    Build date: Oct  9 2019 04:52:13
    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
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF
```
Original tags: pcbnew

Story points: 6.0
H/V/45 constraint overridden to on after reopening (lp:#1847722)

[Original report](https://bugs.launchpad.net/bugs/1847722) created by **Mishka (mike-volokhov)**
```
Hi,

in KiCad 5.99, corners of a zone perimeter can be edited only for zones
created during the work session. Saving kicad_pcb file and reopening it
will result in inability to drag corners. At the same time edges can be
dragged as usual.

Unfortunately, this happens only to my schematics created in KiCad 5.1.
Layouts created in KiCad 5.99 seem work fine after pcbnew reopening. I've
attached the sample kicad_pcb file which reproduces the issue.

How to reproduce:
1) open the zonetest.kicad_pcb file
2) try to drag zone corner; note it doesn't work
3) drawe a new zone
4) try to drag a corner of the new zone; note it does work this time
5) save the file; close pcbnew; open pcbnew and load the file
6) try to drag a corner of the new zone; note it does not work anymore

Version information:

Application: Pcbnew
Version: (5.99.0-216-gf0b29de6e), debug 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:
    Build date: Oct  9 2019 04:52:13
    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
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF
```
Original tags: pcbnew

Story points: 10.0
Dragging track causes a crash on pre 5.1.5 (lp:#1847717)

[Original report](https://bugs.launchpad.net/bugs/1847717) created by **David Pearce (halzia)**
```
Latest 5.1.x Nightly on Windows 10.
Dragging a track causes an immediate crash
This regression has appeared in the last few days so I suspect the snapping
to hidden items commit as the most likely suspect
https://github.com/KiCad/kicad-source-
mirror/commit/0d64b38dbc69b4cae87beadc5b55428efda05599

Application: KiCad
Version: (5.1.4-99-g6506f7768)-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.21.0 (+libidn2/2.1.1) 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: pcbnew

Story points: 10.0
Pcbnew Gerber Export generates extra points in polygons (lp:#1847714)

[Original report](https://bugs.launchpad.net/bugs/1847714) created by **St. Schulte (steven0815)**
```
Some CAM-processors stops plotting because at the end of some tracks there
is an additional point (duplicated). Example:

G36*
X133318815Y-95218815D02*
G01*
X133239463Y-95315506D01*
…
X132685000Y-95185000D01*
X133360019Y-95185000D01*
X133318815Y-95218815D01* <=
X133318815Y-95218815D01* <=
G37*
X133318815Y-95218815D02*

here is X133318815Y-95218815D01* doubled.

In the specs the generation is declared as:
Syntax              | Comments
G36*                | Start a region
X200Y300000D02*     | Move the current point to (2, 3)
G01*                | Set linear interpolation
X700000D01*         | Line segment to (7, 3)
Y100000D01*         | Line segment to (7, 1)
X1100000Y500000D01* | Line segment to (11, 5)
X700000Y900000D01*  | Line segment to (7, 9)
Y700000D01*         | Line segment to (7, 7)
X200000D01*         | Line segment to (2, 7)
Y300000D01*         | Line segment to (2, 3)
G37*                | Create the region by filling the contour

There is also a German thread about his (same data as above):
https://www.mikrocontroller.net/topic/482457

The data was created with KiCAD 5.1.4 (Windows and Linux), the errors were
visualized by GC-Prevue (white X in the CAM-Scfreenshot).
```
Original tags: export gerber pcbnew

Story points: 6.0
Not opening Gerberjob files (lp:#1847636)

[Original report](https://bugs.launchpad.net/bugs/1847636) created by **Hildo Guillardi Júnior (hildogjr)**
```
GerbView is not opening Gerberjob files generated by Pcbnew.

Application: GerbView
Version: 5.99.0-unknown-c3175b4~86~ubuntu16.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-165-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    Build date: Oct  3 2019 11:48:52
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

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: gerbview

Story points: 6.0
pcbnew: Global delete does not work if only vias selected (lp:#1847580)

[Original report](https://bugs.launchpad.net/bugs/1847580) created by **Vincent Göbel (vgoebel)**
```
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


If unlocked tracks are selected too it works fine. If alone or only with
auto routed or locked tracks it will not delete any vias no matter if they
are connected to any tracks.
```
Original tags: pcbnew

Story points: 6.0