Closed Bug 1458534 Opened 7 years ago Closed 6 years ago

When browser.link.open_newwindow.override.external is set to -1 or 3 and a new/blank tab has focus, reuse it for external links instead of opening a new one

Categories

(Firefox :: Tabbed Browser, defect)

60 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 320989

People

(Reporter: reven4000, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180426170554 Steps to reproduce: Have an empty/new tab open and selected and open an external link or a local HTML file. Actual results: Firefox opens a fresh new tab. Expected results: Firefox should reuse said blank/empty tab. See bug1417133 and bug1455326 for related fixed for bookmarks and search, respectively.
You can enter about:config into the location bar and set browser.link.open_newwindow.override.external to 1. This would always open external links in the current tab, not just when it's a blank/new tab.
Severity: normal → enhancement
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Component: Untriaged → Tabbed Browser
OS: Unspecified → All
Hardware: Unspecified → All
(In reply to Gingerbread Man from comment #1) > You can enter about:config into the location bar and set > browser.link.open_newwindow.override.external to 1. This would always open > external links in the current tab, not just when it's a blank/new tab. That would be a bad thing. The basic necessity is to avoid losing loaded pages.
(In reply to Gingerbread Man from comment #1) > You can enter about:config into the location bar and set > browser.link.open_newwindow.override.external to 1. This would always open > external links in the current tab, not just when it's a blank/new tab. As Yuri, pointed out, that is not the point. The current tab should be reused *only* if it is a blank/new tab. The behavior should be consistent with the above-mentioned bug1417133 and bug1455326. So this applies when "browser.link.open_newwindow.override.external" is set to -1 or 3.
Summary: When a new tab has focus, reuse it for external links instead of opening a new one → When browser.link.open_newwindow.override.external is set to -1 or 3 and a new/blank tab has focus, reuse it for external links instead of opening a new one
Blocks: 1442843
Dupe of bug 320989, Dão?
Flags: needinfo?(dao+bmo)
Yeah.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(dao+bmo)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.