Using xdg-open/kde-open with a URL opens two tabs in a new firefox window

When I use xdg-open/kde-open from the cli or click a link in a different application (such as discord), two tabs are opened in a new firefox window (even if a window is already open) instead of just a single new tab in an existing window (if one is open). This doesn’t happen if I set my default browser to chrome. This also doesn’t happen at all on my other laptop.
Both systems are: Arch Linux, xdg-utils ver 1.2.1-1, and kde-cli-tools ver 6.3.4-1.

Maybe the command associated as “the browser” has a Firefox invocation that forces a new window?

E.g. an Exec line that contains --new-window

1 Like

Using firefox --new-window https://google.com from konsole does open google in a new window but it doesn’t open it twice. I checked the .desktop file for FF and the normal Execline doesn’t have --new-window.

Good news! I seeming changed nothing but it’s working properly now…
The only thing that I can think of that fixed it is that firefox for some reason showed the pop for setting it as the default browser. I don’t know why it showed that though.