Created attachment 126500 [details] screen recording STEPS TO REPRODUCE 1. open standalone "Desktop effects" kcm via krunner or apps launcher 2. scroll down 3. click on the sliding button of the scroll bar OBSERVED RESULT effects list scrolls up. Watch the attached screen recording please. EXPECTED RESULT effects list should not be scrolled when the sliding button of the scroll bar is clicked. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.18.2 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1
Please include if this affects X or wayland
it's harder to reproduce, but the same behavior also occurs on Wayland.
This appears to be a bug in the scroll handle hitbox calculation. It thinks you're clicking in the track when you're clicking on the handle. Can reproduce with other QML scroll handles when clicking at the very top.
Git commit 7349b30518208753062c497ef87c1e11bce82c22 by Jan Blackquill. Committed on 09/08/2021 at 22:11. Pushed by ngraham into branch 'master'. ScrollBar: less scuffed implementation of reading from QStyle This makes ScrollBar actually utilise the subcontrol rects provied by the style, making interaction targets actually mirror the visuals provided by the style. M +18 -0 org.kde.desktop/ScrollBar.qml https://invent.kde.org/frameworks/qqc2-desktop-style/commit/7349b30518208753062c497ef87c1e11bce82c22