Created attachment 108801 [details]
Version: master (currently 17.11.70, f69f94d256f6c622ec146c4ffb820137ce8ff396), also 16.12.3
less and vim see only 1 UpKey/DownKey per scroll wheel instead of 3, making scrolling in them obnoxiously slow.
Old konsole (not sure what one, sorry) did the right thing here. Same mouse, same screen, older ubuntu, different hardware.
I'm currently sustaining life by scaling it up in TerminalDisplay.cpp:2515/TerminalDisplay::wheelEvent(QWheelEvent*), but there's probably a less hacky way.
It's an upstream bug, caused by the libinput X driver.
I've submitted a patch for review at .
Git commit d25e5ac7089f2c81cc5ffe8e155ba8b3dfb11b97 by Kurt Hindenburg.
Committed on 07/02/2018 at 15:38.
Pushed by hindenburg into branch 'master'.
Fix mouse wheel scrolling with libinput
If the Libinput X server input driver is used we get a value for
pixelDelta for a physical mouse wheel scroll, so we check that the
source of the wheel event is actually a mouse, this was fixed in
Patch by ahmadsamir
Differential Revision: https://phabricator.kde.org/D9008
M +15 -4 src/ScrollState.cpp