Opens links from external applications or PWA in a new window instead of the existing one
Categories
(Core :: Widget: Win32, defect)
Tracking
()
People
(Reporter: freijon, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0
Steps to reproduce:
On Windows, open a link e.g. from MS Teams or a tab added to taskbar (PWA?)
I already tried to set the following options in about:config
- browser.link.open_newwindow = 3
- browser.link.open_newwindow.override.external = 3
- browser.link.open_newwindow.restriction = 3
I also tried launching Firefox without Extensions and using a fresh profile - Same behavior.
This worked fine until very recently (after upgrading to 144.0) - Maybe it's a regression?
Actual results:
A new window is opened
Expected results:
The existing window should have been used
Comment 1•5 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Win32' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•5 months ago
|
||
I wonder if this is related to bug 1423768. I can't reproduce this on a single desktop.
:jonas - are you using multiple virtual desktops? That bug makes it so links that open from an external application will only look at Firefox windows that are on the current desktop, and if there are none it will open a new one. Bug 1994825 adds a pref to disable this behavior (and return it to the previous behavior), but that won't be available until Firefox 145.
Updated•5 months ago
|
You nailed it!
I'm indeed using multiple virtual desktops and I just tested: When I move the PWA (or Teams) to the same virtual desktop where the main Firefox window lies, then the links open fine in the main window.
I guess I'll have to wait for Firefox 145. The setting will be called widget.prefer_windows_on_current_virtual_desktop (must be false), did I read that correct?
Comment 4•5 months ago
|
||
Ah, great!
Yes, that's correct. Sorry for the trouble - I should have thought of adding a pref when I made the original change.
I'm going to close this as a duplicate of the bug to add the pref.
Description
•