Bug 547 - Need smoother scrolling
Summary: Need smoother scrolling
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8 Alpha 2
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
: 1515 ()
Depends on:
Blocks:
 
Reported: 2011-08-30 14:24 UTC by Nat Friedman
Modified: 2012-01-03 14:39 UTC (History)
5 users (show)

Tags: gtk
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Nat Friedman 2011-08-30 14:24:03 UTC
In Gtk on mac, things seem to scroll in giant chunks. It would appear that the scroll events are coming too infrequently. By contrast, non-Gtk apps are able to scroll pixel by pixel.
Comment 1 Michael Natterer 2011-09-06 04:43:28 UTC
This is because GTK/GTK have no concept of a "scroll distance". Each scroll events scrolls by the same amount, whereas NSEvent knows about "deltaX"
and "deltaY" when it's a NSScrollWheel event.

There is an upstream patch which fixes the issue, including patching
GtkRange, attached to this bug report:

https://bugzilla.gnome.org/show_bug.cgi?id=516725

Will look into finally getting this into upstream.
Comment 3 Mike Krüger 2011-10-18 05:00:53 UTC
*** Bug 1515 has been marked as a duplicate of this bug. ***
Comment 4 Michael Natterer 2011-10-28 10:39:31 UTC
I attached a much improved version of the patch to the upstream bug.

See https://bugzilla.gnome.org/show_bug.cgi?id=516725#c29
Comment 5 Mikayla Hutchinson [MSFT] 2012-01-03 14:39:43 UTC
This should be fixed by the GTK+ version that's currently in Mono beta, so I'm marking it fixed. Please re-open if it happens with GTK+ version is 2.24.8 or later. GTK+ version can be found in the MD About dialog.