Windows 7 Mouse pointer wrong after zoom

Bug #1460027 reported by Eddie Stassen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Invalid
Medium
Unassigned

Bug Description

This happens in both eeschema and pcbnew when "Do not center and warp cursor on zoom" is unchecked:

1. Position cursor somewhere off center and zoom (scroll wheel or hotkey).
2. The cursor should now be centred.
3. Move the mouse - the cursor immediately jumps back to the position prior to the zoom.

I have seen this is various builds over the last few months, but only under Windows 7

Application: kicad
Version: (2015-05-28 BZR 5689)-product release build
wxWidgets: Version 3.0.0 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.8.2,wx containers,compatible with 2.8)
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Eddie Stassen (estassen)
description: updated
Changed in kicad:
importance: Undecided → Medium
Revision history for this message
Nick Østergaard (nickoe) wrote :

I don't see this issue on my MSYS2 builds, in particular testing version 5730. I don't think any zooming changes has been made between those versions, but did you build KiCad yourself or?

Maybe you can make a video showing the issue.

Revision history for this message
Nick Østergaard (nickoe) wrote :

I tested on windows 8.0.

Revision history for this message
Eddie Stassen (estassen) wrote :

Just did a fresh build using kicad-winbuilder-3.4 , and I still see the problem. I have tried your binaries from http://www2.futureware.at/~nickoe/, and I don't see the problem, so its possibly related to the kicad-winbuilder environment.

Application: kicad
Version: (2015-06-14 BZR 5748)-product release build
wxWidgets: Version 3.0.0 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.8.2,wx containers,compatible with 2.8)
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Revision history for this message
jean-pierre charras (jp-charras) wrote :

This is not necessary a the kicad-winbuilder environment problem, but a difference between 32bits and 64 bits versions..
AFAIK kicad-winbuilder builds a 32 bits version.

Can you test the 32 bits builds from http://www2.futureware.at/~nickoe/ ?

Revision history for this message
Eddie Stassen (estassen) wrote :

Confirmed, I see the problem on your latest 32 bit build as well (bzr5748).

Revision history for this message
Eddie Stassen (estassen) wrote :

I downloaded your 64 bit build (bzr5747) and I now see it there as well, so its not a 32/64 bit issue. I'll redo the tests on my home desktop later.

Revision history for this message
jean-pierre charras (jp-charras) wrote :

This is not *my* build.

However I am not able to reproduce this issue (Windows 7, 32 bits) both with my build and with kicad-winbuilder.

Revision history for this message
Nick Østergaard (nickoe) wrote :

So to summarize, you see the problem on your own build made with KiCad winbuilder and not on my MSYS2 builds?

Are you sure that you are running the correct executable while testing?

If not, please retest starting the exe from the file explorer directly. Otherwise, try to make a video of the issue, such that we can be sure that we don't see the same behavior.

Revision history for this message
Eddie Stassen (estassen) wrote :

Ok. this is somewhat embarrassing. I just discovered that the problem is not with Kicad, but with Synergy, which I am running between my Linux and Windows machines. Switch off Synergy, and the problem goes away.

My sincere apologies for wasting everyone's time

Eddie Stassen (estassen)
Changed in kicad:
status: New → Invalid
Revision history for this message
NhatKhai (nhatkhai) wrote :

Ops this is very old bug. But this happen on:
  F1/F2 key are work fine.
  Using Mouse Scrolling without move the mouse for zoom in/out couple time, the center shifted slowly to other place. I think it should zoom and stay around the original center wherever the mouse original at.

 Application: kicad
Version: (6.0.0-rc1-dev-1455-g4b7ef22ec), 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 7 (build 7601, Service Pack 1), 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

Changed in kicad:
status: Invalid → New
Revision history for this message
NhatKhai (nhatkhai) wrote :

Hello, it anyone got my bug report? Or should I create a new one apart from this ?

Revision history for this message
Seth Hillbrand (sethh) wrote :

You should definitely make a new report. The data in this report do not correspond with your issue as the original reporter made a mistake.

In your revised report, please state what you observe with Center and warp on as well as Center and Warp off. Also, please note which canvas and application you are using.

Changed in kicad:
status: New → 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.