PCBNew Cursor Misalignment
Description
As shown in the image below, the cursor is misaligned from its expected location (on the mouse). It appears to be roughly 50% further than the mouse is from the bottom left corner of the canvas, and this only seems to affect the view/canvas/viewport area in the center of the screen. The cursor is still usable, but difficult since it's not aligned to the mouse.
The rest of the UI (outside of the drawing area) remains unaffected. This mouse misalignment does not occur in Eeschema, which works fine. It is also persistent across reboots or when making new projects. This also appears to occur indifferent to Desktop Manager, appearing both in Gnome and Cinnamon.
Steps to reproduce
- Install KiCad (Issue appears to affect 5.1.9 and 5.1.5), following default Ubuntu instructions https://www.kicad.org/download/ubuntu/
- Navigate to PCBNew, through either a schematic or directly.
- Try moving the mouse around the main area, only to have it be misaligned from the cursor
Hardware Info
Issue could be due to my system having NVidia hardware (GeForce GTX 1050 Ti)
KiCad Version
Version: 5.1.9-73d0e3b20d~88~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Linux 5.8.0-41-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.68.0
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON