qt: do not use the new frustrating scrolling behavior that comes with Qt 6.6.0
The new scrolling behavior (https://github.com/qt/qtdeclarative/commit/b1766d9d629f61d824146e69f1f3b319cbee3d11) has caused a lot of frustration (https://bugreports.qt.io/browse/QTBUG-120038, https://bugreports.qt.io/browse/QTBUG-116388, https://bugreports.qt.io/browse/QTBUG-129948), and it completely broke scrolling when there are sections.
The old behavior with deceleration set to 10000 feels much better, and fixes scrolling when there are view sections.
Also see #25591 (this should help with sluggish scrolling, but I'm not confident enough to close it with this change).
As far as I see (with a naive global GitHub search), there are already many projects that started doing this.
Relevant merge requests:
- !7215 (provides an alternative scrolling behavior)
-
!659 (merged) (this was already merged that introduced our own scrolling approach, but it does not support smooth scrolling. When it is enabled (
smooth-scrolling=false
), I do not experience this issue.
Close #29180 (closed). Request review @chub.