Dolphin currently scrolls by the height of three items at a time per "step" when
using a scroll wheel. Because item height is highly variable, this leads to scroll
speed being inconsistent between views, and generally far too fast when using
icon view with icons larger than 22px size.
This patch makes the size of the scroll step consistent at roughlyfixed, using the height of
three2.5 text labels + their padding, which feels much better to me when using ais what KDirOperator
scroll wheel mouse,does. and better matches the scroll speed in other KDE apps.
RFC because currently the step size is determined using a magic numberThis feels much better when using a scroll wheel mouse, when itand better
should really use a multiple of the the item labels' fontmetrics height. I
couldn't figure out how to do that though. Help is appreciatedmatches the scroll speed in other KDE apps.
BUG: 386379
FIXED-IN: 19.04.0