permanent cursor offset if canvas scale is enabled

Bug #1831318 reported by Rene Poeschl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Invalid
Undecided
Unassigned

Bug Description

I played around with the canvas scale and found that the cursor has a permanent offset to the mouse pointer if i activate it. See https://youtu.be/B7x7nkRNdjg

Application: kicad
Version: 5.1.2-f72e74a~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-48-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

Tags: gal
Rene Poeschl (poeschlr)
description: updated
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Is this a bug? The tooltip of the scaling spin control states:

"Set the scale for the canvas.

On high-DPI displays on some platforms, KiCad cannot determine the
scaling factor. In this case you may need to set this to a value to
match your system's DPI scaling. 2.0 is a common value.

If this does not match the system DPI scaling, the canvas will
not match the window size and cursor position."

The last paragraph tells me this is expected.

tags: added: gal
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Anyone else out there with a high dpi display please confirm this?

Changed in kicad:
status: New → Incomplete
Revision history for this message
Seth Hillbrand (sethh) wrote :

Michael is right. Testing different scales in KiCad requires also changing the system DPI scale in the window manager.

Changed in kicad:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.