Plasma 6 Wayland built from git master against Qt 6.5.2 STEPS TO REPRODUCE 1. Run any QML-based KDE app that has scrollviews using the default qqc2-desktop-style. Apps that exhibit it: - System Settings - Discover - Cuttlefish - NeoChat - Scrollable views in Plasma widget config pages 2. Look at the scroll handle in a scrollable view OBSERVED RESULT The handle suffers from a variety of interrelated issues: - Initial size is too small - When dragged, the handle does not follow the cursor - Then scrolled using a touchpad or a mouse wheel, the handle does not move at all until you've scrolled a certain distance, or scrolled all the way to the bottom at least once EXPECTED RESULT None of those things happen ADDITIONAL INFORMATION When you resize the window, the scroll handle's problems disappear and it returns to normal. Does not happen with qqc2-breeze-style. This only started happening 2 days ago. I tried bisecting qqc2-desktop-style, but was unsuccessful.
You are describing all the bugs of Qt 6.5 + KF5 scroll bars. Are you sure a system-wide import PATH isn't leaking into your setup? Can you even deliberately break the scrollbars by messing up with ScrollBar.qml and rebuilding & running again?
Oh, if it's a known Qt 6.5 issue, that explains it as I still haven't upgraded to 6.6. Is it fixed in 6.6?
I haven't had any issues since https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/280 got merged
Just upgraded to Qt 6.6 and indeed, everything is fixed.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/320
Git commit f6f39673e58e42ab195a44ab39dfea1c6b59ee6c by ivan tkachenko. Committed on 15/11/2023 at 23:14. Pushed by ratijas into branch 'master'. ScrollBar: Drop workaround for size being initially stuck on Qt 6 Fixed upstream for Qt 6.6+ M +1 -6 org.kde.desktop/ScrollBar.qml https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/f6f39673e58e42ab195a44ab39dfea1c6b59ee6c