After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 461271 - RFE: Add kinetic scrolling to evince
RFE: Add kinetic scrolling to evince
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
ghop[2007-50]
Depends on:
Blocks:
 
 
Reported: 2007-07-28 17:26 UTC by Jeff Schroeder
Modified: 2007-12-24 21:50 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch to add kinetic scrolling to evince (3.70 KB, patch)
2007-12-24 17:10 UTC, David Turner
none Details | Review
Updated patch (4.54 KB, patch)
2007-12-24 20:45 UTC, David Turner
committed Details | Review

Description Jeff Schroeder 2007-07-28 17:26:33 UTC
OpenMoko was nice enough to release code demoing iphone-like kinetic scrolling in a listview. It would be nice if you could grab the a document and "throw" it upwards to kineticly scroll it up or down like in that video.

Demo:
http://chrislord.net/files/mokofingerscroll.ogg

Code:
http://svnweb.openmoko.org/trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c?rev=2545&view=markup
Comment 1 Nickolay V. Shmyrev 2007-07-29 14:03:49 UTC
Y, it would be nice to have a patch.
Comment 2 David Turner 2007-12-24 17:10:27 UTC
Created attachment 101551 [details] [review]
Patch to add kinetic scrolling to evince

Attached a patch to add kinetic iphone/ipodtouch style kinetic scrolling to evince.
Comment 3 David Turner 2007-12-24 20:45:18 UTC
Created attachment 101557 [details] [review]
Updated patch

Updated version of the previous patch - now the scrolling bounces if you reach the edge of a document (with adjustable momentum absorbance), and the timeouts are removed when the window is closed to prevent crashes.