giseldo/neodataset huggingface dataset:
Eeschema error when using drag (G) shortcut on a component  (lp:#1791839)

[Original report](https://bugs.launchpad.net/bugs/1791839) created by **Sebastian Haas (m0ku)**
```
The error (MsgBox)in eeschema says the following:

Warning
HandleBlockPLace(): m_mouseCaptureCallback
= NULL

with only on button to press (OK)



This happens everytime I am trying to drag a capacitor, or a resistor (I
did not test other components) by clicking the component with my left mouse
(trackpad), followed by the shortcut (G) and immediately after that I press
left mouse again to place it somewhere. Then the message box appers with
the text above. (Using the drag option from right-click menu works fine)

After closing the message box, sometimes I can no longer select any
component. I still can safe the schematic but habve to close eeschema
before it works again.

If the resistor is connected with another component by a wire. The wire
disappears after pressing the the drag shortcut (G).

The KiCad was installed completely fresh on a Macbook Air running on MacOS
10.13.6.

Information form KiCad:

Application: kicad
Version: (5.0.0-3-g5ebb6b6), 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.67.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_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```

Story points: 6.0
kicad2step exporter overwrites .kicad_pcb file (lp:#1791826)

[Original report](https://bugs.launchpad.net/bugs/1791826) created by **Daniel Albert (esclear)**
```
When converting a .kicad_pcb file with the kicad2step cli tool, the board
file will be overwritten by the .step file.

If you run
$ kicad2step board.kicad_pcb
you will *not* end up with a board.step file, which might be expected
behavior, but instead the STEP model gets written in the board.kicad_pcb
file.

That is not documented anywhere.

The default export path could be set to [filename].step instead or the -f
option could be made mandatory to fix the issue.

The issue occurs with the kicad 5 provided by opensuse Tumbleweed:

Application: kicad
Version: 5.0.0, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.5) libssh/0.8.2/openssl/zlib nghttp2/1.32.0
Platform: Linux 4.18.5-1-default x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL 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.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_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: export kicad2step

Story points: 6.0
Eeschema: symbol rescue doesn't list instances of symbol (lp:#1791805)

[Original report](https://bugs.launchpad.net/bugs/1791805) created by **Fabián Inostroza (fabianinostroza)**
```
Open the attached project, the symbol rescue dialog shows up but it doesn't
list the instances of the symbols to rescue.

I'm using rev 3dc9c5fab of symbol libraries.

Application: kicad
Version: (6.0.0-rc1-dev-476-g3ad1cd8d5), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 GnuTLS/3.5.19 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.32.0 librtmp/2.3
Platform: Linux 4.17.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+ 2.24
    Boost: 1.62.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_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=OFF
```
Original tags: eeschema

Story points: 6.0
fixed zoom in footprint viewer (lp:#1791667)

[Original report](https://bugs.launchpad.net/bugs/1791667) created by **staviq (staviq)**
```
This is a feature request.

In footprint viewer, by default zoom level auto adjusts to fit the
footprint in the entire window.

It would be really helpful if you could freeze the zoom level when browsing
footprints in the 2d viewer, like the 3d view does, in 3d viewer zoom does
not change when browsing components.
```
Original tags: feature.request

Story points: 6.0
eagle import crash for embedded symbols (lp:#1791653)

[Original report](https://bugs.launchpad.net/bugs/1791653) created by **staviq (staviq)**
```
Application: kicad
Version: (6.0.0-rc1-dev-475-g8b850fa), 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:
    wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)
    Boost: 1.67.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_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

It works fine in stable 5.0, but in 6.0 on osx crashes, and in windows it
acts weird.

If i import eagle project that has missing libraries, v5 seems to correctly
uses schematic symbols that eagle embeds in the schematic file, in v6
however, on osx import crashes right after i click ok on the window saying
there are some unrecognized layers.
On windows, it does not crash, and the schematic looks right, i can right
click symbols in the schematic and they open in the library editor, BUT, if
i manually find the symbol in the library editor, in the list on the left,
clicking on the symbol on that list does not load the symbol in the editor,
just nothing happens.
If i save, and reopen, all the symbols that were embedded in eagle, are now
showing as squares with question marks, if i open the library the import
has created, the missing symbols are on the list, but clicking them does
nothing.

Steps to reproduce:

1. create any project in eagle, put some parts in the schematic.
2. move or remove libraries that the eagle project uses, so the kicad
import cannot access them.
3. import eagle project with kicad.
4. if the import complains about missing layers, click ok.
5. depending on the os, kicad will either crash, or the import will be
incomplete, and will not save correctly ( on windows ).

Those steps work correctly in stable 5.0, problem occurs with latest
nightly builds.


EDIT: OSX Crash report:

https://pastebin.com/tkRTBNL3
```
Original tags: eagle import

Story points: 6.0
Mac Eeschema segfaults when closing missing library window (lp:#1791561)

[Original report](https://bugs.launchpad.net/bugs/1791561) created by **Seth Hillbrand (sethh)**
```
Open a schematic that needs to be re-mapped but doesn't have all symbol
libraries available and eeschema will segfault when closing the
HTMLMessageBox that notifies you of the missing libraries.  This does not
happen under Linux.

Steps:
1) git clone Alexis' motherboard files `git clone
https://github.com/c4puter/motherboard`
2) checkout a pre-5 revision `git checkout 86ec50a`
3) Open Kicad and load motherboard.pro
4) Start Eeschema.  The libraries try to load, you see the message about
missing libraries and crash.

Application: kicad
Version: (6.0.0-rc1-dev-475-g5b4928f93), 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.6.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.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_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: macos osx

Story points: 6.0
fix unix desktop files categories (lp:#1791511)

[Original report](https://bugs.launchpad.net/bugs/1791511) created by **Fabio Rossi (rossi-f)**
```
All the unix .desktop files

./resources/linux/mime/applications/bitmap2component.desktop
./resources/linux/mime/applications/eeschema.desktop
./resources/linux/mime/applications/gerbview.desktop
./resources/linux/mime/applications/kicad.desktop
./resources/linux/mime/applications/pcbcalculator.desktop
./resources/linux/mime/applications/pcbnew.desktop

put the software in two categories (Development and Electronics). IMHO I
propose to use only Electronics because the suite is not used to build
programs from source code. Attached a proposal patch to change the
categories
```

Story points: 6.0
kicad needs curl unconditionally (lp:#1791500)

[Original report](https://bugs.launchpad.net/bugs/1791500) created by **Fabio Rossi (rossi-f)**
```
In the actual CMakeLists.txt file curl is required only conditionally based
on the option BUILD_GITHUB_PLUGIN. Actually this is wrong because the
static common library defined in common/CMakeLists.txt depends on
kicad_curl/kicad_curl.cpp which requires curl even if BUILD_GITHUB_PLUGIN
is not defined.

This is the error I get without curl installed with
-DBUILD_GITHUB_PLUGIN=NO:

[ 59%] Building CXX object
common/CMakeFiles/common.dir/kicad_curl/kicad_curl.cpp.o
cd /var/tmp/portage/sci-electronics/kicad-9999/work/kicad-9999_build/common
&& /usr/bin/x86_64-pc-linux-gnu-g++ -DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H
-DKICAD_SCRIPTING -DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SCRIPTING_MODULES
-DKICAD_SCRIPTING_WXPYTHON -DKICAD_SPICE -DKICAD_USE_OCC -DUSE_OPENMP
-DWXUSINGDLL -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -D__WXGTK__
-I/var/tmp/portage/sci-electronics/kicad-9999/work/kicad-9999/include
-I/var/tmp/portage/sci-electronics/kicad-9999/work/kicad-9999/common/.
-isystem /usr/lib64/wx/include/gtk2-unicode-3.0 -isystem
/usr/include/wx-3.0 -isystem /usr/lib64/opencascade-7.3.0/ros/lin/inc
-I/var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/common/./dialogs
-I/var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/common/./widgets
-I/var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/common/./dialog_about
-I/usr/include/cairo -I/usr/include/pixman-1 -I/var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/common/../3d-viewer
-I/var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/common/../pcbnew
-I/var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/common/../polygon
-I/var/tmp/portage/sci-electronics/kicad-9999/work/kicad-9999_build
-I/usr/include/python2.7 -I/var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/scripting   -DNDEBUG -DNDEBUG -Wall
-O2 -pipe -march=corei7 -ggdb -Wsuggest-override -Wno-unused-local-typedefs
-Wno-strict-aliasing -fopenmp -pthread -Wshadow -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden   -std=gnu++11 -o
CMakeFiles/common.dir/kicad_curl/kicad_curl.cpp.o -c /var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/common/kicad_curl/kicad_curl.cpp
In file included from /var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/common/kicad_curl/kicad_curl.cpp:28:0:
/var/tmp/portage/sci-
electronics/kicad-9999/work/kicad-9999/include/kicad_curl/kicad_curl.h:44:23:
fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
                       ^
compilation terminated.
make[2]: *** [common/CMakeFiles/common.dir/build.make:3792:
common/CMakeFiles/common.dir/kicad_curl/kicad_curl.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....


I have attached a simple fix for the problem.
```

Story points: 6.0
Page Settings: lock "Export to Other Sheets" option (lp:#1791431)

[Original report](https://bugs.launchpad.net/bugs/1791431) created by **Andy (awmt102)**
```
I make good use of the Page Settings form to set things like project title,
revision, date and a reference number. I also tend to use multi sheet
schematics. I know I can change the Page Settings and click the Export to
Other Sheets box to make sure my changes are mirrored across the project,
but it would be great if there was a way to make the Export to Other Sheets
box ticked by default (e.g. through a setting in a project template.
Alternatively another tick box with 'lock export settings' or similar that
would allow you to tick the relevant Export to Other Sheets boxes then
'lock' these ticks for the lifetime of the project so changes are always
replicated across sheets for those of us who prefer to up-issue a whole
project when changes are made, rather than just the sheet.
```
Original tags: feature.request

Story points: 6.0
"Clarify Selection" lists holes which are far away (lp:#1791287)

[Original report](https://bugs.launchpad.net/bugs/1791287) created by **Thomas Pointhuber (pointhi)**
```
Example: sha2017_draft_rev1_0_0.brd from
https://github.com/SHA2017-badge/Scarves

Bug does not happen all over the board. The area I used in the linked video
seems to be a good candidate for testing.

# Current Behaviour

* "Clarify Selection" pops up with items where their bounding box is not
even near the mouse cursor

# Expected Behaviour

* Only show items which are actually selectable at the specified position

# Version Information

Application: pcbnew
Version: (6.0.0-rc1-dev-465-gd3c82b0b5), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.61.0 OpenSSL/1.1.0i zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.32.0
Platform: Linux 4.18.5-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.0
    Compiler: Clang 6.0.1 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
eagle import, Milling layer not supported (lp:#1791284)

[Original report](https://bugs.launchpad.net/bugs/1791284) created by **Thomas Pointhuber (pointhi)**
```
Example: sha2017_draft_rev1_0_0.brd from
https://github.com/SHA2017-badge/Scarves

There is a cutout on the Milling Layer, which is converted to "Dwgs.User"
instead of "Edge.Cuts", which should be the correct equivalent.

Reference:

https://electronics.stackexchange.com/questions/35702/difference-between-
drill-layer-hole-layer-and-milling-layer-in-eagle#35703

# Version Information

Application: pcbnew
Version: (6.0.0-rc1-dev-465-gd3c82b0b5), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.61.0 OpenSSL/1.1.0i zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2
(+libidn2/2.0.4) nghttp2/1.32.0
Platform: Linux 4.18.5-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 2.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.0
    Compiler: Clang 6.0.1 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
Eeschema should rescue missing symbols when appending sheet (lp:#1791280)

[Original report](https://bugs.launchpad.net/bugs/1791280) created by **PK555 (pk555)**
```
Application: kicad
Version: (5.0.0), 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
    OpenCASCADE Community Edition: 6.8.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=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON


Done this twice:
Create New project
File > Append Schematic Sheet
Load an old Schematic
Add, Remove as per normal saving constantly.
At some stage it breaks, Selecting 'Save' then the error.
See Screenshot.
```

Story points: 6.0
OPENSSL_INCLUDE_DIR not included in 'common' module (lp:#1791164)

[Original report](https://bugs.launchpad.net/bugs/1791164) created by **Alexey Chernov (4ernov)**
```
OpenSSL might be installed in some unusual directories in the distros (e.g.
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssl10.html). For
this OPENSSL_INCLUDE_DIR is correctly gathered by the CMake, but it's not
included in 'common' module, which leads to compilation failure. Adding
${OPENSSL_INCLUDE_DIR} to, say, common/CMakeLists.txt:22 fixes the problem.
```
Original tags: building cmake openssl

Story points: 6.0
eeschema: symbol libraries path substitution not copy-able (lp:#1791129)

[Original report](https://bugs.launchpad.net/bugs/1791129) created by **simon (p-info-1)**
```
when adding a new library to a schematic, the Path Substitution field is
not copy-able, hence not usable except for typing it over. Am i missing
something here? also the path substitution is not usable in the file
browser.

kicad nightly version:

Application: kicad
Version: 6.0.0-rc1-unknown-181ce46~66~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-134-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: 6.0
eeschema: cursor crosshair is not show on macOS (lp:#1791098)

[Original report](https://bugs.launchpad.net/bugs/1791098) created by **Eugeniy Meshcheryakov (eugen-debian)**
```
The cross-hair is not shown in eeschema for macOS, independent of "change
cursor shape" option. It is also not show in pcbnew by default, but it is
possible to change that in preferences. I cannot find any preference to
change this for eeschema.

Application: kicad
Version: (6.0.0-rc1-dev-464-g0ec0df7), 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:
    wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)
    Boost: 1.67.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_WXPYTHON=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
3d-viewer:  rotation using mouse behaves incorrectly on macOS (lp:#1791071)

[Original report](https://bugs.launchpad.net/bugs/1791071) created by **Eugeniy Meshcheryakov (eugen-debian)**
```
Rotation using mouse in 3D viewer on macOS behaves like mouse coordinates
are divided by 2:

  - dragging mouse horizontally or vertically near the center of the view
rotates the view around both vertical and horizontal axes.
  - dragging mouse vertically near the right edge of the view rotates the
view around horizontal axis
  - dragging mouse horizontally near the bottom edge rotates the view
around the vertical axis

The mouse coordinates are handled fine in schematic and layout views, only
3D view has the problem.

The hardware is MacBook Pro (Retina, 15-inch, Mid 2014) with macOS 10.13.6

KiCad version info:

Application: kicad
Version: (5.0.0-3-g5ebb6b6), 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.67.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_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
```
Original tags: macos

Story points: 6.0
Eeschema "Append Schematic Sheet Contents" wipes out reference existing reference designators (lp:#1790899)

[Original report](https://bugs.launchpad.net/bugs/1790899) created by **Ron Burkey (rburkey)**
```
When you use eeschema's Append Schematic Sheet Contents function, it wipes
out all reference designators in the imported sheet to U?, R?, etc.  I can
see that that may be what a lot of people would want, most of the time, but
it doesn't happen to be what I need.

It would be better, I think, if this function warned you that the reference
designators would be reset, and offered the option of leaving them intact
instead.

A workaround for this is, of course, to cut-and-paste directly into the
.sch file in a text editor, but that's obviously not a very clean solution.
```
Original tags: eeschema

Story points: 6.0
Official Python API for getting KiCad version (lp:#1790842)

[Original report](https://bugs.launchpad.net/bugs/1790842) created by **Simon Richter (sjr)**
```
Since we don't have a stable Python API for the foreseeable future, it
would make sense to have a single stable API entry point to get the KiCad
version from Python, so scripts can be adapted to work with multiple
different versions.
```
Original tags: python

Story points: 22.0