Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

New window does not get focus if opened externally

  • No replies
  • 1 has this problem
  • 8 views
more options

If Firefox is already running, opening a link in a new window from outside of Firefox will launch the new window and open the URL however the new window will not get focus.

This is easy to reproduce by starting Firefox and then from a terminal running `firefox --new-window` or `xdg-open http://`.

I believe this is a bug as it is inconsistent with the behaviour of:

  • Opening a new window from within Firefox (new window gets focus)
  • Opening a new window when Firefox is not running (Firefox window gets focus)
  • Opening a link in a new tab when Firefox is running `firefox --new-tab https://bbc.co.uk` or `firefox https://bbc.co.uk` (existing window with the new tab gets focus)

Tested on Debian Linux using Firefox 112.0.1 (AMD64).

If Firefox is already running, opening a link in a new window from outside of Firefox will launch the new window and open the URL however the new window will not get focus. This is easy to reproduce by starting Firefox and then from a terminal running `firefox --new-window` or `xdg-open http://`. I believe this is a bug as it is inconsistent with the behaviour of: * Opening a new window from within Firefox (new window gets focus) * Opening a new window when Firefox is not running (Firefox window gets focus) * Opening a link in a new tab when Firefox is running `firefox --new-tab https://bbc.co.uk` or `firefox https://bbc.co.uk` (existing window with the new tab gets focus) Tested on Debian Linux using Firefox 112.0.1 (AMD64).