Ui.click hold context menus

From MozillaZine Knowledge Base
Jump to navigationJump to search

Background

On the Macintosh, many users do not use a two-button mouse. In the mid-’90s, Netscape started using the convention of “click-and-hold” to provide access to the context menu. Later, Apple standardized Control-Click as the way to access context menus. For backwards compatibility, Mozilla still supports “click-and-hold.” This preference determines whether or not the context menu will be shown when clicking and holding down the primary mouse button on a Macintosh.

Possible values and their effects

True

Holding down the primary mouse button will show the context menu.

  • Default on OS X platform for SeaMonkey 1.1 to 2.4.x (Gecko 1.8.1 to 7)

False

“Click-and-hold” does nothing; Control-Click is the only way to show the context menu.

  • Default for all non-OS X platforms.
  • Default on OS X platform for Firefox and Thunderbird since Gecko 1.8.1 (Firefox 2.0, Thunderbird 2.0)
  • Default on OS X platform for SeaMonkey since Gecko 8 (SeaMonkey 2.5a1 and later since 2011-07-10).

Note: On Gecko 1.8.0 (Firefox 1.5 etc) this is hard coded to TRUE on OS X and FALSE on all other platforms. The preference did not exist then and if manually created has no effect.

First checked in

2006-04-08 by Asaf Romano

Has an effect in

  • Mozilla Firefox (Mac OSX only) (trunk builds after 2006-04-08, branch builds after 2006-04-10)
  • SeaMonkey (Mac OSX only) (trunk builds after 2006-04-08, branch builds after 2006-04-10)

Related bugs