Using Discover with a touchpad is not working as expected. Every scrolling input accelerates the page without regard to whether the fingers are lifted or not. It also does not follow the system scroll speed which leads to much too fast scroll speeds and coasting even when coasting is disabled. I don't know if this bug should be filed against Discover or Kirigami, but it's a bit annoying for an Application that wants to be convergent.
I can confirm fast scrolling on Discover installed from Arch repositories.
does this happen with a plain qml flickable as well? I think is a qml problem, we should have to override the wheel event with a custom c++ element i fear
Git commit e0a623414cfb34df8e3ae717d720f7a0f952b2c8 by Marco Martin. Committed on 10/03/2017 at 16:29. Pushed by mart into branch 'master'. manage scrollwheel by hand on desktop Summary: when on desktop, skip the flickable internal scrollwheel manah=gement that is completely broken and manage scrolling by ourselves with a MouseArea instead Test Plan: tried mouse wheel and touchpad two finger scrolling, both look more sensible now (how many lines the mouse wheel scrolls is still to be implemented) exported QT_QUICK_CONTROLS_MOBILE=true env var and it works again as before Reviewers: #kirigami Subscribers: plasma-devel Tags: #kirigami Differential Revision: https://phabricator.kde.org/D5004 M +22 -1 src/controls/templates/private/ScrollView.qml https://commits.kde.org/kirigami/e0a623414cfb34df8e3ae717d720f7a0f952b2c8
Thanks for patching this. Additionally, I want to point you to a new old feature in Qt Quick Controls, the Scrollview. In the description it says it handles both touch and mouse nicely. Would it be possible to change to this in the implementation or is it a problem that it depends on Qt 5.9? Of course only after 5.9 is released. References: New Features in Qt 5.9: https://wiki.qt.io/New_Features_in_Qt_5.9 Scrollview in QtQuickControls 2: https://doc-snapshots.qt.io/qt5-dev/qml-qtquick-controls2-scrollview.html#details Do you get a notification if I'm adding another comment now? Who knows...
We use that already... ^^'
(In reply to Aleix Pol from comment #5) > We use that already... ^^' I don't understand. The old Scrollview from Quick Controls 1.4 or do you mean you already changed it in the developer version? Because I can't use a Scrollview on Quick Controls 2.
*** Bug 377740 has been marked as a duplicate of this bug. ***
(In reply to Sascha Zenglein from comment #4) > > Would it be possible to change to this in the implementation or is it a > problem that it depends on Qt 5.9? Of course only after 5.9 is released. we'll use that eventually, but only after we can depend from Qt 5.9, that will take a while
What version of Discover or Kirigami did this fix make in into? I just updated to discover 5.9.4 and have Kirigami 2.0.0, and the problem remains. Two-finger touchpad scrolling results in the view moving n number of lines at a time, not pixel-by-pixel.
Still not fixed in discover 5.9.5 and kirigami 2.0.0-1.1.
You need Kirigami 2.1, as this is a new feature.
Thanks for the Info!