Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

New window does not get focus if opened externally

  • Không có trả lời
  • 1 gặp vấn đề này
  • 13 lượt xem
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).