Links opening in new windows instead of new tab

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

On Windows 11, when I open links to website from cursor, it opens them in new window. Every other application opens links in new tab. Generally it seems to spawn new process of Firefox and opens links there.

On Linux cursor opens the same link in the new tab.

Steps to Reproduce

With Firefox and Windows 11, open link to PR from a popup when hovering over line of code. Opens new Firefox window.

Expected Behavior

Should open new tab just like every other application.

Operating System

Windows 10/11

Version Information

Version: 2.5.26 (user setup)
VSCode Version: 1.105.1
Commit: 7d96c2a03bb088ad367615e9da1a3fe20fbbc6a0
Date: 2026-02-26T04:57:56.825Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This isn’t actually a Cursor bug, it’s a known Firefox issue on Windows. Cursor, like any Electron app such as VS Code and Discord, delegates opening links to the OS, and Windows then passes the URL to Firefox.

Mozilla fixed this in Firefox 148+ via bugs 1997038 - Opens links from external applications or PWA in a new window instead of the existing one and 1994825 - Add a pref to disable only using windows on the current virtual desktop. Try updating Firefox to the latest version, that should fix it.

As a workaround, you can also try explicitly setting the browser in Cursor settings: Settings > search workbench.externalBrowser > set it to firefox or the full path to the executable. This uses a different link opening mechanism and may bypass the issue even on an older Firefox version.

Let me know if the update helped.

I just updated to Firefox 148.0.2 and the issue is still here. On the other hand other apps like Discord work correctly - links open in new tabs. I feel the issue is limited to Cursor.

Hmm, it’s a bummer that updating Firefox didn’t help. The Discord example is a good clue, so it’s probably not only a Firefox issue.

A couple of quick questions to help debug:

  1. Did you try the workaround using the workbench.externalBrowser setting? Open Settings with Ctrl+,, search for workbench.externalBrowser, and set it to firefox or the full path to the exe, like C:\Program Files\Mozilla Firefox\firefox.exe. This switches how links get opened and can fix the issue.

  2. Can you check if the same thing happens in regular VS Code? If links open fine in tabs there, it’s likely Cursor-specific. If VS Code also opens a new window, then it’s probably an Electron or VS Code bug.

Let me know how it goes, that’ll help figure out which side the problem is on.