Ui.scrollToClick: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
(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]]

Latest revision as of 23:55, 7 August 2015

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