easymodo / qimgv

Image viewer. Fast, easy to use. Optional video support.
GNU General Public License v3.0
2.35k stars 167 forks source link

High Resolution Pointer Support #473

Open epeay opened 1 year ago

epeay commented 1 year ago

qimgv treats as mouse wheel events as scrolling one "step" with the mouse wheel. However, as high resolution pointers become more common, multiple events are emitted while turning one physical step of the mouse wheel. This results in multiple images scrolling by, per wheel step. It's not deterministic, and is annoying. :-/

As a workaround (at least on linux) you can disable high resolution pointer support using xinput to locate your device and disable High Resolution scroll.

$ xinput list | grep 15
⎜   ↳ Logitech MX Master 3000                 id=15 [slave  pointer  (2)]
$ xinput list-props 15 | grep Resolution
libinput High Resolution Wheel Scroll Enabled (295): 1
$ xinput set-prop 15 295 0