Open Bug 1890705 Opened 2 years ago Updated 2 years ago

Middle clicking on new tab button unexpectedly performs search with clipboard contents

Categories

(Firefox :: Tabbed Browser, enhancement)

enhancement

Tracking

()

People

(Reporter: 2l47, Unassigned)

Details

Steps to reproduce:

  1. Have text previously copied to the clipboard
  2. Middle-click on the new tab button expecting to open a new tab

Actual results:

A search is automatically performed for the contents of the clipboard, which in addition to being undesirable behavior, can also leak sensitive information.

Expected results:

A search should not automatically be performed using the contents of the clipboard. Instead, a new tab should be opened as expected.

This bug is related to bug #1418462. It is possible to restore the previous behavior by setting browser.tabs.searchclipboardfor.middleclick to false in about:config, but it may be best to make this the default and provide an opt-in toggle for the setting in about:preferences instead.

Observed on Linux running Firefox 115.9.1esr.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

Hello, thank you for the bug report!
Managed to reproduce the issue on Ubuntu 22. Could not reproduce on Windows 10.
Tested and reproduced on:

  • Firefox Nightly 126.0a1;
  • Firefox 125.0;
  • Firefox ESR 115.10.0;

Setting as NEW.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.