Spurious scroll events are being generated when pushing the wheel to the sides.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Low
|
Adrian Scripcă |
Bug Description
Steps to reproduce:
1) have a Logitech M720 Triathlon mouse
2) use the middle button to pan around
3) get random zoom while panning around, depending on how the mouse moves
This happens because this mouse features horizontal axis scrolling and those events end up interpreted by KiCad as regular vertical axis scrolling.
Version information:
Application: pcbnew
Version: (5.1.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 GnuTLS/3.6.5 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh/
Platform: Linux 5.0.0-13-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.64.0
Compiler: Clang 8.0.0 with C++ ABI 1002
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
I attached a patch that fixes the issue by skipping the handling of horizontal scroll events.
tags: | added: pcbnew |
Changed in kicad: | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → John Beard (john-j-beard) |
milestone: | none → 5.1.3 |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I would prefer that we handle the horizontal scroll events correctly rather than skipping them. Skipping while a mouse button is depressed probably makes sense, however.