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 724559 - Fix smooth scrolling on MacOSX
Fix smooth scrolling on MacOSX
Status: RESOLVED DUPLICATE of bug 736121
Product: gtk+
Classification: Platform
Component: Widget: GtkScrolledWindow
3.11.x
Other Mac OS
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-02-17 16:33 UTC by andriusr
Modified: 2014-09-06 08:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Restore smooth scrolling on MacOSX (1.61 KB, patch)
2014-02-17 16:33 UTC, andriusr
none Details | Review

Description andriusr 2014-02-17 16:33:20 UTC
Created attachment 269429 [details] [review]
Restore smooth scrolling on MacOSX

Currently smooth scrolling using touchpad is not useable on MacOSX. Even very small movement in touchpad results in very large shifts in textview or treeview. 
The reason of this behavior is that in gtkscrollingwindow. c; gtk_scrolled_window_scroll_event() the precise scroll deltas are handled the same way as deltas from mouse wheel. Touchpads of Macs now are quite good at determining xy position of finger, and each such event results in scroll by 3-6 lines in textview (depending on window size). So, instead of smooth scrolling we have quantitized and extremely fast scrolling.
In order to restore smooth scrolling one can apply attached patch. Not sure if it will work equally well on all platforms, but on Mac it works nicely.
Comment 1 andriusr 2014-02-24 21:28:57 UTC
My patch looks like reverse of commit https://git.gnome.org/browse/gtk+/commit/gtk/gtkscrolledwindow.c?id=ab87579e3f7c63ab7b48b535c0aaae959b47882b
Any thoughts?
Comment 2 Carlos Garnacho 2014-09-06 08:19:11 UTC

*** This bug has been marked as a duplicate of bug 736121 ***