macOS Mojave moving window between retina/non-retina results in viewport scaling wrong and mouse being offset (lp:#1852953)
Original report created by Eli (elijahg)
Moving an Eeschema or Pcbnew window from a retina (hidpi) display to non-
retina display results in the mouse that Kicad displays being offset from
the mouse the OS displays. Moving a window from non-retina to retina
results in the canvas being positioned in the bottom left of the window, at
1/4 size, again with the mouse offset.
Twiddling the canvas scale setting in preferences presumably causes a
redraw which fixes the scaling issue and mouse issue in both directions.
However, the "automatic" setting seems to adjust the scale based on which
window the preferences window is in, not the window the main editor is in.
It does correctly scale the UI by 1 on non-retina, and 2 on retina though.
Application: KiCad
Version: (5.1.4-0-10_14), release build
Libraries:
wxWidgets 3.0.4
libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.7.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
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:
USE_WX_GRAPHICS_CONTEXT=ON
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=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON
Original tags: macos