giseldo/neodataset huggingface dataset:
Template selector behaviour (lp:#1773510)

[Original report](https://bugs.launchpad.net/bugs/1773510) created by **Andy (awmt102)**
```
Bug 1492577 (https://bugs.launchpad.net/kicad/+bug/1492577) supposedly
fixed a problem, however it results in the need to press the 'validate'
button to actually show the 'portable' templates. Whilst a little
inconvenient it would be manageable, however pressing validate on the
"user" templates does not work. You have to 'browse' to the folder again
before pressing validate. This is inconvenient.

I propose that the need to 'browse' for the user template folder be fixed
and that the validate function is called when moving between "System
templates", "User Templates" and "Portable Templates".



===================
Application: kicad
Version: (5.0.0-rc2-dev-707-g2ed24a4), 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.3.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)
    Boost: 1.61.0
    Curl: 7.43.0
    Compiler: Clang 7.3.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_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON
```
Original tags: starter

Story points: 8.0
HPGL wrong PT unit (lp:#1773331)

[Original report](https://bugs.launchpad.net/bugs/1773331) created by **Manuela Schneider (mwiemanu)**
```
In a created *.plt HPGL file the PT command seems to be wrong  (KiCad
Version 5.0.0-rc2-dev-596-gcfd2f1d00 running on Windows 10/64bit).
The unit of HPGL files is almost mils, but in this PT command the unit is
mm.


File... --> Plot...
Plot mode: HPGL
Pen size


("set units to milimeters"):
should be ...
-> Pen size 0.1         --> in file 0.1         (PT 4)
-> Pen size 0.05        --> in file 0.05        (PT 2)



("set units to inches"):
In the File... --> Plot... window the units of the pen size isn't changing.
It stays in mm.
                                                 inch->mil->mm->HPGL mil ?
-> Pen size 0.1         --> in file 2.6         (0.1*1000/25.4*25=>PT 98 ?
)
-> Pen size 0.05        --> in file 1.3         (PT 49 ?)
```

Story points: 6.0
Add support for via shapes (lp:#1773255)

[Original report](https://bugs.launchpad.net/bugs/1773255) created by **Thomas Pointhuber (pointhi)**
```
Example: sha2017_proto_rev1_0_0.brd from
https://github.com/SHA2017-badge/Scarves

All those single pads are rectangular, but round in KiCad after using eagle
import. Looking at it in more detail in eagle, it's a rectangular via
without a stop mask.

A workaround would be adding a pad instead of the via. The fix would be
extending via support in KiCad to allow more shapes and allowing
overwriting mask settings of single vias.

Application: pcbnew
Version: (5.0.0-rc2-22-g6090f9001), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.16.10-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: Clang 6.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: eagle pcbnew

Story points: 10.0
eagle import, holes missing mask layer (lp:#1773253)

[Original report](https://bugs.launchpad.net/bugs/1773253) created by **Thomas Pointhuber (pointhi)**
```
Example: sha2017_draft_rev1_0_0.brd from
https://github.com/SHA2017-badge/Scarves

Holes are imported into KiCad, but miss the F.Mask and B.Mask Layer. (It's
clearly visible in 3D-Viewer)

Another Note: tRestrict is still marked as unsupported in the import
dialog. But it seems like it's correctly imported so this warning is
probably invalid now.


Application: pcbnew
Version: (5.0.0-rc2-22-g6090f9001), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.16.10-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: Clang 6.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: eagle pcbnew

Story points: 6.0
Launching pcbnew from kicad creates graphical errors for pcbnew then freezes kicad upon close. (lp:#1773019)

[Original report](https://bugs.launchpad.net/bugs/1773019) created by **Jt Whissel (jtwhissel)**
```
Launching pcbnew from kicad creates graphical errors for pcbnew (See
attached image). Then it freezes kicad upon closing pcbnew. Opening up
pcbnew externally does not cause any graphical error for pcbnew upon
launch. I have purged and reinstalled kicad and the issue persists.


Application: kicad
Version: 5.0.0-rc2-unknown-ca54880~65~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.0g 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-22-generic 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.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=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: gtk3

Story points: 6.0
Add project-specific default fields (lp:#1772529)

[Original report](https://bugs.launchpad.net/bugs/1772529) created by **Seth Hillbrand (sethh)**
```
Default fields in Eeschema should be settable on a project-by-project basis
with the defaults imported from the project template.

This will allow standardization for companies/groups with internal
guidelines for specific fields as well as internationalization of required
field strings that should be translated (e.g. "Tolerance") if desired.
```
Original tags: eeschema

Story points: 26.0
add cursor-following status popups to all drawing tools (lp:#1772392)

[Original report](https://bugs.launchpad.net/bugs/1772392) created by **Thomas Pointhuber (pointhi)**
```
Currently, there is a nice helper box displayed beside the cursor when
drawing an arc. I would consider it as useful to also add it to the other
graphical objects as well:

Line: length and angle starting from the last point
Circle: radius
Polygone: length and angle starting from the last point (or probably to
both connected points)

Probably the same for zones and keep out areas as for polygons

# System Information

Application: kicad
Version: (5.0.0-rc2-dev-780-gc49a4398a), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.16.9-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: Clang 6.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: gal

Story points: 6.0
Remove double-negative from ERC report ErrType(2) (lp:#1772297)

[Original report](https://bugs.launchpad.net/bugs/1772297) created by **Reece Pollack (reece-pollack)**
```
When a global label is not connected, the ERC reports:

ErrType(2): Pin not connected (and no connect symbol found on this pin)
    @ (4.000 in,3.500 in): Pin 57 (Bidirectional) of component U1 is
unconnected.

The problem is NOT that there isn't a connect symbol, which is what this
message says. The problem is that there isn't a no-connection flag. Thus I
suggest this should read:

ErrType(2): Pin not connected (and a no-connection flag was not found on
this pin)
    @ (4.000 in,3.500 in): Pin 57 (Bidirectional) of component U1 is
unconnected.

1) This avoids torturing English syntax (and those who struggle to read
English) by avoiding using a double "no", as in "(and no no connect symbol
found on this pin)".

2) The documentation for Eeschema refers to this as a "No connection flag",
rather than a symbol, as does the hover text for the tool bar icon which
reads "Place no connection flag". Either the error should call it a "flag"
or the hover text should say "symbol". I like "flag", as this doesn't
appear in a symbol library and this is how it is referred to in the
documentation.

3) The error message and hover text would be clearer with a hyphen: "Place
no-connection flag". This avoids suggesting that you are not placing a
connection flag. If we're feeling hyphen-averse, place quotes around "no
connect" as done in the documentation:

ErrType(2): Pin not connected (and a "no connection" flag was not found on
this pin)
    @ (4.000 in,3.500 in): Pin 57 (Bidirectional) of component U1 is
unconnected.

-----------------------------

Built from sources on a private branch derived from this Git commit:
    8f6ae70 Deterministic algorithm for picking field values in multiunit
components

Application: kicad
Version: (5.0.0-rc2-dev-772-g85d836f), debug build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.11 libidn/1.32 librtmp/2.3
Platform: Linux 4.13.0-41-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
    OpenCASCADE Community Edition: 6.8.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
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: eeschema

Story points: 10.0
Support Keepout Areas in Footprint (lp:#1772282)

[Original report](https://bugs.launchpad.net/bugs/1772282) created by **Thomas Pointhuber (pointhi)**
```
Some footprints like RF-Modules require keep out areas to do not interfere
with the antenna or to disallow vias due to blank parts below the module.

# System Information

Application: kicad
Version: (5.0.0-rc2-dev-769-g8f6ae7040), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.16.9-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: Clang 6.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: footprint-editor

Story points: 6.0
Set Default Thickness per Layer (lp:#1772280)

[Original report](https://bugs.launchpad.net/bugs/1772280) created by **Thomas Pointhuber (pointhi)**
```
# Current Behaviour

* set "Layer" to "F.CrtYd", "Default thickness" to 0.05mm
* draw Courtyard
* set "Layer" to "F.SilkS", "Default thickness" to 0.12mm
* draw Silkscreen

# Expected Behaviour

Default thickness is bound to a layer, so people do not need to change them
all the time when changing the layer (or need to refinish).

Sane default values (used in the official library):

CrtYd = 0.05mm
Fab = 0.10mm
SilkS = 0.12mm

# System Information

Application: kicad
Version: (5.0.0-rc2-dev-769-g8f6ae7040), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.16.9-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: Clang 6.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=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
Grayout "Help/Getting started with KiCad" if there is no manual present or redirect to online manual (lp:#1772257)

[Original report](https://bugs.launchpad.net/bugs/1772257) created by **Thomas Pointhuber (pointhi)**
```
# Current Behaviour

1. click on "Help" -> "Pcbnew Manual" when there is no offline manual
2. get "Help file "pcbnew" could not be found."

# Expected Behaviour

gray out items which would not work or fallback with a redirect to the
online reference (for example add a link in the help message)

# System informations

Application: kicad
Version: (5.0.0-rc2-dev-769-g8f6ae7040), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.16.9-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: Clang 6.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: starter

Story points: 16.0
Include selection of Zone as well when using "Select Whole Net" (lp:#1772251)

[Original report](https://bugs.launchpad.net/bugs/1772251) created by **Thomas Pointhuber (pointhi)**
```
# Current Behaviour

* Select "Whole Net"
* Zones are not selected

# Expected Behaviour

* Select "Whole Net"
* Have whole net selected

I wrote a patch some time ago, which caused a crash with overlapping not
filled zones. Probably its fixed now with the new connectivity algorithm:

https://github.com/pointhi/kicad-source-
mirror/commit/56e263ca12ebd052024b68da8d2a252f5483380f

# System informations

Application: pcbnew
Version: (5.0.0-rc2-dev-769-g8f6ae7040), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.16.9-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: Clang 6.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=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
redraw at schematic block move (lp:#1772241)

[Original report](https://bugs.launchpad.net/bugs/1772241) created by **Novak Tamas (novak-7)**
```
When moving a block in eechema, block in its original place is still
visible while new block is moving. It may seem to be a "feature" (to
compare the new position to the original one), but old block is not redrawn
after changing zoom factor.
And not a big deal (it seldom happens) but moving large block is painfully
slow even on high-end CPU/GPU machines. Some optimization would be fine
even if not using h/w acceleration.
```
Original tags: eeschema

Story points: 6.0
Remove Library Wizard for Github (lp:#1772209)

[Original report](https://bugs.launchpad.net/bugs/1772209) created by **Thomas Pointhuber (pointhi)**
```
In the current nightly there is still the "Add Footprint Wizard" available
with a link to the KiCad repository. When users use it they will get the
old v4 libraries without a warning.

I would propose to at least remove the default URL and/or add a warning.
Probably it's the best to remove the graphical part altogether.


Application: kicad
Version: (5.0.0-rc2-dev-769-g8f6ae7040), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.16.8-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: Clang 6.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=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
Unintentional footprint file format change? Library name now included in footprint name. (lp:#1772095)

[Original report](https://bugs.launchpad.net/bugs/1772095) created by **Rene Poeschl (poeschlr)**
```
It seems the footprint editor now includes the library name in the first
line of the file. In the past only footprint export did this.

If this is intended to stay for kicad 5 then all footprints in the official
lib need to be updated. We would also need to update all our helper tools
and the library convention.

This must be quite new as i made a pull request to the footprint lib about
a month ago and did not observe this. (Or there is some hidden setting that
i do not know about.)

My kicad version (ubuntu nightly from today)

Application: kicad
Version: 5.0.0-rc2-dev-unknown-dfcdfe9~65~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-41-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
    OpenCASCADE Community Edition: 6.8.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=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```

Story points: 8.0
Differential Pair Length tuning can create odd shapes when constrained (lp:#1771922)

[Original report](https://bugs.launchpad.net/bugs/1771922) created by **Seth Hillbrand (sethh)**
```
When you tune a differential pair for length, the shapes generated can end
up being very odd (looping back on themselves) when the space for the shape
is constrained.  See attached video for an example.

Application: kicad
Version: (5.0.0-rc2-dev-677-gad6956b05), release build
Libraries:
    wxWidgets 3.0.2
Platform: Linux 4.9.0-6-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.62.0
    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_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=OFF
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON
```
Original tags: pcbnew

Story points: 24.0
tracks don't hug in gal (magnetic tracks) (lp:#1771683)

[Original report](https://bugs.launchpad.net/bugs/1771683) created by **michalstec (nnn4000)**
```
It's not always possible to route tracks in a way that they hug to others.
Sometimes I can route a track close to neighbouring one and easily achieve
distance determined by clearance between them. Sometimes It's impossible,
the track can follow only grid and goes back if it's too close. It depends
of direction.
Video attached.



Application: kicad
Version: 5.0.0-rc2-dev-unknown-904eb82~65~ubuntu14.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Platform: Linux 3.19.0-32-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.54.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.35.0
    Compiler: GCC 4.8.4 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=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: 26.0
Masks derived from custom pad shape plotted incorrectly (lp:#1771526)

[Original report](https://bugs.launchpad.net/bugs/1771526) created by **Daniel Elstner (daniel-elstner)**
```
I'm using custom pad shapes in my design. As is usual, I also have Kicad
derive the outline of the solder mask and paste from the pad, based on
clearance settings. These masks display correctly in the footprint editor
and in Pcbnew.

However, after plotting the design to Gerber format, I noticed in Gerbview
that these derived masks from custom pads are rendered incorrectly. It
appears that the clearance is only applied to the anchor pad, while there
is no clearance at all to the polygon of the custom pad.

The attached screenshots illustrate the problem.

Application: kicad
Version: 5.0.0-rc2-dev-unknown-538ab0e~65~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.0g 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-20-generic 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.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=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=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