Open Bug 1873930 Opened 2 years ago Updated 2 years ago

When closed, firefox will always open external links in new tabs and never new windows.

Categories

(Firefox :: General, defect, P3)

Firefox 121
Desktop
All
defect

Tracking

()

People

(Reporter: electricz0, Unassigned)

References

Details

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

Steps to reproduce:

I launched Firefox from a link in a different app.

Actual results:

Firefox opened the link in a new tab.

Expected results:

I have set Firefox to open links in new windows instead of new tabs. When launching Firefox from a link, Firefox will ignore this setting and open the link in a new tab instead. I'm not certain how Firefox decides which window to open the tab in, but that window is often not on the desktop I am currently using so it can take an extra step to find where the tab was opened.

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

Component: Untriaged → Widget: Win32
Product: Firefox → Core

I think the relevant code is ultimately in browser/components/BrowserContentHandler.sys.mjs. Forwarding accordingly...

Component: Widget: Win32 → General
Product: Core → Firefox

Hm, looks like the code in BrowserContentHandler.sys.mjs doesn't check either browser.link.open_newwindow or browser.link.open_newwindow.override.external, but possibly should? It doesn't help that we don't have a great (shared) bit of code to handle links, so the checks for these prefs are all over the shop. It also doesn't help that this code and session restore are kind of mutually ignorant of the other's existence.

Blocks: 509664
See Also: → 1869400
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Priority: -- → P3
Hardware: Unspecified → Desktop

Hi, Thanks very much. I changed that setting and it HAS fixed the problem.
While I did look at some of those settings in the past I only looked at them as the problem was happening . So I don't know why that particular one was set as it was.

Again thanks. It was very annoying.

Please close this issue.

Great Service by the way from someone who was a support engineer at HP before retiring.

Peter

Attachment #9386342 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: