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

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/qqc2-desktop-style/-
                   |                            |/commit/5d6d74ef68889da7400
                   |                            |cb2a16a73527f1927424d
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.91.0

--- Comment #2 from Ismael Asensio <isma...@gmail.com> ---
Git commit 5d6d74ef68889da7400cb2a16a73527f1927424d by Ismael Asensio.
Committed on 06/12/2023 at 17:46.
Pushed by iasensio into branch 'master'.

Slider: Fix slider scrolling direction

We always want the slider to increase its value when scrolling
up or right, no matter the inverted scrolling setting.

For "regular" scrolling, this corresponds to positive values on
the Y axis and negative values on the X axis. For "natural"
scrolling (indicated by the `inverted` property) is the opposite
so we need to reverse the sign.

Note that the Qt documentation on WheelEvent is dubious:
On https://doc.qt.io/qt-5/qml-qtquick-wheelevent.html, the
`angleDelta` section suggests that positive should be up/right,
but the `inverted` section indicates the above mentioned behavior.
FIXED-IN: 5.91.0

M  +6    -3    org.kde.desktop/Slider.qml

https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/5d6d74ef68889da7400cb2a16a73527f1927424d

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

Reply via email to