Ui.scrollToClick

From MozillaZine Knowledge Base
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Background

In Mac OS X, the behavior of clicking inside the scrollbar is determined by a system preference (“Click in the scrollbar to:”). In GTK the setting is called gtk-primary-button-warps-slider.

If ui.scrollToClick preference is not set, the system preference is read; otherwise, this preference’s setting takes precedence.

Possible values and their effects

1

Clicking on a scrollbar (not dragging the scrollbar’s “thumb”) will scroll to the view corresponding to the clicked point.

0

Clicking on a scrollbar will increment the view up or down by a page, unless using the middle mouse button or holding Shift (or the Option key in OS X) (in which case the view will jump directly to the position corresponding to the clicked point). (Default on Windows)

First checked in

2007-04-11 by Asaf Romano

Has an effect in

  • Mozilla Firefox (nightly trunk builds since 2007-04-11)

Related bugs