MozillaZine

Ui.scrollToClick

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 01:16, 12 April 2007
Unarmed (Talk | contribs)

<-- Previous diff
Current revision
Asqueella (Talk | contribs)
(update for bug 803633 and others)
Line 2: Line 2:
==Background== ==Background==
-In Mac OS X, the behavior of clicking inside the scrollbar is determined by a system preference (“Click in the scrollbar to:”). Recent work removing native scrollbars in Mozilla caused this to be ignored, but the preference was re-implemented as a feature controlled by the [http://www.mozilla.org/unix/customizing.html#ui “Look and Feel” object]. If this preference is not set, the system preference is read; otherwise, this preference’s setting takes precedence.+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== ==Possible values and their effects==
-===True===+===1===
Clicking on a scrollbar (not dragging the scrollbar’s “thumb”) will scroll to the view corresponding to the clicked point. Clicking on a scrollbar (not dragging the scrollbar’s “thumb”) will scroll to the view corresponding to the clicked point.
-===False===+===0===
-Clicking on a scrollbar will increment the view up or down by a page, unless using the middle mouse button or holding shift (in which case the view will jump directly to the position corresponding to the clicked point). (Default)+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== ==First checked in==
Line 17: Line 19:
==Related bugs== ==Related bugs==
-* [https://bugzilla.mozilla.org/show_bug.cgi?id=377181 Bug 377181 - "Jump to here" preference isn't followed by non-native scrollbars]+* [https://bugzilla.mozilla.org/show_bug.cgi?id=377181 Bug 377181 - "Jump to here" preference isn't followed by non-native scrollbars] (OS X)
 +* [https://bugzilla.mozilla.org/show_bug.cgi?id=803633 Bug 803633 - (Linux gtk) Honor scrollbar preference of system] (Firefox 34)
[[Category:Preferences]] [[Category:Preferences]]

Current revision

Contents

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