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

Firlaev-Hans <firlaevhans.fi...@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |firlaevhans.fiete@protonmai
                   |                            |l.com

--- Comment #5 from Firlaev-Hans <firlaevhans.fi...@protonmail.com> ---
(In reply to David Edmundson from comment #4)
> Qt does have a property on the wheel event to signify if it's inverted or not

I just had a look at that, I figured this would be an easy fix with something
like
> if (wheel.inverted) wheelDelta = -wheelDelta
but as it turns out the "inverted" property of the WheelEvent always returns
false even if the scrolling direction is actually inverted, both on X11 and
Wayland, and both with a touchpad and with a mouse.

The Qt docs themselves even say
> Note: Many platforms provide no such information. On such platforms inverted 
> always returns false.
https://doc.qt.io/qt-5/qml-qtquick-wheelevent.html#inverted-prop

So I guess it's not as easy to fix as it seemed.

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

Reply via email to