Priority: P2: Important
Affects Version/s: 4.6.0, 5.2.1, 5.5.0
Fix Version/s: 5.7.0 Alpha
Component/s: Widgets: Itemviews
Environment:Linux, KDE but also Qt-only - see testcase
Scrolling in listviews when set to scroll per pixel will scroll either 3 items at a time, or with large items the heigth of the visible part of the listview.
Docs say: QAbstractItemView::ScrollPerPixel - The view will scroll the contents one pixel at a time.
This is especially visible and annoying in KDE when using delegates with big height, as described here:
(for example KDE's wallpaper list with previews, get hot new stuff dialog)
Attached is a simple qt-only testcase to make the problem visible.
I created a workaround as a starting point to find the right fix.