Open Bug 1429839 Opened 7 years ago Updated 2 years ago

Command clicking on a link in the Hashnode navbar switches to the tab upon opening new tab

Categories

(Firefox :: Tabbed Browser, defect, P3)

defect

Tracking

()

People

(Reporter: emma.mason20, Unassigned)

Details

(Keywords: regressionwindow-wanted)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180111100722 Steps to reproduce: 1. Ensure that preference "When you open a link in a new tab, switch to it immediately" is *disabled* 2. Go to https://hashnode.com 3. Command click on any of the navbar entries, eg: Discuss, News, Stories, AMAs Actual results: Firefox opens the link in a new tab *and switches to it*. Expected results: Firefox should open new tab in the background. Middle clicking activates the pop-up blocker, which is also unexpected.
Confirmed on latest nightly on win7. Middle click -> opens the link in a new tab but stays focused on active tab (but triggers the warning for popup) Ctrl + click -> opens the link in a new tab and switches to it
Component: Untriaged → Tabbed Browser
OS: Unspecified → All
Hardware: Unspecified → All
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
I found that on Linux, setting browser.tabs.loadDivertedInBackground:true does the expected behavior. Is there any reason that this is not the default behavior? This is how it works on Chrome, for example.
Scratch that last comment - while that tweak resolves the issue in this ticket, it causes different issues when opening tabs, so I understand why that tweak is not the default. I tried running a mozregression, but the page fails to render in many Firefox versions. The issue doesn't seem to appear in Firefox 23, but the page only loads correctly some of the time, so testing is kind of inconclusive.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.