Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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

  • 4 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 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).
已附加屏幕截图

所有回复 (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

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题