https://bugs.kde.org/show_bug.cgi?id=479879
fanzhuyi...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/libplasma/-/commit/aea3d |ma/libplasma/-/commit/249c5 |4b131070d8388edf84c9c2a32f7 |6925682c478ef2b4be18cfc0b0f |b4203617 |cefa2e92 --- Comment #3 from fanzhuyi...@gmail.com --- Git commit 249c56925682c478ef2b4be18cfc0b0fcefa2e92 by Yifan Zhu. Committed on 13/02/2024 at 20:04. Pushed by fanzhuyifan into branch 'Plasma/6.0'. 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. This commit borrows from Slider.qml and 5d6d74ef68889da7400cb2a16a73527f1927424d in qqc2-desktop-style. Related: bug 479028 FIXED-IN: 6.0 (cherry picked from commit aea3d4b131070d8388edf84c9c2a32f7b4203617) M +38 -1 src/declarativeimports/plasmacomponents3/Slider.qml https://invent.kde.org/plasma/libplasma/-/commit/249c56925682c478ef2b4be18cfc0b0fcefa2e92 -- You are receiving this mail because: You are watching all bug changes.