giseldo/neodataset huggingface dataset:
Build polygon from intersection of other shapes (for filling) (lp:#1812946)

[Original report](https://bugs.launchpad.net/bugs/1812946) created by **zakhar nasimov (thedocument)**
```
It would be ideal to permit users to shade a region of closed contours
permitting shapes to be solid entities on the layer which the user prefers
to have them in. This should work for any closed contour of residing on the
same layer including the copper layers.

Application: kicad
Version: 5.0.1, release build
Libraries:
    wxWidgets 3.0.4
Platform: Linux 4.19.7-gentoo 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.0
    OpenCASCADE Community Edition: 6.9.1
    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=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=OFF
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=OFF
```

Story points: 10.0
Cross highlighting net buggy if hierarchical sheet name contains a space character (lp:#1812902)

[Original report](https://bugs.launchpad.net/bugs/1812902) created by **Rene Poeschl (poeschlr)**
```
I noticed something strange while looking at
https://bugs.launchpad.net/kicad/+bug/1812386

The net 5V-DC-L1 inside the hierarchical sheet did not get highlighed in
pcb new. If i removed the local label then the feature worked again.

Investigating this further lead to me finding out that removing the space
character in the hierarchical sheet name also meant that cross highlighting
works again.

This means there is a problem if the sheet name contains a space and the
net has a local label.

Attached a much more simplified project showing this problem.
(Remove the local label or change the sheet name and highlighting works
again.)

---

Tested this in both kicad 5.0.2 and current nightly under ubuntu 16.04

Version info of the nightly:
Application: kicad
Version: 6.0.0-rc1-unknown-179dfa0~84~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.15.0-43-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_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: Crash on cut (lp:#1812848)

[Original report](https://bugs.launchpad.net/bugs/1812848) created by **Aleksandr Sh (dsa-t)**
```
PCBnew crashes when using Cut functionality

Application: kicad
Version: (6.0.0-rc1-dev-1569-g3526c9a37), 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
V6 dxf inport issue (lp:#1812840)

[Original report](https://bugs.launchpad.net/bugs/1812840) created by **Sebastian Kulik (sebastiankulik1)**
```
Hi guys,

I found a issue in import of dxf-files.
In V5 all seems to be fine, in V6 nightly some of vectors are not correct
(see my screenshot).
Any ideas?

Best regards,
Sebastian
```
Original tags: dxf import pcbnew

Story points: 6.0
Gerber files with Protel extensions not included when archiving (lp:#1812639)

[Original report](https://bugs.launchpad.net/bugs/1812639) created by **Aleksandr Sh (dsa-t)**
```
1. Create Gerber files with Protel extensions
2. Archive the project

Result: None of the gerbers get archived.

Application: kicad
Version: (6.0.0-rc1-dev-1569-g3526c9a37), 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
impliment trim tool (lp:#1812614)

[Original report](https://bugs.launchpad.net/bugs/1812614) created by **zakhar nasimov (thedocument)**
```
It would be ideal for kicad to have a trim tool akin to most other cad
packages. The implementation should only trim entities on the same layer
which have overlapping or intersecting objects.

Application: kicad
Version: 5.0.1, release build
Libraries:
    wxWidgets 3.0.4
Platform: Linux 4.19.7-gentoo 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.0
    OpenCASCADE Community Edition: 6.9.1
    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=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=OFF
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=OFF
```

Story points: 14.0
Track dragging is broken with overlapping tracks (lp:#1812535)

[Original report](https://bugs.launchpad.net/bugs/1812535) created by **Aleksandr Sh (dsa-t)**
```
It a track overlaps another track and I try to drag the non-overlapping
part, the overlapping part is removed and non overlapping one creates a
straight line to the end of the next segment.

Dragging the middle of the overlapping part makes the segments disappear.

See the attached screenshot and pcb file.


Application: kicad
Version: (6.0.0-rc1-dev-1569-g3526c9a37), 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
Via tool creates too large track image in OpenGL (lp:#1812532)

[Original report](https://bugs.launchpad.net/bugs/1812532) created by **Aleksandr Sh (dsa-t)**
```
If I place a via on the end of a track or in a track junction, it creates a
circle that is bigger than the track. And it won't disappear after via is
deleted. And it can't be selected properly. And it won't be visible in
printing or 3d view.

But most importantly, I somehow created a track which breaks when dragging.
See the screenshot and the pcb file.

Application: kicad
Version: (6.0.0-rc1-dev-1535-ge7fa02a9f), 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 segfault on adding footprint with SMD pads (lp:#1812521)

[Original report](https://bugs.launchpad.net/bugs/1812521) created by **Julien Faucher (suzizecat)**
```
Hi there.

I have PCBNew crashing on adding a new footprint (segfault).

In PCBNew : Place > Footprint > Any Footprint with SMD pad > Ok > Segfault.

It might work only on squared/rectangular pads but i'm not sure.

Cheers,
Julien FAUCHER

Application: kicad
Version: 6.0.0-rc1-unknown-4cf4600~84~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-13-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.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=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=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```

Story points: 6.0
Unpacking from archive fails if path contains cyrillic symbols (lp:#1812516)

[Original report](https://bugs.launchpad.net/bugs/1812516) created by **Aleksandr Sh (dsa-t)**
```
1. Create a folder named "Рабочая папка"
2. Archive a project into it. This works.
3. Try to unarchive that zip. It does not create any files to the output
directory

Application: kicad
Version: (6.0.0-rc1-dev-1535-ge7fa02a9f), 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: wxwidgets

Story points: 6.0
PCBNew : Starting at 45° when routing a 45° component (lp:#1812445)

[Original report](https://bugs.launchpad.net/bugs/1812445) created by **Julien Faucher (suzizecat)**
```
Hi.

At the moment, when routing a component which is rotated at 45°, the track
will always start on a H/V (Horizontal/Vertical) direction followed by a
45° bend if relevant. Thus, you are almost obligated to switch the track
posture ('/' hotkey by default).

Moreover, I'm almost sure that it is an even bigger mess if the part is
rotated to an arbitrary value.
Could it be possible to implement, even as an option, something to start
the routing with the angle of the pad or at least (maybe easier) with the
angle of the footprint ?

To reproduce, place a footprint (lets say an LQFP), rotate it at 45° and
start routing...

Best regards,
Julien FAUCHER

Application: kicad
Version: 6.0.0-rc1-unknown-4cf4600~84~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-13-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.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=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=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: pns

Story points: 22.0
Nightly making weird zone refill shapes (lp:#1812393)

[Original report](https://bugs.launchpad.net/bugs/1812393) created by **Frank Severinsen (shack)**
```
Hi Guys

I just opened this board which is made in V5.0.0 (actually V4 and later
ported to 5), and when I refill the zones in nightly (see version below) I
get these triangle shapes in the zone fills.
The guy who designed the board is not very experienced in kicad, so it
might be a problem due to that, but it might also be a bug.

The bug show both in nightly Kicad and nightly PCBnew. Doesnt show in 5.0.2

I'll be happy to send the boardfile in private, but I can't add it here.


Application: kicad
Version: 6.0.0-rc1-unknown-7f6801b~84~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-13-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.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=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=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: pcbnew

Story points: 6.0
pcbnew, gal: zone duplicating adding cutout. (lp:#1812339)

[Original report](https://bugs.launchpad.net/bugs/1812339) created by **Sergey A. Borshch (sb-sf)**
```
Steps to reproduce:
1) open board with zone.
2) select that zone, choose "Zones->Add a zone cutout" from menu on right
mouse button.
3) add a cutout.
4) add a second cutout.
Expected result: one zone with two cutouts. Actual result: one zone zone
with first cutout, second zone (duplicate of first) with two cutouts, see
attached screencast.

Version info: today's git master.
Application: pcbnew
Version: (6.0.0-rc1-dev-1550-g1c4b033-dirty), release build
Libraries:
    wxWidgets 3.0.2
Platform: Linux 4.4.0-138-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
    Compiler: GCC 5.4.0 with C++ ABI 1009

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=OFF
    KICAD_SCRIPTING_MODULES=OFF
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=OFF
    KICAD_USE_OCE=OFF
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: gal pcbnew

Story points: 6.0
KiCad crash when deleting a zone outline in PCBnew (lp:#1812281)

[Original report](https://bugs.launchpad.net/bugs/1812281) created by **Mitch Kapa (mitchkapa)**
```
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

I am working on a 6-layer design that was originally created in KiCad 4.0.7
and that I have migrated to 5.0.2 to continue development.  In PCBnew when
I attempt to delete a zone outline (GND pour) on the 2nd layer of the board
PCBnew and all of KiCad crashes within seconds of the deletion.  I have
tried turning off other layers and changing other settings but to this
point I have not found anything that will stop the crash from happening.
At this point it seems impossible to move forward with the design because
the zone outline deletion is not saved before the crash and when the
project is reopened the zone outline remains.
```

Story points: 6.0
Add application-level default line widths to pcbnew preferences (lp:#1812270)

[Original report](https://bugs.launchpad.net/bugs/1812270) created by **Rene Poeschl (poeschlr)**
```
This might be a side effect of introducing the new way of specifying the
default line width for the footprint editor. That change removed the old
way of defining line widths but there is no new option added for pcb_new.
```

Story points: 6.0
Anything I add to footprint disapears (lp:#1812233)

[Original report](https://bugs.launchpad.net/bugs/1812233) created by **Piotr Gałka (piotrgalka)**
```
I noticed it working with yesterdays nightly so I installed todays (Windows
64).

I start with clear PC (Roaming\kicad deleted).
I copied my L.pretty lib onto this PC.
I run KiCad.
I run Footprint Editor - see 01.png - isn't it too long to load footprints
2 minutes?
I changed to work in F11 (default is F9 - reported yesterday).
I added my L.pretty to library list.
I opened my footprint 7870 - see 02.png.
I have added one line at CrtYd - 03.png.
I pressed Ctrl+S - 04.png
I have selected 2012 footprint and then 7870 - 05.png - line disapeared.

Note the point at 0,0 coordinates. There are probably all thinks (lines and
arcs) I have added in footprint history.

Footprint history.
1. Start from copying other one.
2. Deleted all lines and made these not typical PADs.
3. Added Fab picture - you see.
4. Noticed that text 7870 is at Fab layer and I wont it at CrtYd layer.
5. Changed its layer.
6. Went to footprint used as source to make the same change.
7. Get back - left arc from Fab disapeared - first mark something is going
wrong.
8. Noticed that point in middle - you see it.
9. Double clicked it at found it is my lost arc but start, and end set to
0,0.
10. Edited start and end to right values - this arc no more disapeared.
11. Added whole CrtYd and Silk picture (4 lines and 4 arcs at each, and
some help lines (deleted later) during it for arcs centers).
12. After Ctrl+S and look into another footprint and get back all what I
have added disapered except one line to the left. This one was not the
first I draw.
13. Supposed that I forgot to press Ctrl+S then do that all once more with
the same affect.
14. Tried to finish that footprint some more times thinking that the
problem may be is in sequence of my actions (thinking such probably because
after save I see still everything OK so supposed something is going wrong
later). Now I suppose that footprint is damaged during save.

In zip there is my footprint as with other footprints I didn't noticed that
problem so I think something in it fires the problem.
```

Story points: 6.0
Create new library creates two directories (lp:#1812135)

[Original report](https://bugs.launchpad.net/bugs/1812135) created by **Seth Hillbrand (sethh)**
```
1) Start KiCad and create a new project
2) Launch footprint editor
3) File->New Library
4) Open a director/folder select dialog
5) Create a new directory named "TestLibrary" in your project folder
6) Add to local project symbol library table

At this point, there will be two directories in the project folder.  One
named "TestLibrary" and one named "TestLibrary.pretty".  In step 5, if you
select the project folder rather than creating a new folder, the
"ProjectName.pretty" library will be created in the parent folder that
holds ProjectName

Application: kicad
Version: (6.0.0-rc1-dev-1545-g2d5752f51d), release build
Libraries:
    wxWidgets 3.0.4
Platform: Linux 4.18.0-3-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
    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=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=OFF
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```

Story points: 6.0
PCB: Hotkeys does not work after hiding refill window until cursor is moved (lp:#1812131)

[Original report](https://bugs.launchpad.net/bugs/1812131) created by **Aleksandr Sh (dsa-t)**
```
Refill zones currently shows and hides a refill window.
After that, I can't use hotkeys like V,R,F,D,M,U,I,G until I move a cursor.
Sometimes, I need to drag a track just after refilling and I notice this
bug very often this way.
Also, I frequently switch layers just after refilling, and I also notice
this behavior.

This happens with all windows, not just the refill one, but after
interacting with other windows, I usually move the cursor anyway.

Steps:
1. Press B to refill zones. Do not move the cursor
2. Try to press any of the above hotkeys: nothing happens

Application: kicad
Version: (6.0.0-rc1-dev-1535-ge7fa02a9f), 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-разрядный выпуск, 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