Review Request: Make PageUp/PageDown work in Dolphin's new view engine

Frank Reininghaus frank78ac at googlemail.com
Wed Jan 18 08:27:46 GMT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103721/
-----------------------------------------------------------

(Updated Jan. 18, 2012, 8:27 a.m.)


Review request for Dolphin.


Changes
-------

Updated patch, which also works in Compact View.


Description
-------

I think this is one of the last things that should be fixed for 4.8.0. I had to add a new parameter 'index' to nextRowIndex() and previousRowIndex() to be able to reuse these methods for the PageUp/PageDown actions, which are performed by calling these methods repeatedly until the index with the target Y coordinate is reached.

The algorithm used to determine the new current index is a quick hack of mine, but I think it mostly does what Qt's itemviews do (at least in Icons View).


This addresses bug 288748.
    http://bugs.kde.org/show_bug.cgi?id=288748


Diffs (updated)
-----

  dolphin/src/kitemviews/kitemlistcontroller.h d0e5f72 
  dolphin/src/kitemviews/kitemlistcontroller.cpp fedbe61 

Diff: http://git.reviewboard.kde.org/r/103721/diff/diff


Testing (updated)
-------

Works like PageUp/PageDown in Qt's itemviews with the following exception: In Details View, it does not take the header height into account.


Thanks,

Frank Reininghaus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20120118/50f9fa6f/attachment.htm>


More information about the kfm-devel mailing list