Brave with Session Buddy plugin opening windows in the front, blocking existing windows

Description of the issue:

Brave with the Session Buddy plugin, might also happen when doing a Restore from Brave after unexpected crash, but could not test.

When opening a session in Session Buddy (1000+ tabs, 50+ windows), each new Brave window get put in front of the existing window, blocking the already active window. Because restoring takes 1-2 minutes, this effectively blocks usage of the browser during that time. If windows were opened in the background, without moving them to the front, and without giving them mouse and keyboard focus, that would not happen.

How can this issue be reproduced?

  1. In Brave, have an active tab
  2. Have session, restore it
  3. Opened windows are blocking active tab and stealing its (keyboard) focus

Expected result:

Windows are opened in the background and do not grab focus.

Brave Version( check About Brave):

Version 1.73.104 Chromium: 131.0.6778.204 (Official Build) (64-bit)

Additional Information:

If this is related to the plugin, please prevent the plugin from opening windows in the foreground, or make it customizable.