ahiemstra created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. ahiemstra requested review of this revision.
REVISION SUMMARY This patch intends to do mostly the same as D19190 <https://phabricator.kde.org/D19190>, but for KDirOperator. This uses the font's line height multiplied by the amount of scroll lines from QApplication as a scroll speed for views. This makes the scroll speed not depend on the icon size, which greatly improves scrolling behaviour. TEST PLAN Run tests/kfilewidgettest_gui and go to a directory with a lot of items. Scroll around, then change icon size and see that scrolling speed remains the same. REPOSITORY R241 KIO BRANCH diroperator_scrollspeed REVISION DETAIL https://phabricator.kde.org/D25683 AFFECTED FILES src/filewidgets/kdiroperatordetailview.cpp src/filewidgets/kdiroperatoriconview.cpp To: ahiemstra Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns