External links to Firefox are not opening correctly when Firefox is already running

UNCONFIRMED
Unassigned
(Needinfo from 2 people)

Status

()

defect
P3
normal
UNCONFIRMED
Last year
4 months ago

People

(Reporter: s1r1ag-bugzilla, Unassigned, NeedInfo)

Tracking

({regressionwindow-wanted})

57 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

Last year
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20180103231032

Steps to reproduce:

1. Start Firefox with "Add-ons disabled".
2. Set Options / Tabs: 
   a. Open new windows in a new tab instead
   b. When you open a link in a new tab, switch to it immediately
4. Click a URL hyperlink in an Outlook email or Word document or Excel spreadsheet.


Actual results:

 1. Focus remains on the document containing the hyperlink: Firefox does not take the focus. 
 2. The URL opens in a background tab of the existing Firefox window: focus is not on the newly opened tab. 



Expected results:

Expected Behaviour: Firefox should be brought to the foreground with focus set on the tab of the URL just clicked.

Note that if Firefox is not running when the external hyperlink is clicked, then Firefox starts up and the "Expected Behaviour" above correctly occurs.

Note that if you do not set the option "When you open a link in a new tab, switch to it immediately", then a new Firefox window opens and  correctly takes the focus away from the document containing the hyperlink. 

I have set other browsers as my Windows default (Microsoft Edge, Google Chrome, Opera) and they all give the "Expected Behaviour" above. Firefox doesn't behave in accordance with the Options settings and is the only browser where the user has to do 2 additional mouse clicks after clicking an external hyperlink: 1) Click to get focus on the Firefox window 2) Click to switch to the newly opened tab. 

Configuration: Firefox 57.0.4 (64-bit) / Windows 10 Home Version 1709
Component: Untriaged → Tabbed Browser
Priority: -- → P3
Flags: needinfo?(dao+bmo)

I can not reproduce this issue, can you reproduce it?

Flags: needinfo?(s1r1ag-bugzilla)
You need to log in before you can comment on or make changes to this bug.