The function that determines the scroll rate is in gtk/gtkrange.c

/**
 * _gtk_range_get_wheel_delta:
 * @range: a #GtkRange
 * @direction: A #GdkScrollDirection
 * 
 * Returns a good step value for the mouse wheel.
 * 
 * Return value: A good step value for the mouse wheel. 
 * 
 * Since: 2.4
 **/

Here, the scroll rate is determined dynamically by a smart (not so much?) 
algorithm:
delta = pow (adj->page_size, 2.0 / 3.0);

I don't want to offend the gtk developer that implemented this algorithm
there. Obviously it may have temporarily solved the users complaining
about too fast/too slow scrolling, but now it is time to make the scroll
rate modifiable by the user.

Of course, implementing a new scrolling algorithm from scratch (with
smooth scrolling) must be a priority too, since Ubuntu will possibly be
coming to smartphones/tablets. But that rather than waiting for that,
this problem can be fixed by a simple gtk patch which will read the
scroll rate from a config file.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/124440

Title:
  gnome needs a way to manipulate scroll speed

Status in GTK+ GUI Toolkit:
  Confirmed
Status in NULL Project:
  Invalid
Status in “gtk+2.0” package in Ubuntu:
  Triaged

Bug description:
  This has been driving me nuts for a while now. The scroll wheel on my
  desktop mouse (it's an MS wireless optical mouse model 1008) scrolls
  rather fast. Instead of moving a few lines, it scrolls half a page or
  more with a very gentle scroll. The bluetooth mouse I use with my
  laptop does not do this so it's probably somewhat hardware specific.
  However, I'm wondering if there is a way to modify the speed or
  sensitivity. I found an answer here from about a year ago
  (https://answers.launchpad.net/ubuntu/+question/1339) that suggests
  there isn't a way but I'm wondering if anything has changed since
  then. I've also skimmed through synaptic but didn't see anything
  promising (like gsynaptic for touchpads).

  Thanks.

  See https://answers.launchpad.net/ubuntu/+question/9200 for more
  information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/124440/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to