Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 4 svar
  • 0 har detta problem
  • 1 visning
  • Senaste svar av 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).
Bifogade skärmdumpar

Alla svar (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