Links are opened in the wrong Brave window


Description of the issue:
How can this issue be reproduced?

  1. Have Brave installed and configured as default browser

  2. Open a link from outside Brave, e.g. from an email program.

  3. A clicked link always opens in the same window out of multiple Brave windows already open.

Expected result: the link should be opened in the last window to have had focus, the way this used to work until recently. That way you can control where links clicked from outside Brave are opened.

Brave Version( check About Brave): 1.88.136 Chromium: 146.0.7680.164 (Official Build) (64-bit)

Additional Information: Linux.

Similar problem. Links open in random windows in a new tab, usually on another workspace, while the link should be opened in the last window to have had focus. Very, very annoying.

To reproduce open some windows on different workspaces and issue a command xdg-open https://yahoo.com

Debian trixie. Xfce4.

Brave 1.88.134 (Official Build) (64-bit) Chromium: 146.0.7680.153
Brave 1.88.136 (Official Build) (64-bit) Chromium: 146.0.7680.164