D10102: base scrolling on the smallest item
    Marco Martin 
    noreply at phabricator.kde.org
       
    Thu Jan 25 18:09:04 UTC 2018
    
    
  
mart created this revision.
mart added reviewers: Plasma, Dolphin.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
mart requested review of this revision.
REVISION 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
REPOSITORY
  R318 Dolphin
BRANCH
  phab/dolphinScroll
REVISION DETAIL
  https://phabricator.kde.org/D10102
AFFECTED FILES
  src/kitemviews/kitemlistcontainer.cpp
  src/kitemviews/kitemlistview.cpp
  src/kitemviews/private/kitemlistsizehintresolver.cpp
  src/kitemviews/private/kitemlistsizehintresolver.h
To: mart, #plasma, #dolphin
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180125/7027d4b2/attachment.html>
    
    
More information about the Plasma-devel
mailing list