https://bugs.kde.org/show_bug.cgi?id=386379

--- Comment #8 from Marco Martin <notm...@gmail.com> ---
Git commit 0b130dd57e594d7433141483aa162e4414a9d07b by Marco Martin.
Committed on 29/01/2018 at 10:54.
Pushed by mart into branch 'master'.

base scrolling on the smallest item

Summary:

after recent highdpi patches on scrolling that delegated it
completely to the scrollbar, based upon the scrollbar singleStep
setted to the tallest of the items in the view.
tough this makes scrolling way too fast, and on folders where just
few filenames are longer than most we can get a single scrolling
step almost double the number of lines configured in the
mouse kcm.
Using the shortest item instead of the tallest mitigates this problem
making it a bit more usable

Test Plan:
tested on different folders in different view modes both with
mouse and touchpad

Reviewers: #dolphin, broulik, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10102

M  +0    -1    src/kitemviews/kitemlistcontainer.cpp
M  +1    -1    src/kitemviews/kitemlistview.cpp
M  +8    -0    src/kitemviews/private/kitemlistsizehintresolver.cpp
M  +2    -0    src/kitemviews/private/kitemlistsizehintresolver.h

https://commits.kde.org/dolphin/0b130dd57e594d7433141483aa162e4414a9d07b

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to