Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Left-clicking and right-clicking while holding the left button triggers an odd selection mode: deactivate this?

  • 4 uphendule
  • 0 zinale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu cor-el

more options

When I left-click on text and hold the left mouse button, then right-click, first release the right button, then the left button, a "selection mode" is activated, where the end of the selection follows the mouse pointer despite no button is held. In principle this looks like a useful feature (or it would if the scroll wheel worked in that mode, which it doesn't). But at the same time, the context menu opens when the right button is released. So we trigger two features at once, making both less useful, because they're getting in each other's way.

This frequently happens to me when double clicking on a word and right clicking to open the context menu on it. Accidental overlap of the left and right clicks triggers the selection mode.

Can this behaviour be configured (e.g. to use a custom shortcut) or, if not, be deactivated entirely?

I'm using Firefox 123.0.1 on Linux (openSUSE Tumbleweed).

When I left-click on text and hold the left mouse button, then right-click, first release the right button, then the left button, a "selection mode" is activated, where the end of the selection follows the mouse pointer despite no button is held. In principle this looks like a useful feature (or it would if the scroll wheel worked in that mode, which it doesn't). But at the same time, the context menu opens when the right button is released. So we trigger two features at once, making both less useful, because they're getting in each other's way. This frequently happens to me when double clicking on a word and right clicking to open the context menu on it. Accidental overlap of the left and right clicks triggers the selection mode. Can this behaviour be configured (e.g. to use a custom shortcut) or, if not, be deactivated entirely? I'm using Firefox 123.0.1 on Linux (openSUSE Tumbleweed).
Ama-screenshot ananyekiwe

All Replies (4)

more options

Try changing ui.context_menus.after_mouseup to false in about:config.

more options

Setting it to true solves the problem. Thank you very much!

more options

I wonder if this is specific to Linux? With mine set to the default value of false on Windows, I can't trigger the selection mode you're getting. ??

more options
# Whether context menus should only appear on mouseup instead of mousedown,
# on OSes where they normally appear on mousedown (macOS, *nix).
# Note: ignored on Windows (context menus always use mouseup).
- name: ui.context_menus.after_mouseup
  type: bool
  value: false
  mirror: always