Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.8.0
-
None
Description
Scrolling speed is much too fast when applying a QScroller to a widget that scrolls per item (e.g. default for QListView).
Apparently the scroller sends values in units of pixels, but the widget interprets these as values in unit of items (scroll 10 px vs scroll 10 items).
It would be nice, if the scroller would check the scroll mode and adapt to the widget. If this is too complicated for the time being, at least the behavior should be documented in QScroller::grabGesture, together with the hint only to use it on widgets with a scrollMode set to QAbstractItemView::ScrollPerPixel.
Attachments
Issue Links
- relates to
-
QTBUG-55619 Bad defaults for QScroller on Windows
- Reported
-
QTBUG-56598 Popup menus (for example, a menu attached to a QPushButton) don't scroll at the correct speed when using the mouse wheel or track pad
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-60192 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
191956,6 | WIP: Shoehorn a factor for scroll per item into QScroller | dev | qt/qtbase | Status: NEW | -2 | 0 |