https://bugs.kde.org/show_bug.cgi?id=369426

--- Comment #10 from Nate Graham <n...@kde.org> ---
I'm starting to wonder if this is fixable.

In plasma-framework/src/scriptengines/qml/plasmoid/containmentinterface.cpp, we
accumulate scroll angle deltas from QWheelEvent::angleDelta(), under the
assumption that 120 is one scroll click, at which point the "I did a scroll"
event fired. This works fine for mouse wheels, but for a touchpad, it results
in a very small finger movement producing one scroll event. Ideally we would
want for a larger finger movement to be required. A value between 240 and 360
produces a better result for my touchpad, but makes it unusably slow for mouse
wheels. We need a way to distinguish between when the event comes from a mouse
wheel and when it comes from a touchpad.   QWheelEvent::pixelDelta() is
supposedly used for this, but it always produces 0, and the Qt documentation
says that it's unreliable on X11 and should not be used. :/

Not sure how to proceed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to